@# Quotes DB     useful, funny, interesting





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



Comments:

<0> i found the click / doubleclick solution if anyone wants it
<1> .onclick / .ondblclick ?
<0> yeah
<0> hang on a sec
<0> www.debug.dk/click.html
<1> hm, not that I understood what the difference was...
<1> <a href="#" onclick="alert('click'); return false;" ondblclick="alert('dblclick'); return false">Nothing Fancy</a>
<0> the ondblclick will never return
<0> becase the onclick will trigger first
<0> doubleclick = 2 x click
<1> hm, makes me think
<1> how did I solve my dblclick scripting...
<2> <a href="#" onclick="t=setTimeout('doSomat()',250); return false;" ondblclick="clearTimeout(t);alert('dblclick'); return false">Nothing Fancy</a>
<0> NeoFuture what does that one do on click ?
<2> doSomat()
<2> http://www.neofuture.co.uk/click.php



<0> i get the alert("click") every time
<2> http://www.neofuture.co.uk/click.php
<0> still get the alert("click") on double click and then the alert("doubleclick") after that
<2> works for me
<2> unless your doing <click>
<2> <click>
<2> then it wont you have to boughle click within 250 ms
<2> personally i would just write my own dblclivk
<0> i needed a function that would trigger something on click and something else on doubleclick
<0> www.debug.dk/click.html <-- this one does :-)
<2> did you look at
<2> http://www.neofuture.co.uk/click.php
<0> yes
<0> but as i said, i allways get the click alert box..
<2> that works
<0> i need one alert for click and another for doubleclick
<2> yes im calling 2 functions with two differnt alerts
<0> i ALSO get the alertbox click on doubleclick
<2> that what that does
<0> that was not what i needed
<0> i need one alert for click and another for doubleclick, not BOTH on doubleclick
<2> thay aint
<2> WTF
<2> <a href="#" onclick="t=setTimeout('clickThis()',250); return false;" ondblclick="clearTimeout(t);dblClickThis(); return false">Nothing Fancy</a>
<2> 2 seperate functions on 2 seperate click events one click and one dblclick
<0> try to replace with alerts and put it on the demo url :-)
<0> with "you clicked" and "you doubleclicked"
<2> FF
<0> FF ?
<2> ff dont clean the timeout
<0> ff = firefox ?
<0> works in IE
<2> yeah
<2> not FF
<0> damn
<0> sure looked pretty simple
<2> yeah tiss
<0> still has to be something with delays between clicks and compare delta
<0> grah
<0> life is to short for different browser behaviour
<2> album even
<2> lol
<3> sure he is bouncing, the keyboard is bouncing his fingers too
<4> how can I change the html inside a <div> tag for firefox
<3> .innerHTML
<2> document.getElementById('divTagById').innerHTML="blah";
<0> works nicely in arms with XMLhttprequest
<4> do I ahve to open the document for writing?
<4> and close it?
<2> huh
<0> no need for opening any documents
<0> onclick="document.getElementById('id_of_****').innerHTML="new content";"
<0> replace " with '
<3> csharping, http://www.w3schools.com/htmldom/default.asp
<4> is it the same in IE?
<0> yup
<2> whats the best way to play a sound
<0> embed
<0> <object blah blah>
<3> NeoFuture: what u need?



<3> event sound for your app?
<2> start up sound
<2> lol
<2> customer requests one
<2> sad i know
<3> 500$ feature
<3> :D
<0> what about the IE aproach <img src="path/to/sound.wav">
<3> huh?
<0> it works
<3> NeoFuture: if it is for event sound i say go with flash. alert , open issue coming etc. should be useful
<0> <a onClick="window.status=''; return false;" href="path_to_sound.file"><img src="image.file"></a>
<3> ...
<5> how can I open a new page with javascript, so it does not have an addressbar, menubar, etc. with a specified size?
<3> google window.open, read abit about the feature string in window.open
<5> ok
<5> thx.
<2> lol got my sad sad intro sound in now
<5> ht311, how can I put that part of javascript in the <a href ...> part?
<2> ht311 lol
<3> zephyr_ <a href="whatever" onclick="mywindowopenfunction(); return false;">blah</a>
<5> oh ..
<5> ok
<4> ok
<4> how can I ensure that after a numeric calculation I have two digits (even though 0) after the decimal point
<4> eg. 6 + 7 = 13.00
<2> you need to write a formatNumber function
<2> http://www.4guysfromrolla.com/webtech/code/FormatNumber.shtml
<3> toFixed(2)
<2> that might help
<4> nope it dont work
<3> var a = 3+7;
<3> a.toFixed(2);
<3> check the problem between the monitor and chair
<4> you are a funny guy
<3> at least you find it still funny, it mean you still have the will to solve this problem :)
<3> heh
<6> if I have a string http://www.foo.com/bar/hello.html - is there an easy way to parse that to http://www.foo.com/bar/
<7> hi
<7> anybody here worked with HTA applications?
<7> is it possible to specify the position where the window is created and it's size?
<8> ..I'm trying to use http://www.netvue.com but the pictures aren't loading for me, can someone check for me?
<9> hmm.. he wanted someone to check if his eyes are working?
<0> the pictures loads fine
<10> he left the room 3 hours ago :p
<0> it would seem so
<0> some people are realy impatient :-P
<7> :))
<7> after all it's Sunday
<11> hello folks
<3> 'afternoon
<12> Im trying to p*** an array back to the server using XMLHttpRequest, but Im not sure the best way to go about it, constructing a GET url I run in to the char limit so am planning to change to using POST but there must be some better way to encode the array foo string than foo1=val1&foo2=val2 etc
<0> PolarityMan is it php or asp ?
<12> php backend
<0> PolarityMan try to look at xajax
<0> it can exactly that and more
<12> is that a framework of somekind?
<0> yes
<0> works rather well
<0> i use it for www.jegergrim.dk <-- wath out for the nasty images..
<13> I usually just send a string with some delimiter. :-)
<13> And then use implode() in PHP.
<13> Or was it explode? Hehe.
<11> I usually don't need xml to recieve data either ,)
<3> some time i send a full json string back
<12> i'll take a look, Pilum so ***uming my data never contains * i could send foo=element1*element2*element3* etc?
<13> implode() to create a delimited string and explode to re-create an array.
<13> Exactly
<13> Except the foo= part, ***uming that's your array name.
<12> want to p*** some other bits and bobs too so need to include some kind of array identifier, but the string processing could then be done by implodingg $_POST["foo"]
<13> Exploding, yeh.
<12> sorry yeah
<11> you can send something like array('one' => 1, 'two' => 2) and then eval it in php


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#javascript
#MissKitten
#php
#c++
#php
#skype
cpl_mill downloaden
age did Karen Carpenter reach
medeea undernet
#london



Home  |  disclaimer  |  contact  |  submit quotes