@# Quotes DB     useful, funny, interesting





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



Comments:

<0> atsss
<0> hmm
<0> damn :) wrong channel
<0> sorry
<1> nice
<2> yes let's all get out of this ****y chan and join that promising one
<2> :P
<3> where is the full documentation of javascript on the internet ?
<4> http://developer.mozilla.org/ http://msdn.microsoft.com/
<3> thank :)
<5> What is the Correct way to kill a timer i JavaScript? timerVariable = null; ?
<5> I'm setting the timer like this: Timer = setTimeout('Somefunction();',10000);
<5> Then, sometimes, I want to stop it before it gets to 0.
<6> clearTimeout
<5> :D Cheers



<5> Thanks
<0> any way you can stop FF from showing alert after alert in an infinite loop?
<0> I've made a mistake and now I have to click 10 000 times ok so I won't have to close the window from the task manager
<6> no
<0> it's good that he copyed the same behaviour as IE
<0> hmm.. setTimeout() who will be the owner of the process started by setTimeout?
<0> hmm... x = this; x.something; is not working
<0> why?
<0> nevermind, it does, I'm doing something else wrong
<7> hi
<7> why my javascript code dont work ????/ http://pastebin.ca/47851
<6> invitation.reffriend[].
<6> .elements["reffriend[]"].value
<6> is silly to use [] in the name
<8> hey!!! A quick question..... can you call a function that has been declared in a seperate .txt file??
<8> tnx :)
<8> hellooo anyone there?
<8> i need some help..
<9> can i use "onmouseover" in CSS ??
<8> hello?
<10> hey can someone be of ***istance i have to write a javascript program that displays the images in both clockwise when one button is clicked
<10> and counterclockwise when the other is clicked, know how to do in clockwise but how would u counterclockwise?
<6> js can't do that
<4> I think maybe he means a sliding gallery thingie.
<10> nope he means to do it like i stated one button cycles through images in clockwise the oher in reverse (counter clockwise)
<6> just use next and perivous
<4> When you say clockwise and counterclockwise it sounds more like you're attempting to rotate the image.
<6> how is the image stored?
<10> well when one button is pressed they are to be displayed in clockwise animation and the other button causes them to be displayed in counter
<10> in a array
<6> Pilum: I think in the future, kids will not be ***ociate clockwise with rotate, since they never see a analog clock, may be Phoenix92475 too ;)
<4> Unless they move in circles, (counter-)clockwise is a bad word to use.
<4> Maybe, ht311.
<10> ok where is a place i can post and ill try showing u what i mean
<6> ok, you have something working, you have a specific question on coding? either you let us know the url (the best way) or use pb.html-channel.com
<10> http://www.html-channel.com/pastebin.php?id=1
<10> ok there it is what suppose to happen is this image animation cycles through clockwise, suppose to write one that cycles backwards
<6> you write the forward part already, how hard it making it go backward? btw, setInterval with 100, make it jump way too fast
<6> (***ume you know what you have wrote or copied)
<4> As for the function, make the counter-function decrement curWindmill
<10> uhm i know what im writing, just trying to figure out how u would do in reverse because we never covered that part
<6> --
<6> --curWindmill
<10> ok thats what i was thinkin Pilum but wasnt sure that would make any difference or not
<10> so set one function with the increment and one with the decrement
<6> with the 13min you just spent, you could have finished already if you jsut start trying
<10> well excuse me ht311, some people want to be sure they are doing the right thing
<10> geez
<6> you always need to pet your dog and tell him he is a good boy :)
<6> at least he is nice enough not saying that we a bunch of idiot
<0> what pet?
<0> ah... a dog
<10> hey can someone be of ***istance for a sec, am righting a program to use animation
<4> Just state your problem.
<10> one button does the animation in clockwise the other in counter clockwise. I can get the button for clockwise to work but counter isnt working right can someone please look at the code and give advice
<10> http://www.html-channel.com/pastebin.php?id=2
<6> when with curWindmill ==5 (not = 5 btw) when it do -- ?
<4> http://www.html-channel.com/pastebin.php?id=3
<4> Oops. == yeah
<6> hehe



