View Full Version : Frame problems using dropdown menu w/ defined styles

07-26-2002, 08:52 PM
I'm trying to figure out how to set a target frame for a dropdown menu with defined styles. I have tried combining with other scripts but the links continue to load in the parent window. No author listed so I can't ask them. I appreciate any help people can give. (I am obviously NOT an accomplished programmer, so be gentle)


(In Header of Menu Frame)

<SCRIPT language=JavaScript>
// Courtesy of SimplytheBest.net (http://www.simplythebest.net/scripts/javascript_101.html)
function goSelect(daform) {
with(daform) {
top.window.location=options[selectedIndex].value; // jump to that option's value

(In Body of Menu Frame)

<select style="font-family: Arial, Helvetica, MS Sans Serif; font-size: 8pt; color: #FFFFCC; background-color: #003300" onchange="goSelect(this)" size="1" name="m">
<option value="link2.html">ABOUT EKAHI
<option value="link2.html">General Information
<option value="link2.html">Village Map
<option value="link2.html">Site Statistics</option>


08-07-2002, 04:24 PM
You still need help with this?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum