Solved

On Mouse over problems....

Posted on 1998-11-29
11
248 Views
Last Modified: 2010-04-09
why the errors....

Please try this code....OnMouseOver gives errors...

<html>

<head>
<title>Newton's Web Buttons</title>
<meta name="Selector" content="Newtons Web Index Page">
</head>

<body bgcolor="#FFFFFF">
<script><!-- This will initialize the script.  -->      ver="xx"</script>
<script language="javascript1.1">
<!-- Only browsers capabable will set come inside this script.-->ver="n3"</script>
<script language="JavaScript">
<!-- function 'ACTIVE()' to use when mouse is OVER graphic -->
function imgActive(imgName) {if (ver == "n3"){ document.images[imgName].src=eval(imgName + "on.src"); }}
<!-- function 'INACTIVE()' to use when mouse moves OFF of graphic -->
function imgInactive(imgName) { if (ver == "n3"){document.images[imgName].src=eval(imgName + "off.src"); }}
<!-- menu assignments for mouse movements      -->if (ver == "n3")
{
menu1aon=new Image(119, 14);menu1aon.src="../images/new_home_b.gif";menu1aoff=new Image(119, 17);menu1aoff.src="../images/new_home.gif";
menu1on=new Image(119, 14);menu1on.src="../images/new_animals_b.gif";menu1off=new Image(119, 17);menu1off.src="../images/new_animals.gif";      
menu2on=new Image(119, 14);menu2on.src="../images/new_appearal_b.gif";menu2off=new Image(119, 17);menu2off.src="../images/new_appearal.gif";      
menu3on=new Image(119, 14);menu3on.src="../images/new_artistry_b.gif";menu3off=new Image(119, 17);menu3off.src="../images/new_artistry.gif";      
menu4on=new Image(119, 14);menu4on.src="../images/new_automobiles_b.gif";      menu4off=new Image(119, 17);menu4off.src="../images/new_automobiles.gif";      
menu4aon=new Image(119, 14);menu4aon.src="../images/new_bathroom_b.gif";menu4aoff=new Image(119, 17);menu4aoff.src="../images/new_bathroom.gif";      
menu4bon=new Image(119, 14);menu4bon.src="../images/new_bedroom_b.gif";menu4boff=new Image(119, 17);menu4boff.src="../images/new_bedroom.gif";      
menu5on=new Image(119, 14);menu5on.src="../images/new_books_b.gif";menu5off=new Image(119, 17);menu5off.src="../images/new_books.gif";      
menu6on=new Image(119, 14);menu6on.src="../images/new_business_b.gif";menu6off=new Image(119, 17);menu6off.src="../images/new_business.gif";      
menu6aon=new Image(119, 14);menu6aon.src="../images/new_child_b.gif";menu6aoff=new Image(119, 17);menu6aoff.src="../images/new_child.gif";      
menu7on=new Image(119, 14);menu7on.src="../images/new_community_b.gif";menu7off=new Image(119, 17);menu7off.src="../images/new_community.gif";      
menu8on=new Image(119, 14);menu8on.src="../images/new_computers_b.gif";menu8off=new Image(119, 17);menu8off.src="../images/new_computers.gif";      
menu8aon=new Image(119, 14);menu8aon.src="../images/new_cooking_b.gif";menu8aoff=new Image(119, 17);menu8aoff.src="../images/new_cooking.gif";      
menu9on=new Image(119, 14);menu9on.src="../images/new_education_b.gif";menu9off=new Image(119, 17);menu9off.src="../images/new_education.gif";      
menu10on=new Image(119, 14);menu10on.src="../images/new_electronics_b.gif";menu10off=new Image(119, 17);menu10off.src="../images/new_electronics.gif";      
menu11on=new Image(119, 14);menu11on.src="../images/new_employment_b.gif";menu11off=new Image(119, 17);menu11off.src="../images/new_employment.gif";      
menu11aon=new Image(119, 14);menu11aon.src="../images/new_entertainment_b.gif";menu11aoff=new Image(119, 17);menu11aoff.src="../images/new_entertainment.gif";      
menu12on=new Image(119, 14);menu12on.src="../images/new_executives_b.gif";menu12off=new Image(119, 17);menu12off.src="../images/new_executives.gif";
menu13on=new Image(119, 14);menu13on.src="../images/new_eyecare_bb.gif";menu13off=new Image(119, 17);menu13off.src="../images/new_eyecare.gif";      
menu14on=new Image(119, 14);menu14on.src="../images/new_financial_b.gif";menu14off=new Image(119, 17);menu14off.src="../images/new_financial.gif";      
menu14aon=new Image(119, 14);menu14aon.src="../images/new_food_b.gif";menu14aoff=new Image(119, 17);menu14aoff.src="../images/new_food.gif";      
menu15on=new Image(119, 14);menu15on.src="../images/new_gaming_b.gif";menu15off=new Image(119, 17);menu15off.src="../images/new_gaming.gif";      
menu15aon=new Image(119, 14);menu15aon.src="../images/new_garden_b.gif";      menu15aoff=new Image(119, 17);      menu15aoff.src="../images/new_garden.gif";      
menu16on=new Image(119, 14);menu16on.src="../images/new_government_b.gif";menu16off=new Image(119, 17);menu16off.src="../images/new_government.gif";      
menu17on=new Image(119, 14);menu17on.src="../images/new_homed_b.gif";menu17off=new Image(119, 17);menu17off.src="../images/new_homed.gif";      
menu18on=new Image(119, 14);menu18on.src="../images/new_imaging_b.gif";menu18off=new Image(119, 17);menu18off.src="../images/new_imaging.gif";      
menu18aon=new Image(119, 14);menu18aon.src="../images/new_improvement_b.gif";menu18aoff=new Image(119, 17);menu18aoff.src="../images/new_improvement.gif";      
menu19on=new Image(119, 14);menu19on.src="../images/new_information_b.gif";menu19off=new Image(119, 17);menu19off.src="../images/new_information.gif";
menu20on=new Image(119, 14);menu20on.src="../images/new_international_b.gif";menu20off=new Image(119, 17);menu20off.src="../images/new_international.gif";      
menu21on=new Image(119, 14);menu21on.src="../images/new_internet_b.gif";menu21off=new Image(119, 17);menu21off.src="../images/new_internet.gif";      
menu21aon=new Image(119, 14);menu21aon.src="../images/new_kitchen_b.gif";      menu21aoff=new Image(119, 17);      menu21aoff.src="../images/new_kitchen.gif";
menu22on=new Image(119, 14);menu22on.src="../images/new_legal_b.gif";menu22off=new Image(119, 17);menu22off.src="../images/new_legal.gif";      
menu23on=new Image(119, 14);menu23on.src="../images/new_medicine_b.gif";menu23off=new Image(119, 17);menu23off.src="../images/new_medicine.gif";      
menu24on=new Image(119, 14);menu24on.src="../images/new_musicians_b.gif";      menu24off=new Image(119, 17);menu24off.src="../images/new_musicians.gif";      
menu25on=new Image(119, 14);menu25on.src="../images/new_periodicals_b.gif";menu25off=new Image(119, 17);      menu25off.src="../images/new_periodicals.gif";
menu26on=new Image(119, 14);menu26on.src="../images/new_philosphy_b.gif";      menu26off=new Image(119, 17);menu26off.src="../images/new_philosphy.gif";      
menu27on=new Image(119, 14);menu27on.src="../images/new_politics_b.gif";menu27off=new Image(119, 17);menu27off.src="../images/new_politics.gif";
menu28on=new Image(119, 14);menu28on.src="../images/new_realty_b.gif";menu28off=new Image(119, 17);menu28off.src="../images/new_realty.gif";
menu29on=new Image(119, 14);menu29on.src="../images/new_science_b.gif";menu29off=new Image(119, 17);menu29off.src="../images/new_science.gif";
menu30on=new Image(119, 14);menu30on.src="../images/new_search_b.gif";menu30off=new Image(119, 17);menu30off.src="../images/new_search.gif";
menu31on=new Image(119, 14);menu31on.src="../images/new_software_b.gif";menu31off=new Image(119, 17);menu31off.src="../images/new_software.gif";      
menu32on=new Image(119, 14);menu32on.src="../images/new_sports_b.gif";menu32off=new Image(119, 17);menu32off.src="../images/new_sports.gif";
menu33on=new Image(119, 14);menu33on.src="../images/new_travel_b.gif";menu33off=new Image(119, 17);menu33off.src="../images/new_travel.gif";
menu34on=new Image(119, 14);menu34on.src="../images/new_weather_b.gif";menu34off=new Image(119, 17);menu34off.src="../images/new_weather.gif";
}
</script>


