jeffreyparham Posted March 17, 2010 Share Posted March 17, 2010 I'm a newbie so sorry if I've posted in the wrong place. Downloaded HTML code from w3school site. It works well except if I click on the menu topic instead of drop down I get the error message below. I've tried how to figure out how to stop that from happening without any success. Here's the code and I'd really appreciate any help or suggestions.I want no action if I click on the menu heading. ex: If I click on Home I want no action unless I click on drop menu. the Code is posted below. thanks"Not FoundThe requested URL /default.asp was not found on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 mod_auth_passthrough/2.1 FrontPage/5.0.2.2635 Server at www.wellnessrhythms.com Port 8"<html><head><style>body{font-family:tahoma;}table{font-size:65%;background:#B6EE0D}a{color:blue;text-decoration:none;font:bold}a:hover{color:black}td.menu{background:#B6EE0D}table.menu{font-size:100%;position:absolute;visibility:hidden;}</style><script type="text/javascript">function showmenu(elmnt){document.getElementById(elmnt).style.visibility="visible";}function hidemenu(elmnt){document.getElementById(elmnt).style.visibility="hidden";}</script></head><body><h3></h3><table width="100%"> <tr bgcolor="#B6EE0D"> <td onmouseover="showmenu('Home')" onmouseout="hidemenu('Home')"> <a href="/default.asp">Home</a><br /> <table class="menu" id="Home" width="120"> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/">Home</a></td></tr> </table></td> <td onmouseover="showmenu('About Us')" onmouseout="hidemenu('About Us')"> <a href="/default.asp">About Us</a><br /> <table class="menu" id="About Us" width="120"> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/About Dr. Jeffrey Parham.html">Meet The Doctor</a></td></tr> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/Our%20Services.html">Services and Techniques</a></td></tr> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/Our%20Technology.html">Our Technology</a></td></tr> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/What is Subluxation.html">What is Subluxation</a></td></tr> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/Network%20Spinal%20Analysis%20Testimonials.html">Success Stories</a></td></tr> <tr><td class="menu"><a href="/css/default.asp">Why Choose Us</a></td></tr> </table> </td> <td onmouseover="showmenu('New Patient Center')" onmouseout="hidemenu('New Patient Center')"> <a href="/default.asp">New Patient Center</a><br /> <table class="menu" id="New Patient Center" width="120"> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/Appointment.html">Your First Appointment</a></td></tr> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/Appointment.html">Online Forms</a></td></tr> </table> </td> <td onmouseover="showmenu('Office Hours')" onmouseout="hidemenu('Office Hours')"> <a href="/default.asp">Office Hours</a><br /> <table class="menu" id="Office Hours" width="120"> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/Contact%20Dr.%20Jeffrey%20Parham.html">Contact US</a></td></tr> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/Contact%20Dr.%20Jeffrey%20Parham.html">Office Hours</a></td></tr> </table> </td> <td onmouseover="showmenu('Wellness Workshops')" onmouseout="hidemenu('Wellness Workshops')"> <a href="/site/site_Wellness Workshops.asp">Wellness Workshops</a><br /> <table class="menu" id="Wellness Workshops" width="120"> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/Wellness%20Rhythms%20Community%20Calendar.html">Community Calendar</a></td></tr> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/My-Denver-Chiropractor-Speaks-To-Your-Group.html">Speaker for Your Group</a></td></tr> </table> </td> <td onmouseover="showmenu('Doctors Resource Center')" onmouseout="hidemenu('Doctors Resource Center')"> <a href="/site/site_Doctors Resource Center.asp">Doctors Resource Center</a><br /> <table class="menu" id="Doctors Resource Center" width="120"> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/Doctor's-Resource-Center.html">Doctors Resource Center</a></td></tr> </table> </td> <td onmouseover="showmenu('Community Outreach')" onmouseout="hidemenu('Community Outreach')"> <a href="/site/site_Community Outreach.asp">Community Outreach</a><br /> <table class="menu" id="Community Outreach" width="120"> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/My-Denver-Chiropractor-Community-Outreach.html">My Denver Chiropractor Comminty Outreach</a></td></tr> </table> </td> <td onmouseover="showmenu('Success Stories')" onmouseout="hidemenu('Success Stories')"> <a href="/site/site_Success Stories.asp">Success Stories</a><br /> <table class="menu" id="Success Stories" width="120"> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/Network%20Spinal%20Analysis%20Testimonials.html">Success Stories</a></td></tr> </table> </td> <td onmouseover="showmenu('Resources')" onmouseout="hidemenu('Resources')"> <a href="/site/site_Resources.asp">Resources</a><br /> <table class="menu" id="Resources" width="120"> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/Articles.html">Articles</a></td></tr> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/Links.html">Links</a></td></tr> </table> </td> <td onmouseover="showmenu('Practice Member Login')" onmouseout="hidemenu('Practice Member Login')"> <a href="/site/site_Practice Member Login.asp">Practice Member Login</a><br /> <table class="menu" id="Practice Member Login" width="120"> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/Network-Spinal%20-Analysis-Talks.html">Practice Member Login</a></td></tr> </table> </td> <td onmouseover="showmenu('Contact Us')" onmouseout="hidemenu('Contact Us')"> <a href="/site/site_Contact Us.asp">Contact Us</a><br /> <table class="menu" id="Contact Us" width="120"> <tr><td class="menu"><a href="http://www.wellnessrhythms.com/Contact%20Dr.%20Jeffrey%20Parham.html">Contact US</a></td></tr> </td> </tr> </table><p></p></body></html> Link to comment Share on other sites More sharing options...
phpnoob Posted March 17, 2010 Share Posted March 17, 2010 What you want?I mean, what you want of the menu? right now the main menu, if you click it, its load a file, i can remove that HTML Tag Link to comment Share on other sites More sharing options...
jeffreyparham Posted March 17, 2010 Author Share Posted March 17, 2010 What you want?I mean, what you want of the menu? right now the main menu, if you click it, its load a file, i can remove that HTML TagAh yes I left that part out. I want no action if I click on the menu heading. ex: If I click on Home I want no action unless I click on drop menu. thanks Link to comment Share on other sites More sharing options...
phpnoob Posted March 17, 2010 Share Posted March 17, 2010 Ah yes I left that part out. I want no action if I click on the menu heading. ex: If I click on Home I want no action unless I click on drop menu. thanksThan modifying the Home A Href to this <a href="#TOC">Home</a> Link to comment Share on other sites More sharing options...
jeffreyparham Posted March 17, 2010 Author Share Posted March 17, 2010 Than modifying the Home A Href to this <a href="#TOC">Home</a> Link to comment Share on other sites More sharing options...
jeffreyparham Posted March 17, 2010 Author Share Posted March 17, 2010 I'll try that out. Thanks. Hope you have the best day ever! Link to comment Share on other sites More sharing options...
jeffreyparham Posted March 17, 2010 Author Share Posted March 17, 2010 Works great. Thanks so much Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.