| |
| |
| |
|
Page: 1 2
Comments:
<0> bye all (/amsg) <1> furtive here? question <2> sure <1> ok <1> on the form, when I ***ign this attribute : submit="javascript:window.location..." <1> it wont send the paramaters of the form <1> is there a reason? <2> bleh <1> bleh? <1> ill google it <2> don't use javascript: <1> why not? <2> and window is redundant <1> redundant? <1> I can just use location? <2> sure
<2> but where is this submit thing? <1> on a form <2> onsubmit? <1> no <1> yes <1> sorry <2> k <1> meant onsubmit <2> i've got an excellent example of onsubmit right here: http://www.javascript-channel.com/Wiki.jsp?page=FormValidation <2> but i'm not sure what you're trying to do. <1> im trying to figure out <1> why the heck <1> javascript will lose the rest of the form's information <1> when changing the window location itself? <2> because it's not submitting <1> what do you mean? <2> there's a difference between submitting a form, and just navigating to a new page <1> I see <2> when you use location .. then you are navigating <2> same as if someone clicked on a link <1> ok <2> submit actually sumit's the form, using the action and method specified in the form tag <2> (or programatically via js) <2> so one solution would be to put the url your location was going to use and stick it in the action of the form instead <2> that way when you submit it will navigate to that page and those parameters will be p***ed to that page. <3> Hello people! <4> hello killedchat! <4> chillkat <5> lol <3> :P <3> which is the best javascript obfuscator around? to protect my javascript code? <4> eh <4> write your own <6> test <6> <6> ! <6> ? <7> re <8> <tr onMouseOver="swap('strelica'); swapone('klas'); return false" onMouseOut="swap('strelica'); swapone('klas'); return false "> please where is error? <8> it say : Object expected <8> anyone? <7> are you sure all your function are defined? <8> function swap(id){ and function swapone(id1){ <8> simple one function <8> function swapone(id1){ <8> var td = document.getElementById(id1); <8> //alert(id); <8> if(td.cl***=="izbtxt"){ <8> td.cl***="izbtxt1"; <8> }else{td.cl***="izbtxt";} <8> } <7> make a pastebin <7> http://pastebin.com/ <8> k <8> pastebin isnt working right <8> like it was reset or something <7> indeed <8> hm ... <8> sec ill upload code <8> http://www.hiperdev.com/test/test.php <8> and it is about links on left side
<7> images are not displayed, but I've got alert messages <7> is that right? <8> yes <8> it should roll over <7> on the other hand you're using a localhost path <7> which is not right <7> http://localhost/somewhere/slike/izbstrelica1.jpg <8> ok ... <8> but i dont think that that is problem <8> problem is in showone <8> cause if in show define it .... <7> c=="h <7> wrong <7> sorry <7> forget about what i just said <7> try using relative path <8> like ./ <7> yep <8> iv try to alert <8> but on alert img.src it said full path <8> like http ..... <8> it is not anymore localhost <8> try refreshing :) <7> testing on mine <8> k <7> seems to be working in local for me <7> give 2s <8> iv change to this host <8> but still dunno <8> where is problem :( <7> working mate <7> function swap(id){ <7> var img= document.getElementById(id); <7> if (img.src=="http://www.hiperdev.com/test/slike/izbstrelica.jpg"){ <7> img.src="http://www.hiperdev.com/test/slike/izbstrelica1.jpg"; <7> }else{ img.src="http://www.hiperdev.com/test/slike/izbstrelica.jpg"; } <7> } <7> the only problem is the loading time of the image, you should preload it even before the mouseover <8> how i do that? <7> either you load the image in a hidden <img, or you make a search in google on "javascript new image" <8> ok so firs time iv just do show and it works fine without preloading .... but when i add showone problems started <7> what's showone? <7> swapone you mean? <8> webpage for client <7> err <8> swapone is function <7> well, anyways, did you get to make it work now? <8> no <7> no? <7> works with me <8> hm .... <8> does text do rolover? <7> ah text <7> no only images <8> it needs to do both <8> :( <7> don't move <8> like a statue :) <7> :) <9> what do you mean if text does rolover? <9> of course you can get a rollover effect on text <9> <div onmouseover="this.innerHTML='some othertext'; " onmouseout="this.innerHTML='some text'; ">some text</div> <8> http://www.hiperdev.com/test/test.php <8> sk8ing watch <9> what? <8> i wanna swap cl*** <8> of td <10> Line 102, "object expected" error <9> object.cl***Name='theNewCl***'; <8> sk8ing explane pls <9> <div onmouseover="this.cl***Name='x'; " onmouseout="this.cl***Name='y'; ">some text</div> <8> cool tx <8> sk8ing it is working now thx :) <9> np
Return to
#javascript or Go to some related
logs:
linux Too much work on interrupt #AllNiteCafe dreamwalker efnet CHATEAR CON ALGUN CHICO QUE ESTE CONECTADO #linux #mirc midnightlvr1
mauro picotto live @ gatecrasher 2002 russepresidentstripping jpg spoltix
|
|