<table border="3" cellpadding="0" width="131" bgcolor="#FFFFFF" bordercolor="#7171FF"
bordercolordark="#0000BB" bordercolorlight="#7171FF" height="642" cellspacing="0">
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a href="index.htm"
    onmouseover="imgActive('menu1a')" onmouseout="imgInactive('menu1a')" target="_top"><img
    src="../images/new_home.gif" name="menu1a" alt="Return To The ProductList Network Home !"
    border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_animals_and_pets.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_animals_and_pets.htm" target="right" onmouseover="imgActive('menu1')"
    onmouseout="imgInactive('menu1')"><img src="../images/new_animals.gif" name="menu1"
    alt="Animals and Pet Information" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_clothes_appeeral.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_clothes_appeeral.htm" target="right" onmouseover="imgActive('menu2')"
    onmouseout="imgInactive('menu2')"><img src="../images/new_appearal.gif" name="menu2"
    alt="Appearal and Clothing Manufacturers" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_art_collectables.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_art_collectables.htm" target="right" onmouseover="imgActive('menu3')"
    onmouseout="imgInactive('menu3')"><img src="../images/new_artistry.gif" name="menu3"
    alt="Art, Artists, and Collectable Information" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_auto_accessories.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_auto_accessories.htm" target="right" onmouseover="imgActive('menu4')"
    onmouseout="imgInactive('menu4')"><img src="../images/new_automobiles.gif" name="menu4"
    alt="Auto Accessories and Manufacturers" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_bathroom.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_bathroom.htm" target="right" onmouseover="imgActive('menu4a')"
    onmouseout="imgInactive('menu4a')"><img src="../images/new_bathroom.gif" name="menu4a"
    alt="Bathroom Home Information" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_bedroom.htm" target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_bedroom.htm" target="right" onmouseover="imgActive('menu4b')"
    onmouseout="imgInactive('menu4b')"><img src="../images/new_bedroom.gif" name="menu4b"
    alt="Bedroom Home Websites" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_books_reading.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_books_reading.htm" target="right" onmouseover="imgActive('menu5')"
    onmouseout="imgInactive('menu5')"><img src="../images/new_books.gif" name="menu5"
    alt="Books and Reading Information" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_business.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_business.htm" target="right" onmouseover="imgActive('menu6')"
    onmouseout="imgInactive('menu6')"><img src="../images/new_business.gif" name="menu6"
    alt="Business and Finance Resources" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_child.htm" target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a href="n_child.htm"
    target="right" onmouseover="imgActive('menu6a')" onmouseout="imgInactive('menu6a')"><img
    src="../images/new_child.gif" name="menu6a" alt="Kid and Children Entertainment"
    border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_comm_freebies.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_comm_freebies.htm" target="right" onmouseover="imgActive('menu7')"
    onmouseout="imgInactive('menu7')"><img src="../images/new_community.gif" name="menu7"
    alt="Communitity Freebie Resources" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_computer.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_computer.htm" target="right" onmouseover="imgActive('menu8')"
    onmouseout="imgInactive('menu8')"><img src="../images/new_computers.gif" name="menu8"
    alt="Computers and System Manufacturers" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_cooking.htm" target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_cooking.htm" target="right" onmouseover="imgActive('menu8a')"
    onmouseout="imgInactive('menu8a')"><img src="../images/new_cooking.gif" name="menu8a"
    alt="Home Cooking Information" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_education.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_education.htm" target="right" onmouseover="imgActive('menu9')"
    onmouseout="imgInactive('menu9')"><img src="../images/new_education.gif" name="menu9"
    alt="Education Sources and Research" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_electronics.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_electronics.htm" target="right" onmouseover="imgActive('menu10')"
    onmouseout="imgInactive('menu10')"><img src="../images/new_electronics.gif" name="menu10"
    alt="Electronic System Information and Manufacturers" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_employment.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_employment.htm" onmouseover="imgActive('menu11')"
    onmouseout="imgInactive('menu11')"><img src="../images/new_employment.gif" name="menu11"
    alt="Employment and Career Opportunities" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_entertainment.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_entertainment.htm" target="right" onmouseover="imgActive('menu11a')"
    onmouseout="imgInactive('menu11a')"><img src="../images/new_entertainment.gif"
    name="menu11a" alt="Entertainment and Movie Industry" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_executives.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_executives.htm" target="right" onmouseover="imgActive('menu12')"
    onmouseout="imgInactive('menu12')"><img src="../images/new_executives.gif" name="menu12"
    alt="Top Executives In Electronics" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_eyecare.htm" target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_eyecare.htm" target="right" onmouseover="imgActive('menu13')"
    onmouseout="imgInactive('menu13')"><img src="../images/new_eyecare.gif" name="menu13"
    alt="Eyecare Professional and Opticians" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_financial.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_financial.htm" target="right" onmouseover="imgActive('menu14')"
    onmouseout="imgInactive('menu14')"><img src="../images/new_financial.gif" name="menu14"
    alt="Financial and Banking Information" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_food.htm" target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a href="n_food.htm"
    target="right" onmouseover="imgActive('menu14a')" onmouseout="imgInactive('menu14a')"><img
    src="../images/new_food.gif" name="menu14a" alt="Home Food and Restaurant Information"
    border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_games.htm" target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a href="n_games.htm"
    target="right" onmouseover="imgActive('menu15')" onmouseout="imgInactive('menu15')"><img
    src="../images/new_gaming.gif" name="menu15" alt="Games and Gaming Websites" border="0"
    width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_garden.htm" target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_garden.htm" target="right" onmouseover="imgActive('menu15a)"
    onmouseout="imgInactive('menu15a')"><img src="../images/new_garden.gif" name="menu15a"
    alt="Gardens For Homes" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_gov.htm" target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a href="n_gov.htm"
    target="right" onmouseover="imgActive('menu16')" onmouseout="imgInactive('menu16')"><img
    src="../images/new_government.gif" name="menu16" alt="Government and Legal Agencies"
    border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_home.htm" target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a href="n_home.htm"
    target="right" onmouseover="imgActive('menu17')" onmouseout="imgInactive('menu17')"><img
    src="../images/new_homed.gif" name="menu17" alt="Home Improvement and Products" border="0"
    width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_imaging.htm" target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_imaging.htm" target="right" onmouseover="imgActive('menu18')"
    onmouseout="imgInactive('menu18')"><img src="../images/new_imaging.gif" name="menu18"
    alt="Electronic Imaging Photography" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_information.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_information.htm" target="right" onmouseover="imgActive('menu19')"
    onmouseout="imgInactive('menu19')"><img src="../images/new_information.gif" name="menu19"
    alt="Information Science and Sources" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_improvement.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press Button, Page Menu Refreshed, Press Button" border="0"></a><a
    href="n_improvement.htm" target="right" onmouseover="imgActive('menu18a')"
    onmouseout="imgInactive('menu18a')"><img src="../images/new_financial.gif" name="menu18a"
    alt="Home Improvement and Related Goods" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_intl.htm" target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press, See New Page Lists For Viewing" border="0"></a><a href="n_intl.htm"
    target="right" onmouseover="imgActive('menu20')" onmouseout="imgInactive('menu20')"><img
    src="../images/new_international.gif" name="menu20"
    alt="International Marketing and Research" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_internet.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press, See New Page Lists For Viewing" border="0"></a><a href="n_internet.htm"
    target="right" onmouseover="imgActive('menu21')" onmouseout="imgInactive('menu21')"><img
    src="../images/new_internet.gif" name="menu21"
    alt="Internet Communications and Technology" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_kitchen.htm" target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press, See New Page Lists For Viewing" border="0"></a><a href="n_kitchen.htm"
    target="right" onmouseover="imgActive('menu21a')" onmouseout="imgInactive('menu21a')"><img
    src="../images/new_kitchen.gif" name="menu21a" alt="Home Kitchens and Appliances"
    border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_law_acct.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press, See New Page Lists For Viewing" border="0"></a><a href="n_law_acct.htm"
    target="right" onmouseover="imgActive('menu22')" onmouseout="imgInactive('menu22')"><img
    src="../images/new_legal.gif" name="menu22" alt="Legal and Accounting Websites" border="0"
    width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_science_med.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press, See New Page Lists For Viewing" border="0"></a><a href="n_science_med.htm"
    target="right" onmouseover="imgActive('menu23')" onmouseout="imgInactive('menu23')"><img
    src="../images/new_medicine.gif" name="menu23" alt="Science and Medicine Information"
    border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_music.htm" target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press, See New Page Lists For Viewing" border="0"></a><a href="n_music.htm"
    target="right" onmouseover="imgActive('menu24')" onmouseout="imgInactive('menu24')"><img
    src="../images/new_musicians.gif" name="menu24" alt="Music and Musicians Sites" border="0"
    width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_period.htm" target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press, See New Page Lists For Viewing" border="0"></a><a href="n_period.htm"
    target="right" onmouseover="imgActive('menu25')" onmouseout="imgInactive('menu25')"><img
    src="../images/new_periodicals.gif" name="menu25"
    alt="Periodical and Information Resources" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_phil_rel.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press, See New Page Lists For Viewing" border="0"></a><a href="n_phil_rel.htm"
    target="right" onmouseover="imgActive('menu26')" onmouseout="imgInactive('menu26')"><img
    src="../images/new_philosphy.gif" name="menu26" alt="Philosphy and Religon Resources"
    border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_political.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press, See New Page Lists For Viewing" border="0"></a><a href="n_political.htm"
    target="right" onmouseover="imgActive('menu27')" onmouseout="imgInactive('menu27')"><img
    src="../images/new_politics.gif" name="menu27" alt="Politics and Related Information"
    border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_real_estate.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press, See New Page Lists For Viewing" border="0"></a><a href="n_real_estate.htm"
    target="right" onmouseover="imgActive('menu28')" onmouseout="imgInactive('menu28')"><img
    src="../images/new_realty.gif" name="menu28" alt="Real Estate and Home Buying" border="0"
    width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_science.htm" target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press, See New Page Lists For Viewing" border="0"></a><a href="n_science.htm"
    target="right" onmouseover="imgActive('menu29')" onmouseout="imgInactive('menu29')"><img
    src="../images/new_science.gif" name="menu29" alt="The Sciences and Physics" border="0"
    width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_search.htm" target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press, See New Page Lists For Viewing" border="0"></a><a href="n_search.htm"
    target="right" onmouseover="imgActive('menu30')" onmouseout="imgInactive('menu30')"><img
    src="../images/new_search.gif" name="menu30" alt="Search Tables Using The Internet"
    border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_software.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press, See New Page Lists For Viewing" border="0"></a><a href="n_software.htm"
    target="right" onmouseover="imgActive('menu31')" onmouseout="imgInactive('menu31')"><img
    src="../images/new_software.gif" name="menu31" alt="Software and Computer Technology"
    border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_sports_hobbies.htm"
    target="right_top_b"><img src="../images/red_button.gif" width="10" height="17"
    alt="Press, See New Page Lists For Viewing" border="0"></a><a href="n_sports_hobbies.htm"
    target="right" onmouseover="imgActive('menu32')" onmouseout="imgInactive('menu32')"><img
    src="../images/new_sports.gif" name="menu32" alt="Sports and Hobby Information" border="0"
    width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a
    href="n_travel_events_entertain_sweep.htm" target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press, See New Page Lists For Viewing" border="0" onmouseover="imgActive('menu33')"
    onmouseout="imgInactive('menu33')"></a><a href="n_travel_events_entertain_sweep.htm"
    target="right"><img src="../images/new_travel.gif" name="menu33"
    alt="Travel and Sweepstakes Information" border="0" width="119" height="17"></a></td>
  </tr>
  <tr>
    <td width="129" bgcolor="#FFFF00" height="17"><a href="n_weather.htm" target="right_top_b"><img
    src="../images/red_button.gif" width="10" height="17"
    alt="Press, See New Page Lists For Viewing" border="0" onmouseover="imgActive('menu34')"
    onmouseout="imgInactive('menu34')"></a><a href="n_weather.htm" target="right"><img
    src="../images/new_weather.gif" name="menu33"
    alt="US National and International Weather Information" border="0" width="119" height="17"></a></td>
  </tr>
