Howdy-
After about 20 hours in front of the computer, I FINALLY got my popup link window to work, but with each link it wants to open a new window, i was wondering if there is a way of targeting the link to the same popup that is already open
http://www.failedexperimentrecords.com/index_new.html
that's my page i'm working on with the menu bar (you have to go through the enter page because the page with the menu has defined attributes).
the links in question on this page are
LINKS >> Band Links
LINKS >> Label Links
those are the only functional links on there right now, you can see they pop open really nice right where they are supposed to, but if you click on both links, it opens up a new window each time. in fact, even if you click on the same link twice, it opens it up again in a new window.
this is my script in the body of my home page:
<script language="JavaScript">
<!--
//-->
function openWindow(winURL,winWidth,winHeight,winConfig)
{
mmConfig=""
mmConfig="width="+winWidth+","
mmConfig+="height="+winHeight+","
mmConfig+=winConfig
var mmWin=open(winURL,"",mmConfig);
mmWin.focus();
}//-->
</script>
and this is the link in my menu_array file
,"<img src=bands.gif border=0> Band Links","javascript:openWindow(\"bandlinks.html\",115,500,\"scrollbars=no,left=681,top=20\")",,"PopUp Links",1
All I want to do at this point is figure out how all of my links from the LINKS menu can pop up and replace the content of the one popup window so that people dont wind up with 5 or 6 windows open.
THANKS!!!
javascript popup - target window??
-
- Beginner
- Posts: 2
- Joined: Fri Jul 25, 2003 9:46 am
- Location: Chicago, IL
- Contact:
-
- Advanced
- Posts: 11
- Joined: Wed Apr 23, 2003 4:30 pm
Pop ups
Hi there,
What you need to do id to name the window. Something like "NewWin" then everything will be fed into that winow.
Cheers
Flash Harry
What you need to do id to name the window. Something like "NewWin" then everything will be fed into that winow.
Cheers
Flash Harry