@# Quotes DB     useful, funny, interesting





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



Comments:

<0> i'm having fun with NeoFutur3's game :)
<1> ahhhh, documents is eating me alive
<2> lol didnt mean to paste that
<1> we make the 1st customer hire someone to write that. (try to tell them they need to document their business process :D)
<2> this is by a technical author this is only one days work with low quality image lol
<1> not bad
<3> Hiya everyone! :-D
<1> 'morning
<2> robotg
<2> RoBorg
<2> lol
<2> http://www.neofuture.co.uk/whiteboard/whiteboard.php?id=127
<2> your script
<4> heh cool
<2> i added colours



<2> i had to change your image rendered slightly i dunno why imagefill was stalling on my box
<2> nothing incorrect on your version just sdidnt work on my box christ knows why
<4> yeah i've run into that too
<4> must be a GD bug I think
<4> works fine on theml-channel and my home computer though
<2> :D im adding a better colour picker and brush sizes soon hehehe
<3> you have too much spare time my friend :-)
<2> no im just bored of working on the same thing and need a break
<3> hehe
<3> Its cool though.. don't get me wrong
<2> roborg wrote it
<2> i just added to it
<3> ah ok
<3> well its not less cool because he wrote it lol
<2> hehe
<3> Is the editor thingie perfect?
<5> salut`
<6> I have a multiple select box with a name of category[]. On submit I need to get the selected indexes. How can I do this?
<7> <7> http://www.syc.caucasus.net
<8> Hey
<8> Does Torgo still haunt these halls?
<4> yup
<9> Occationally.
<10> maybe
<8> Is Togo hiding in here now? O_o
<4> HE'S BEHIND YOU
<8> heh
<4> no, wait.. that's just a shadow. he's not here
<8> Anyone know another way to contact him? MSN, ICQ, AOL, AIM?
<8> er AOL = AIM
<8> I ment Yahoo....
<10> are you a bill collector or serving his a warrent?
<8> no heh
<8> just an old friend
<10> or are you a long lost son?
<9> If they want money he's probably not in whomever it is. :-P
<8> lol he'd 've been 7 years old when I was born, so... no....
<10> hang around
<11> Hello all, I am new to Javascript. Very new. But I do have some PHP/HTML experience. I am basically trying to learn more about how to utilize "onClick" event handler. I've looked at tutorials, but I can't seem to find an explanation to what i'm trying to do. Essentially, I would like to click a link on a page, and text somewhere else on the page will change.
<12> has to be sold today 2 alenwaere area51-m 7700 notebooks. price 500 for 2. message me if interested do have an auction set up on yahoo auctions for these.
<11> I understand this will probably require a function to change a variable setting. But I don't know how to get the text to update.
<8> What is the text in?
<8> is it in a DIV?
<9> How you do it depends on several factors.
<11> I don't have it in anythign right now as i'm just trying to run a test. It's just between <body> tags.
<8> <div id="TextToChange">
<8> Some Text
<8> </div>
<8>
<8> <a href="#" onclick="TextToChange.innerText = 'bla';return false;">click me</a>
<13> innerHTML spamman
<11> ahhh, thank you. what does "return false;" do in that?
<8> it makes the <a> tag not go anywhere
<11> c
<11> i c*
<8> if that is not there, then the <a> tag will navigate to what is in href=""
<8> the return false; tells the <a> tag not to execute the location change
<8> same concept as returning false on a Submit button; the action is not executed
<11> Okay, essentially what I want to do is create like a "fantasy bracket" for a tournament. So what i'm trying to do with javascript is make it so that it will push teams onto the next round based on which team the user selects. Is there a way to hold the value of teh changed text in a variable?
<11> Eventually I would like to add all the variables to a MySQL database.



<8> well...
<8> you could do something like....
<8> <script>
<8> var arrSavedText = new Array();
<8> </script>
<8>
<8> <div id="TextToChange">
<8> Some Text
<8> </div>
<8>
<8> <a href="#" onclick="arrSavedText[arrSavedText.length - 1] = TextToChange.innerText; TextToChange.innerText = 'Something New'; return false;">Click Me</a>
<8> then you'd have all the changes in an array you can interate through later
<9> Use... proper... referencing.
<8> ??
<8> wud I do
<9> TextToChange
<9> s/TextToChange/document.getElementById('TextToChange')/g
<11> looks confusing to me ;)
<8> eh... yea yea...
<8> <script>
<9> Wouldn't say so. The method tells exactly what it does.
<8> var arrSavedText = new Array();
<8> </script>
<8>
<8> <div id="TextToChange">
<8> Some Text
<8> </div>
<8>
<8> <a href="#" onclick="arrSavedText[arrSavedText.length - 1] = document.getElementById('TextToChange').innerText; document.getElementById('TextToChange').innerText = 'Something New'; return false;">Click Me</a>
<8> using the method is cross browser safe Travis
<11> Okay, now i'm going to have to piece this apart. arrSaveText[] is calling the array, correct?
<8> arrSaveText is the array
<9> Except you can't do
<8> you can iterate through it like...
<9> arrSavedText[arrSavedText.length - 1] would be like $arrayname[] = 'whatever' in PHP
<11> i c
<11> What is .length - 1 doing?
<9> No wait. That's not right.
<8> it's adding elements to the array at the end of it
<9> No, it's accessing the last existing element of the array and giving it a new value.
<8> right
<9> arrSavedText[arrSavedText.length] would be right
<8> ...
<8> oh, right, my bad
<9> ...if you want to add to it.
<8> for(var i = 0; i < arrSavedText.length; i++) { /* Do something with arrSavedText[i] here */ }
<8> that would be for iterating though the array
<8> akk
<8> er nm
<8> nope, I was right the first time.... should ne <= not <
<8> *be
<8> sorry, trying to do 4 things at once.... heh
<14> anybody help me about Greasemonkey?
<9> About what?
<11> np, i'm just toying wtih your example a bit.
<9> Sounds like animal porn or something heh.
<14> about remove onload event
<9> Remove onload event?
<9> That's easy enough.
<9> You just have to write your own browser.
<14> i must write in Greasemonkey
<9> What is greasemonkey?
<8> http://greasemonkey.mozdev.org/
<14> a plug-in for firefox browsers
<8> Torgo!!
<15> timber!
<8> :D
<15> sup?
<8> been a while
<15> at least a year
<8> yea
<8> lot has happened
<15> yeah?


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#slice
why does DNS use UDP
#AllNiteCafe
#linux
#php
#linux
fairyprinces
#chatzone
#linux
#linux



Home  |  disclaimer  |  contact  |  submit quotes