</table>
</body>
</html>
0
Comment
Question by:optical
11 Comments
 
LVL 4

Expert Comment

by:chewymon
ID: 1840085
Mybe you should move this to the JavaScript section.  You might get better responses.
0
 
LVL 4

Expert Comment

by:rafistern
ID: 1840086
What errors are you getting? With what browser?
0
 

Author Comment

by:optical
ID: 1840087
The variable ver at the top won't initialize.  But the trouble was elsewhere, this is a new error the code worked before.
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Expert Comment

by:aseem072898
ID: 1840088
do u want me to write a onmouseover script for you?
0
 

Author Comment

by:optical
ID: 1840089
I have gotten the code to work, but only with Netscape not Internet Explorer.  A variable at the top "ver" requires to be defined using IE, Why ?
0
 
LVL 6

Expert Comment

by:PBall
ID: 1840090
Hehe.. That code reminds me of one of my best friends coding style.  chuckle.. fit all you can fit in one line :).

0
 
LVL 2

Expert Comment

by:chrisbolt
ID: 1840091
Try changing this line:

<script><!-- This will initialize the script.  --> ver="xx"</script>

to this:

<script>var ver="xx"</script>
0
 
LVL 28

Expert Comment

by:sybe
ID: 1840092
You can't use this :
<!-- Only browsers capabable will set come inside this script.-->
in a <script> area. When you want to comment thing out in javascript use: "//" (without the quotes) at the start of the line.


