Computers |
|
| | #1 (permalink) |
| Ultra Techie Join Date: Oct 2003
Posts: 934
| hi, i was curious how to make a javascript pop up window. ie. click on a link for a picture, it opens up the link but only a window, no address bar or anything. I have this code "<A HREF="jsp_11.html" onClick="window.open('opened.html', 'joe', config='height=300,width=300')">" it works, but the problem with it is, when i get the pop up, it changes the page content. ie. i click on link, the window pops up, and the window that i used to click the link changes to jsp.html. thanks in advance,
__________________ spfdz - NEVER FORGET |
| | |
| | #2 (permalink) |
| Master Techie |
__________________ SPYWARE REMOVAL: 1. AdAware http://www.webattack.com/download/dladaware.shtml 2. SpyBot http://www.snapfiles.com/download/dlspybot.html 3. CoolWebShredder http://www.spychecker.com/program/coolwebshredder.html ONLINE VIRUS SCANS: 1. http://us.mcafee.com/root/mfs/default.asp?cid=9059 2. http://security.symantec.com/ 3. http://housecall.trendmicro.com/ |
| | |
| | #3 (permalink) |
| Junior Techie | Why do you have an href pointing to another page? Code: <a href=javascript:window.open('page.html','windowname',config=width=x,height=x,toolbar=no,scrollbar=no,status=no,location=no')>Link</a> Code: Link
__________________ \"Only when the last tree is dead, the last field paved, and the last river dammed, only then will we realize that we can\'t eat money.\" http://raylu.uni.cc |
| | |