|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
need some help with my script
i made this javascript to read an image src and display a link to open a pop up
so far so good here is the script btw <script type="text/javascript"> if (document.images) if(document.getElementById('papas')){ papas1 = document.getElementById('papas').src; document.write("<a href="" onClick="window.open(papas1)">Click here to enlarge</a>") } else alert("malakies"); </script> the problem is that when you click the page it doesnt stay there ( to understand what i mean check this out http://www.frozensystems.com/catalog/product_info.php?cPath=26_57&products_id=125 when you click the link due to the href it goes back to the root any way to lets say it "lock it" on the current page?? thx |
|
#2
|
|||
|
|||
|
RE: need some help with my script
seems to be working fine, unless I don't understand what the problem is, can you be more specific?
|
|
#3
|
|||
|
|||
|
RE: need some help with my script
yeah i fixed it
studying and reading tutorials can be very helpful |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > need some help with my script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|