<script>
// this line is a comment
<!-- and this will give an error message -->
</script>


0
 

Author Comment

by:optical
ID: 1840093
Excellant.
0
 
LVL 6

Accepted Solution

by:
tecbuilder earned 50 total points
ID: 1840094
The scripts below are bit cleaner to use as far as coding is concerned.  I also moved the script into the head where it should be.

<html>
<head>
<title>Newton's Web Buttons</title>
<meta name="Selector" content="Newtons Web Index Page">
<script language=JavaScript>
<!--
ver=false
// -->
</script>
<script language="JavaScript1.1">
<!--
ver=true
// -->
</script>
<script language="JavaScript">
// function 'ACTIVE()' to use when mouse is OVER graphic
function imgActive(imgName) { if (ver) { document [imgName].src=eval(imgName + "on.src"); } }
// function 'INACTIVE()' to use when mouse moves OFF of graphic
function imgInactive(imgName) { if (ver) { document [imgName].src=eval(imgName + "off.src"); } }
//  menu assignments for mouse movements
if (ver) {

// Create all the image objects.

}
// -->
</script>
</head>

<body bgcolor="#FFFFFF">

0
 

Author Comment

by:optical
ID: 1840095
Thank you.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
add image on html mail 6 27
Save ms data to server side. 19 56
Insert Button on a table 16 38
Need output in powershell ( Vertical format) 2 22
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question