<6> should be -1 and 4 too.
<10> ok changed it and still the reverse is giving error
<10> only way reverse is workin is when the forward has been ran, reverse will not work otherwise
<6> use alert to find out why it didn't work then
<10> says line 29 character 2 windmill[...].scr is null or not a object
<10> any clues changed to -1 and 4 like u said that didnt help
<6> alert curWindmill, hint: -1 is wrong
<10> ok so -1 is not right and 0 wont work huh
<10> urrrrrr
<10> ok anymore hints tried 1, 4; -1, 4; 0,5; -5, 0, 5,0
<4> http://www.html-channel.com/pastebin.php?id=5
<4> Hmz. Brain still isn't fully operational it seems.
<4> http://www.html-channel.com/pastebin.php?id=6
<10> ok reverse still only workin when u run forward first, why will it not work and display from a-f in reverse works from a-f forard
<10> this ****s major league.lol
<6> just use alert, no one gonig to write everything for you
<10> ok how would u use alert placed what u said and it didnt show anything
<10> sorry was away takin a part of a car
<11> can anyone help a brother out ?
<11> i need a automatic popup that works with sp2
<12> pop out :]
<6> he just annoyed us on the other side ;)
<13> heya
<6> hi
<13> ok, as an april fools day prank i'm wanting to make something for a co-worker
<13> what i'm trying to do is make a window popup (either like alert or fake it somehow w/ some kind of layer thing maybe?) that says "Critical Error, press ok to continue" and whenever the mouse gets over the box, the box moves to somewhere else so they can never (well for a few times atleast) get to the ok button
<6> it is april 2nd already ...
<13> anyone know a good way at going about this?
<13> yeah i know but we dont get back to work til monday :P
<6> use onmouseover
<13> ok
<13> on a layer?
<14> how can i have the contents of a text field disappear when a user clicks insode
<6> you cna use it on a image, div, or input button
<13> onclick of the text field, set the value to ""
<13> like...
<13> <input type=text name=description value="Enter description here" onClick="document.forms['userform'].elements['description'].value='';">
<14> thats what i tried but thats not the effect i want
<6> best read on this topic http://www.jibbering.com/faq/faq_notes/form_access.html
<13> that will clear it every time they click inside, so you will probly want to have a variable to make sure it only clears it the first time
<14> i can do that but then EVERYTIME the user clicks it goes away
<13> right
<4> Athox: s/document.forms['userform'].elements['description']/this/
<14> i have a form that uses regexp to check contents
<13> so on click, you add 1 to a variable and make it only do the clearing if the variable is 0
<2> damn, I thought I was popular
<14> if te contents are invalid i document.form.select() for them
<2> turns out it was a typo
<2> great
<14> and then when they click that time i want to clear the field
<6> there is .select() ?
<4> sru02: You would want to avoid that method.
<13> pilum: that's a bad method eh?
<6> use document.myform.myfield.focus()
<12> we used to use something like <input bydefault="Search..." onfocus="if (this.value==this.getAttribute('bydefault')) this.value = '';" onblur="if (this.value == '') this.value = this.getAttribute('bydefault');" />
<14> but i want the text field to go blank when they click and are ready to correct their input
<13> sru: do what i was saying, have a variable that onclick, when it's 0 it will clear out the form and set itself to 1, else if it's not 0 it wont do anything
<13> then whenever you are ready to get into the "click to clear the box" mode, set that variable to 0
<13> make sense?
<14> no
<13> whats wrong w/ that sru?
<13> ok check this out
<13> on the page you create a variable ClearBoxFlag and set it to 0
<13> on the onClick of your text box, make it first do an if to check if the value of ClearBoxFlag is 0 or 1
<13> if it's 0, then set it to 1 and set the value of the text box to empty
<13> if it's 1, then do nothing
<13> so...
<14> im confused now...
<13> whenevr you use your regex and find a mistake and you want the user to correct it, you set ClearBoxFlag to 0
<12> we also have true and false in js..
<13> instead of 1 and 0 you can use true and false like melfar said


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#chatzone
#php
converting unsigned char * to string
ubuntu reconfigure php5 mssql
gdb ignore sigpipe
irgiel liba
#london
#chatzone
#london
#linux



Home  |  disclaimer  |  contact  |  submit quotes