| |
| |
| |
|
Comments:
<0> bye tlm <1> can anyone tell me what's the best language for programming web pages? <1> no one <2> I'm trying to build this little app, I want to drag pictures over a grid.. so i'm taking the mouse position when the pictures are dropped in the div with a gird background <2> grid <2> now i want the top left corner to snap to certain points... i've no problem with that <2> but i don't even know how to take into account if the person clicked in the middle of the pic or the right,left,bottom right corner <2> need to know where the person clicked on those pictures to be able to substract those numbers <3> is it possible to p*** the name of a function as a string to another function and make the receiving function execute the recieved function? <4> cant you just do var funcname ='foo'; in every function ? <4> i kinda dont get your point
<5> SufiBlade> eval( string_func_name ); ? <4> ]stalker[, isnt eval php ? :P <4> anyway <5> dont try. just do it. Joda <4> document.getElementById['foo']; wont work for input in a form ? <4> i mean ( ) not [ ] <5> document.form['name'].elenemt_name <4> i want to get it by id <4> cause i use foo[] as names <5> <input id="foo"... ? <4> yeah <4> name="foo[]" id="thisfoo" <4> and i got lot of name="foo[]" but with different ids <5> %)) burn <4> e ? <5> document.getElementById['thisfoo']; <4> doesnt work :/ <5> =%\ <4> strange <4> wait <4> something strange is happening <4> var inid = 'i'+arg.id; var iin = document.getElementById(inid); alert(iin); gives null, but var inid = 'ifoo'; iin = document.getElementById(inid); alert(iin); gives HTMLInput <4> WTF <4> ]stalker[, do you get that ? <6> WTFWTF <4> Bilge, ? <4> RoBorg, do you know wtf is going on ? <7> what;s arg? <4> a string <7> strings don't have id's <4> before that, it was a div object, and i used ar.id but the same result <4> ermmm its older code then <7> err what's the URL? <4> arg is a div with id <7> do alert(inid) <4> http://pastebin.com/714636 <4> (cant paste the whole url, sorry) <7> onclick="ustaws(box, should be onclick="ustaws('box', <7> oh wait <4> no <7> make the first line of the ustaws function be: targ = targ.id <4> an id for a string ?
<4> doesnt work <7> oh box isn't a div? <7> you should make your variable & function names clearer <4> its only a text <4> i know sorry <7> hmm <7> I just tested it and it works <4> o_O <7> or seems to anyway <4> i got null.... <7> oh wait, i only did the first click <4> i see. now you have to chose something form appeared div <4> and what will you click on, should be set in a value of a hidden input <7> doh! <4> yes? <7> you change the innerHTML of <div id="11" <4> aaaaaaaaa! <4> IM SO STUPID <4> thanks lol <7> you're replacing the input with an img heh <4> jesus <4> yeah lol <7> also 11 is not a valid ID - you can't start one with a number <4> ok, thanks <4> will changr <4> e <4> i though name only cant be a number <8> *yawn* <4> yo fatb <8> Hello pieg. <4> free saturday ? <9> hey guys i am finding a hard time to find the php channel.can u please help? <4> #php ? <4> where you even been <4> yiot (ym@217.27.37.154) has joined #php <4> <Hajuu> oh boy now I can see some GR*** <4> * yiot (ym@217.27.37.154) has left #php <10> Hello <10> i'm trying to play a simple wav file <10> i used this: <10> <Embed src="http://www.onlinetarotzone.com/test/snd2.wav" hidden=true autostart=false loop=false id="firstSound" masterso <10> und> <10> </Embed> <10> and this to call it: <10> document.getElementById("firstSound").play(); <10> but it doesn't work..... <10> why? <10> are you there ppl?? <11> there is some function in js to read the contents of a text file or should i use AJAX? <12> is there a way to test if a maschine has java environment installed?
Return to
#javascript or Go to some related
logs:
naked buttoks bitizak #teens #AllNiteCafe piggybank undernet #windows #london eviews c++ IRF 7811A kem nixtieqni hdejk
|
|