V
vic
OK - This is a strange problem and I've finally narrowed it down to Vista.
On my website I have state and country drop-down menues which do what they
are supposed to do on an XP machine. However on my Vista Ultimate machine
the <OPTION SELECTED> will select entirely different items when loaded. If
I run the following HTML on an XP machine it will correctly select Canada
and Washington as defaults in the 2 drop-down menus. However, when run on a
Vista machine it selects United States and Oregon . This is happening on all
of the screens in the web site where there are drop-down menus.
This seems to be a glaring bug in Vista!
Vic
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<head><title>HTML Drop-Down Test</title>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Description" CONTENT="Internet based entry system for taking
horse show entries.">
<META NAME="Keywords" CONTENT="internet, online, horse show, entries">
<script language="JavaScript">
function viewshow(){
var showname
var showid
showname = document.main.show.value;
//alert(showname);
splitter = /[ -\/.]/;
showid = showname.split(splitter,4);
//alert (showid);
//alert (components[1]);
//var where_is_mytool="home/mytool/mytool.cgi";
//var mytool_array=where_is_mytool.split("/");
//alert(mytool_array[0]+" "+mytool_array[1]+" "+mytool_array[2]);
location.href="HTTPS://www.showmyhorse.com/showinfo_page.php?do="+showid[1];
}
</script>
</head>
<body onresize="window.location.href = window.location.href">
<table align=center border="2" width="750" cellpadding="0" cellspacing="0">
<tr>
<td>
<table align=center border="2" cellpadding="0" cellspacing="0"
width="450" >
<tr bgcolor='#FFFF99'><td colspan='2'><b>Welcome Vic to Showmyhorse.com</b>
</tr>
<tr><td><form name='main' action='http://www.showmyhorse.com/index.php'
method='POST'>
</td></tr>
<tr><td class='td2' align='left'> <b>Country: </b>
<select name='country' onchange='submit()'>
<OPTION SELECTED>Canada
<OPTION>Mexico
<OPTION>United States
</select>
</td></tr>
<tr>
<td class='td2' align='left'><b>State/Province:
<select name='ShowState' onchange='submit()'>
<OPTION>Alaska
<OPTION>Oregon
<OPTION>Virginia
<OPTION SELECTED>Washington
</select>
</td></tr>
<tr><td class='td2' align='center'><b>Shows available for online entry:
<select name='show' size='20' onchange='viewshow()'>
<option value="WA - 12259 - Paint Show - Inland NWFall Spectacular -
Spokane, WA - 2007-09-29">WA - 12259 - Paint Show - Inland NWFall
Spectacular - Spokane, WA - 2007-09-29</option>
<option value="WA - 12378 - Paints Show - Hells Canyon Paint Horse Clue -
Walla Walla, WA - 2007-07-21">WA - 12378 - Paints Show - Hells Canyon Paint
Horse Clue - Walla Walla, WA - 2007-07-21</option>
<option value="WA - 12427 - Paints Show - Washington State Paint Horse
Club - Spanaway, WA - 2007-07-28">WA - 12427 - Paints Show - Washington
State Paint Horse Club - Spanaway, WA - 2007-07-28</option>
<option value="WA - 12428 - Tennessee Walking Horse Show - IETWHBEA
Celebration - Spokane, WA - 2007-07-27">WA - 12428 - Tennessee Walking Horse
Show - IETWHBEA Celebration - Spokane, WA - 2007-07-27</option>
</select>
</td></tr>
<tr><td class="td1">
<input type="submit" name="allshows" value="Display Completed
Shows">
<input type="submit" name="allstates" value="Display *ALL*
Active Shows">
</td></tr>
<tr><td bgcolor="#FFAA66" align="center">
Horse show software is available at <A
HREF="http://www.showsec.com">Perfected Technology Systems</A>
</td></tr>
</form>
</table>
</table>
</body></html>
On my website I have state and country drop-down menues which do what they
are supposed to do on an XP machine. However on my Vista Ultimate machine
the <OPTION SELECTED> will select entirely different items when loaded. If
I run the following HTML on an XP machine it will correctly select Canada
and Washington as defaults in the 2 drop-down menus. However, when run on a
Vista machine it selects United States and Oregon . This is happening on all
of the screens in the web site where there are drop-down menus.
This seems to be a glaring bug in Vista!
Vic
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<head><title>HTML Drop-Down Test</title>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Description" CONTENT="Internet based entry system for taking
horse show entries.">
<META NAME="Keywords" CONTENT="internet, online, horse show, entries">
<script language="JavaScript">
function viewshow(){
var showname
var showid
showname = document.main.show.value;
//alert(showname);
splitter = /[ -\/.]/;
showid = showname.split(splitter,4);
//alert (showid);
//alert (components[1]);
//var where_is_mytool="home/mytool/mytool.cgi";
//var mytool_array=where_is_mytool.split("/");
//alert(mytool_array[0]+" "+mytool_array[1]+" "+mytool_array[2]);
location.href="HTTPS://www.showmyhorse.com/showinfo_page.php?do="+showid[1];
}
</script>
</head>
<body onresize="window.location.href = window.location.href">
<table align=center border="2" width="750" cellpadding="0" cellspacing="0">
<tr>
<td>
<table align=center border="2" cellpadding="0" cellspacing="0"
width="450" >
<tr bgcolor='#FFFF99'><td colspan='2'><b>Welcome Vic to Showmyhorse.com</b>
</tr>
<tr><td><form name='main' action='http://www.showmyhorse.com/index.php'
method='POST'>
</td></tr>
<tr><td class='td2' align='left'> <b>Country: </b>
<select name='country' onchange='submit()'>
<OPTION SELECTED>Canada
<OPTION>Mexico
<OPTION>United States
</select>
</td></tr>
<tr>
<td class='td2' align='left'><b>State/Province:
<select name='ShowState' onchange='submit()'>
<OPTION>Alaska
<OPTION>Oregon
<OPTION>Virginia
<OPTION SELECTED>Washington
</select>
</td></tr>
<tr><td class='td2' align='center'><b>Shows available for online entry:
<select name='show' size='20' onchange='viewshow()'>
<option value="WA - 12259 - Paint Show - Inland NWFall Spectacular -
Spokane, WA - 2007-09-29">WA - 12259 - Paint Show - Inland NWFall
Spectacular - Spokane, WA - 2007-09-29</option>
<option value="WA - 12378 - Paints Show - Hells Canyon Paint Horse Clue -
Walla Walla, WA - 2007-07-21">WA - 12378 - Paints Show - Hells Canyon Paint
Horse Clue - Walla Walla, WA - 2007-07-21</option>
<option value="WA - 12427 - Paints Show - Washington State Paint Horse
Club - Spanaway, WA - 2007-07-28">WA - 12427 - Paints Show - Washington
State Paint Horse Club - Spanaway, WA - 2007-07-28</option>
<option value="WA - 12428 - Tennessee Walking Horse Show - IETWHBEA
Celebration - Spokane, WA - 2007-07-27">WA - 12428 - Tennessee Walking Horse
Show - IETWHBEA Celebration - Spokane, WA - 2007-07-27</option>
</select>
</td></tr>
<tr><td class="td1">
<input type="submit" name="allshows" value="Display Completed
Shows">
<input type="submit" name="allstates" value="Display *ALL*
Active Shows">
</td></tr>
<tr><td bgcolor="#FFAA66" align="center">
Horse show software is available at <A
HREF="http://www.showsec.com">Perfected Technology Systems</A>
</td></tr>
</form>
</table>
</table>
</body></html>