@# Quotes DB     useful, funny, interesting





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



Comments:

<0> and why are you using inline event handlers?
<1> why not?
<0> Because it nests code with markup
<1> so I should define a function for each menu item?
<1> I won't do that
<0> no, all menu-items should use the same function.
<0> but you *register* the events onload
<0> myMenuItems.doEach(function(e) { e.onclick = myEventHandler_OnClick; });



<1> I prefer it inline
<1> I would complicate myself like that
<0> ok, suite yourself .P
<0> :P
<1> I know it would be better (no undefined functions and such) but still, I prefer it inline for some stuff
<2> hello
<2> have some problem, where can i paste?
<3> pastebin man
<4> lets see...rules
<4> i got newbie js question for my website, anyone care to ***ist?
<5> i guess you didn't read the rules
<4> to be honest i didn't see them on the website
<4> ah got it now
<4> i have a js file in my root folder for a calendar function, on my home page it says ' javascript:calandarshow() ' this call is set up in the js file and the website calls upon it. however it's not working
<5> never, ever use javascript:
<4> ?
<4> are u being mean?
<5> excuse me?
<4> why should i never ever use javascript?
<5> not what i said
<4> oh
<4> what do u mean?
<4> i'm using javascript because it was already there on the website
<4> the file and the call was setup, my job is simply to get it to work..then code something better at a later stage
<4> but now the simple calander function would be nice to have
<0> Hello Pilum..
<6> Hello.
<7> is there some way i can check for the javascript library functions of an online webpage threw firefox



<6> threw?
<7> using firefox ?
<7> does firefox has any tools for that?
<6> You mean "through"?
<7> thank you for the english lession
<6> Threw is past tense of throw which is something different entirely. :-)
<6> And there probably is some plugin to do it.
<7> thank you
<8> I want to use onmouseover on a link that will popup a borderless image, this is what I have but it doesn't seem to work: <a cl***="tableLink" href="#" onmouseover="this.T_WIDTH=145;return escape('<img src=\'/images/next.jpg\' border=\'0\'>');" >
<6> Heh.
<8> ?
<6> Creative thinking, I'll give you that.
<8> Somoene told me this would work, guess not
<6> The best would be to have an image in the HTML and change it's .style.display and .src as neccesary
<8> Not sure how to do that =|
<8> new2js
<6> That's DOM and manipulation of CSS through the DOM.
<6> <img src="" name="whatever" style="display: none;">
<6> onmouseover="this.style.width='145px'; document.images['whatever'].src='/images/next.jpg'; document.images['whatever'].style.display='inline';"
<6> Make that <img src="" name="whatever" style="display: none; border: none;">
<8> that loaded the image
<8> but it wont leave now
<8> onmouseout?
<6> onmouseout="document.images['whatever'].style.display='none';"
<7> can i specify more then 1 id in JavaScript:document.getElementById('logo1').style.display='none';
<6> Don't "JavaScript:"
<7> so i dont have to repeat all the document.getelementbyid thing
<6> No, you can't specify more than one ID. But you can do a loop if they're named like 'logo1', 'logo2' etc.
<7> no
<7> can i creat an array and put the array in the ('')
<6> You'd still have to loop. :-)
<7> ok
<6> But yeah, you can store the ID names in an array np.
<7> ty


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#linux
#AllNiteCafe
kaktela
#linux
#java
#chatzone
#linuxhelp
#c
#MissKitten
#php



Home  |  disclaimer  |  contact  |  submit quotes