The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Drop down box opening in new window?, I would like to have, when selected, an item on the drop down menu to
post Sep 29 2010, 12:15 PM
Post #1

Group: Members
Posts: 3
Joined: 29-September 10
Member No.: 12,829

Hi all! What I would to achieve is for the drop list menu to open its links on the same page without opening another window. I load the below page using an inline frame I've listed the code below; thanks so much in advance for the help I have no idea what I'm doing wrong!

==========================================inline frame============================================================

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">

<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 1</title>


<iframe id="I1" border="0" frameborder="0" name="I1" scrolling="no" src="" style="width: 515px; height: 630px">Your browser does not support inline frames or is currently configured not to display inline frames.



=====================================================main page============================================

<style type="text/css">
.style1 {
background-image: url('');

<table class="style1" style="width: 525; height: 640">
<td> </td>
<div id="zipcodelocate" style="position: absolute; width: 100px; height: 100px; z-index: 1; left: 135px; top: 180px">
<script src=""></script>
<table style="width: 335px;" border="0" cellspacing="1" cellpadding="1">
<td style="width: 158px;">ZIP Code<span style="color: #ff0000;">*</span></td>
<td><input id="zip" maxlength="8" size="8" type="text" name="zip" /></td>
<td style="width: 158px;"><input id="chkRange" value="on" checked="true" type="checkbox" name="chkRange" />Search within</td>
<td><select id="range" name="range" width="80">
<option selected="true">50</option>
</select> Miles </td>
<td style="width: 158px;"><input id="chkRecord" value="on" checked="true" type="checkbox" name="chkRecord" />Centers displayed</td>
<td><select id="record" name="record">
<option selected="true">100</option>
</select> </td>
<td style="width: 158px;"><input id="uid" value="1811" type="hidden" name="uid" /></td>
<td><input onclick="return storelocatorv2();" value="Find Centers" type="button" /></td>
<td style="width: 158px;"></td>
<div id="layer1" style="position: absolute; width: 205px; height: 80px; z-index: 2; left: 210px; top: 370px">
<script type="text/javascript">
function MM_jumpMenuGo(objId,targ,restore){ //v9.0
var selObj = null; with (document) {
if (getElementById) selObj = getElementById(objId);
if (selObj) eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0; }
<form id="form" name="form">
<select style="width: 162px;" id="jumpMenu" name="jumpMenu">
<option selected="true">Select a Center</option>
<option value="">Albright Early Learning Center</option>
</select> <input id="go_button" onclick="MM_jumpMenuGo('jumpMenu','parent',0)" value="Go" type="button" name="go_button" />

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


- Lo-Fi Version Time is now: 23rd February 2019 - 03:59 PM