Copy link to clipboard
Copied
I'm new to Dreamweaver and HTML, so excuse my ignorance when it comes to the problem I'm having. I was tasked with updating a webpage for work. Everything was going fine until I had to create a new page. I duplicated an existing page (so as not to recreate the wheel) and added the new content. At that time, however, I realized that the menu on the page was no longer visible. I looked at the other pages, and the menu bar was gone from those as well. I had not touched the menu html file, nor the css file, nor the spry file.
I uploaded one of the pages to the server, thinking maybe it was a fluke and the menu bar would magically reappear (wishful thinking), but it's still broken. I have no idea what I did to break it. Any help??
The page I am referring to is here: Puget Sound Nearshore Ecosystem Restoration Project
Where the menu should be is an error message, "an error occurred while processing this directive".
Thank you in advance!
...
lindseyd25963997 wrote
Hey folks, you are right, the code for #include virtual was slightly different between the broken page and the working page.
Working Page
<tr>
<td rowspan="2" valign="top" bgcolor="#7CBEDE"><img src="graphics/esrp_masthead_left.jpg" width="200" height="200"></td>
<td valign="top" bgcolor="#7CBEDE"><img src="graphics/esrp_masthead_right.jpg" width="800" height="161"></td>
</tr>
<tr>
<td valign="top" bgcolor="#7CBEDE"><!--#include virtual="/esrp/esrp_menu_bar.ht
Copy link to clipboard
Copied
Energize wrote
... and I'm childish .... Lets just not speak, I'm not wasting my energy, you are always right aren't you after all .... You wont get a repsonse from me again, this forum is cluttered with too many arguments, you are in a lot more of them than me
Damn. I thought I was always right. I guess I was wrong.
Copy link to clipboard
Copied
What's in your index.html in the esrp folder after the last line of code below which is line 50. Theres a whole chunk of code missing in your 'shore_friendly.html' file after that line - so its an include of some kind.
<body bgcolor="#206180" leftmargin="0" topmargin="0" marginheight="0">
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td rowspan="2" valign="top" bgcolor="#7CBEDE"><img src="graphics/esrp_masthead_left.jpg" width="200" height="200"></td>
<td valign="top" bgcolor="#7CBEDE"><img src="graphics/esrp_masthead_right.jpg" width="800" height="161"></td>
</tr>
<tr>
<td valign="top" bgcolor="#7CBEDE">
This is the missing code which is another file, which is called into the page.
<table width="600" border="0" cellspacing="1" cellpadding="2">
<tr>
<td bgcolor="#7CBEDE"><ul id="MenuBar2" class="MenuBarHorizontal">
<li><a href="http://www.pugetsoundnearshore.org/esrp/index.html">Home</a> </li>
<li><a href="http://www.pugetsoundnearshore.org/esrp/about.html" class="MenuBarItemSubmenu">About Us</a>
<ul>
<li><a href="http://www.pugetsoundnearshore.org/esrp/history.html">History and Mission</a></li>
<li><a href="http://www.pugetsoundnearshore.org/esrp/how.html">How We Work</a></li>
<li><a href="http://www.pugetsoundnearshore.org/esrp/program_partners.html">Program Partnerships</a></li>
</ul>
</li>
<li><a href="http://www.pugetsoundnearshore.org/esrp/nearshore.html">About the Nearshore</a> </li>
<li><a href="http://www.pugetsoundnearshore.org/esrp/grants.html">Grants</a>
<ul>
<li><a href="http://www.pugetsoundnearshore.org/esrp/application_process.html">Grant Application Process</a></li>
<li><a href="http://www.pugetsoundnearshore.org/esrp/application_materials.html">Application and Contract Material</a></li>
</ul>
</li>
<li><a href="http://www.pugetsoundnearshore.org/esrp/resources.html">Resources</a> </li>
<li><a href="http://www.pugetsoundnearshore.org/esrp/story_maps.html">Story Maps</a></li>
</ul></td>
</tr>
</table>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar2", {imgDown:"http://www.pugetsoundnearshore.org/includes/SpryMenuBarDownHover.gif", imgRight:"http://www.pugetsoundnearshore.org/includes/SpryMenuBarRightHover.gif"});
//-->
</script>