@# Quotes DB     useful, funny, interesting





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



Comments:

<0> lemme see again
<1> You need to escape the " within the javascript statement.
<1> onclick="popImage('&lt;img src=\"imgs/house.jpg\"&gt;','Zeus Images'); return false;"
<0> ah
<1> But again: I would just use popImage("img/house.jpg")
<0> hmm lemme check them all out
<0> aha the second one worked out :D
<0> well
<0> there is something very strange
<0> http://www.inferno.gr/xzeus/display.php?id=4&name=2.JPG#
<0> check this out :P
<0> the middle thumbnail doesnt load the pic!
<0> ok i found the mistake



<2> yop
<2> i might need some help
<2> http://pastebin.com/769445
<2> this code is not working
<3> http://www.javascript-page.com/timer.html
<3> hasve a look at that
<1> you need a timer id
<1> to use clearTimeout
<2> i know that why
<2> eval('func_name') = window.setTimeout(function_call, timer)
<1> don't use eval
<2> i'm trying a use a dynamic variable
<2> a use/to use/**
<2> i'm using eval because many functions may call timeout() so the timer id has to be different for each calling function
<1> What do you think should
<1> myFunction(1000) = window.setTimeout(...)
<1> do?
<2> i'll try that
<2> no sorry
<1> You allready use that?
<2> kirschkern, you're exactly right
<2> but i don't want to write myFunction(1000 in my code)
<2> it has to be dynamic
<1> why don't just p*** a function reference and add properties to that reference?
<2> func_name contains myFunction, that's why i'm trying to do an eval('func_name') = window.setTimeout
<2> hmm
<2> kirschkern, i'm not sure i see what you mean
<1> timeout(myFunction,1000,300)
<2> what does it change?
<2> it changes nothing
<1> You don't need eval, you may add dynamic properties to the function, you can handle it
<1> it changes a lot
<2> the window.setTimeout(function_call, timer) works perfectly
<1> Yes, but that is not the problem
<1> is it?
<2> no
<2> it's not
<2> look
<2> i could do something like
<2> timer = window.setTimeout(function_call, timer)
<2> that would work
<2> but
<2> if another function (myFunction1()) calls timeout(), I'll kill the timeout with clearTimeout(timer)
<2> that's wrong because timer belongs to myFunction, not to myFunction1
<2> so the name of the timeout has to be dynamic and has to depend on the calling function
<2> that's why I'm using eval (but that's may be not the best method)
<2> I think i understood the prob
<2> try to run that
<2> http://pastebin.com/769481
<1> function timeout(functionRef, param, timer) {



<1> if(functionRef.timerID)
<1> window.clearTimeout(functionRef.timerID);
<1> var func = function(){
<1> functionRef.timerID=null;
<1> functionRef(param);
<1> };
<1> functionRef.timerID = window.setTimeout(func, timer);
<1> }
<2> i try that thks
<2> Erreur: functionRef is not a function
<1> Have you called it like I suggested before?
<1> timeout(myFunction,1000,300)
<2> using timeout('myFunction', 1000, 500)
<1> No string
<2> sorry
<2> it's working, you're the one
<2> thanks a lot
<1> I hope you understand why it's working :-)
<2> totally
<1> That's great :-)
<2> it is indeed ;)
<4> hie
<5> Hello.
<4> do you like domapi framework ?
<1> Is that a JavaScript question?
<5> In a way it is.
<4> yes it is a ajax/widget framework
<4> i think it is a good product (unknown ?)
<5> It seems to me to be a nice framework, but I cannot speak from personal experience.
<6> can i set status bar with a messeage and never change ? if is link or something ? just to stay the same no change at all ?
<7> why
<6> so they cant see the link
<6> when they navigate on web
<7> why?
<6> *page
<6> lol not for spam .. just . i dont know
<8> then why even ask?
<6> well i wana hide the link :)
<7> you can change the defaultStatus, but you'll have to write code to handle anchor rollovers
<7> not really in the spirit of the internet
<7> and personally pisses me off
<7> i will not click on something if i can't see where it is taking me
<6> i know but i got values .. in the link .. like : ---------------------------
<6> Microsoft Internet Explorer
<6> ---------------------------
<6> Fara F5
<6> mersi
<6> ---------------------------
<6> OK
<6> ---------------------------
<6> im sorry
<7> yikes
<8> indeed
<9> hi kids
<9> does anyone know why defaultbutton cannot play within iframe ?
<9> i use the trick with the hidden textbox in asp.net 1.1.Each time i reload page with postback and set focus to hidden field
<9> When using iframe something goes wrong the field cannot regain focus
<9> is it the iframe or i should handle it another otherway?
<10> eh no idea


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#php
#linux
relocate the page using javascript
#MissKitten
#AllNiteCafe
#linux
#php
ourtunes help ubuntu
#c++
JacaScript scroll bar



Home  |  disclaimer  |  contact  |  submit quotes