Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:23

javascript popup - target window??

Poster: mikefailed
Dated: Saturday July 26 2003 - 20:33:56 BST


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

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)
var mmWin=open(winURL,"",mmConfig);

and this is the link in my menu_array file

,"<img src=bands.gif border=0>&nbsp;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.


Pop ups

Poster: Flash_harry
Dated: Tuesday July 29 2003 - 16:41:35 BST

Hi there,

What you need to do id to name the window. Something like "NewWin" then everything will be fed into that winow.


Flash Harry