@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3



Comments:

<0> O6O6O6: No, but you can be banished. :-P
<1> Pilum, NO I CANT I HAVE TEH CAT
<2> btw this is mania to relate the 666 with metal
<2> its silly
<1> metal ?
<2> sorry
<1> im not a metal.
<2> its something in general
<1> it's just today is 06.06.06
<2> usually 666 are realted to metal
<2> related



<1> VaranG|aN, which one ? gold or iron ?
<2> anyway its off topic
<2> those don't exist O6O6O6
<2> those aren't categories in metal music
<2> i know your kidding
<2> XML parsing in javascript better than at serverside ?
<1> good, cause i was starting to worry bout ya
<1> serverside i'd say definately
<2> why not using the clien't browser resource?
<3> how do i use functions in external .js files?
<0> Same way you use them in script tags.
<3> hmm
<3> i did a <script type="text/javascript" src="lib.js></script> in my <head></head>
<2> strange isn't it CppIsWeird?
<4> you missed a "
<3> yeah, i know that, thats ane xample
<3> is that how your supposed to do it?
<4> yes
<3> well its not working, i do an onLoad="funcName('Crap');" in the body, and it says cant find the object
<2> strange how it can work
<3> ...
<2> I tried it sometime ago
<2> and didn't either
<2> but its not my current problem right now
<3> in the js file, all i have is function funcName(var text) { alert(text); }
<2> don't ask me... I agreed with you how can it work
<4> funcName(var text) should be funcName(text)
<5> Helga24 is some sort of send-files-bot.
<6> hmm why #javascript got a lot of this lately?
<6> I kick one myself everyday
<5> I see them everywhere, common in channels with real people
<0> Maybe we should get a bot and do as they do in #c++
<0> (Kick everyone with two digits at the end of their nick)
<7> :P
<8> i want to dynicly change the width of an image if it's to large in width
<8> how do i do this
<8> i thought it was onload="if(this.image.width > 350){this.image.width = 350};"
<8> but that does not seem to work
<0> Heh.
<0> Try document.images['imagename'].offsetWidth
<8> hmmm can i get an example ever values
<8> would would come after offsetwidth basicly
<9> hello



<0> Huh?
<0> Could you rephrase that?
<8> <img src=./images/01.jpg name=PictureBox onload="document.images['PictureBox'].offsetWidth = '350'"> this is the line i tried
<9> how do i make: when i click on "Click Here" javascript to open a little window which i called help.html
<8> but does not do anything
<9> ?
<0> ...
<0> You ***ign .width and check offsetWidth if .width isn't specifically defined.
<0> heX: window.open()
<8> ahh see it's in a slideshow though so the width is not defined
<8> and the images are of diffrent sizes
<0> And I was ***uming that the onload was on the body tag.
<9> Pilum: like: javascript:window.open(help.html)
<0> heX: No.
<9> ?
<0> Never ever put "javascript:" in your code.
<9> Pilum: oki so: window.open(help.html)
<0> Quote the value.
<0> If you write help.html it looks for the "html" property of the "help" object.
<0> http://developer.mozilla.org/en/docs/DOM:window.open
<9> thanks
<10> Why not put "javascript:" anymore?
<4> it was never correct
<4> it's an urban legend
<10> what... like "and I looked on the url.... and there was ... a.... HOOK! (and javascript: )?
<0> It invokes the grue!
<0> Cue the ur-grue!
<0> Looks like ht311 just got eaten by it. :-P
<4> uh oh
<9> is possible this: i add an image called "erk.gif" and using Macromedia Dreamweaver to put at link javascript to popup an window which i write'd in html and its called help.html?
<9> is anyone understanding my question?
<11> why doesn't for(var e in document.myForm.elements){} work?
<4> try name="myForm" instead
<10> d'oh!
<10> thanks
<0> Actually, ID is the correct attribute to use.
<0> (Name is valid for backwards compability only)
<0> document.forms['formid'].elements
<10> thank you.
<12> I guess document.forms['formName'] will also work
<0> Aye.
<10> so now e is any given form element from form "myForm"? So if it's a checkbox I should be able to to do if(e.checked){ e.name="foo"; } ?
<12> the "only id" thing comes from xhtml, which I don't agree with
<4> no, e is the key
<4> document.myForm.elements[e].checked
<10> thank you. I really appreciate the help you guys gave me :-)
<10> dumb newb questions though they may be


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #javascript
or
Go to some related logs:

#linux
#chatzone
#linuxhelp
haqq is-suwed
Isshinryu kill
#linux
#linux
#AllNiteCafe
dfghfk
#asm



Home  |  disclaimer  |  contact  |  submit quotes