View Full Version : Problem with Popup Window with a dropdown box inside

12-15-2002, 03:34 PM
Please click on the Cartoons, News or 2002 finishes to see what I am trying to do.

The popup windows at the above site we created by an action in Adobe GoLive they seem to work Ok put have at least one really serious flaw. When one of the popup windows comes up and you
Click in another area of the page the popup drops to the back(normal), but if you click on another link the window for that link STAYS minimized on the task bar a serious navigation problem for a visitor.

I have been working to solve this problem for four days. I am an
AMATURE at web page design and java but am persistent and trying as hard as I can.

Below is the java script from one of the popup window pages, perhaps there are better scripts or ways to do this and I would appreciate your ideas, we will have many of these types of popups.

I am also having a major problem calling up these popups
when using other Java Scripts to instead of using the Action in Golive.
Is there a way to call up a popup window from a menu selection?
For some reason I have a mental block on the call up part of a script, so if you would be kind enough when telling me how to call up I need GREAT detail.
I am tired and frustrated and have posted at a several places and few want to respond, I have hopes that this is my last stop. I have patience I have many talents but I am struggling here

Address of one of the popupís


code for one of the dropdown menu scripts



<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Adobe GoLive 6">

<body bgcolor="#ffffff" leftmargin="10" marginheight="0" marginwidth="10" topmargin="0">
<table width="550" border="0" cellspacing="2" cellpadding="0" align="left">
<td><SCRIPT LANGUAGE="JavaScript">
var Image_array = new Array();
//new Array("Image location",width,height,"discription image")
Image_array[0] = new Array("tonyhappyface.jpg",500,300,"Stewart puts on a happy face");
Image_array[1] = new Array("keepingtonyout.gif",500,300,"Keeping Tony out of trouble");
Image_array[2] = new Array("rookiejimmie.gif",500,300,"Rookie Jimmie");
Image_array[3] = new Array("whereistony.gif",500,300,"Where is Tony Stewart");
Image_array[4] = new Array("tonybristol.jpg",500,300,"Tony takes over Bristol");
Image_array[5] = new Array("tonyfillsup.jpg",500,300,"Stewart fuels up");
Image_array[6] = new Array("bewarethe.gif",500,300,"Beware the Home Depot driver");
//If you want to add more images use Image_array[4]= ...

function setf(thisv)
img_changer.src = Image_array[thisv][0];
img_changer.style.width = Image_array[thisv][1];
img_changer.style.height = Image_array[thisv][2];


<select onchange="setf(this.selectedIndex)">
<script language=javascript>
document.write("<option>" + Image_array[i][3]);

<img src="(EmptyReference!)" name=img_changer border=1>

<script language=javascript>



Don Miller

12-15-2002, 04:43 PM
Add this to the HTML of each of your popup pages...

<body onload="self.focus();">

12-15-2002, 05:49 PM
when you use focus NONE of items in the drop down menu will work