Forum Moderators: open
To see in action: [http://www.fengshuinetwork.net/testindexfsnnew3.php]
Note: this is a test page where all the links should be working and pointing where they are to eventually go BUT none of them come back so browser back button will have to be used if click one; exception is the anchor links on left navbar under heading of Accredited/CPD etc. Rest of scripting for that is unfinished at this point.
Very simple javascript routine in a js file:
***********************************************
function swapLink(n)
{ elem = document.getElementById("leftmenu");
elem.innerHTML = eval("leftmenu" + n);
}
var leftmenu0 = ('<b><u>Header for Section of Links</u></b>'
+'<ul>'
+'<li><a href="link1" class="navlinklt">Link1</a></li>'
+'<li><a href="link2" class="navlinklt">Link2</a></li>'
+'</ul>');
var leftmenu1 = ('<b><u>Header 2 for Section of Links</u></b>'
+'<ul>'
+'<li><a href="link3" class="navlinklt">Link3</a></li>'
+'<li><a href="link4" class="navlinklt">Link4</a></li>'
+'</ul>');
....etc
***************************************************
Source code for the offending area is as follows (can view all of it from browser(s))...Firefox works fine, IE giving me the error:
<!--------------BEGIN LEFT NAVBAR--------------->
<div class="navbarleft">
<div id="leftmenu">
<b><u>FENG SHUI Network</u></b>
<ul>
<li><a href="test_about.htm" class="navlinklt">About the FSN</a></li>
<li><a href="contact_fsn.htm" class="navlinklt">Contact the FSN</a></li>
<li><a href="latest_news.htm" class="navlinklt">Latest News</a></li>
<li><a href="visitor_comments_page.htm" class="navlinklt">Visitor's Comments</a></li>
<li><a href="fsn_logo.htm" class="navlinklt">About the FSN Logo</a></li>
<li><a href="submit_events.htm" class="navlinklt">Submit Events</a></li>
<li><a href="site_index.htm" class="navlinklt">FSN Site Index</a></li>
<li><a href="site_search.htm" class="navlinklt">FSN Site Search</a></li>
<li><a href="spam_policy.htm" class="navlinklt">Spam Policy</a></li>
<li><a href="links.htm" class="navlinklt">Links</a></li>
<li><a href="copyright.htm" class="navlinklt">Copyright</a></li>
</ul>
</div><!--end leftmenu-->
<p><b><u>Accredited / CPD Program Members</u></b>
<ul>
<?php
**********This code works fine***************
?>
</ul>
</div><!--------------END LEFT NAVBAR----------------->
<!-------------BEGIN UPPER NAVBAR------------------->
<div class="navbarupper">
<center>
<table width="1005" border="0" style="font-size: 10pt">
<tr>
<td align="center"><a href="testindexfsnnew.html" class="navlinkup" onMouseover="swapLink(0)"><img border="0" src="images/fsnlogo.gif" alt="To return to intro click here..." width="201" height="161"><br>FENG SHUI Network</a></td>
<td align="center"><a href="members/index.htm" class="navlinkup" onMouseover="swapLink(1)"><img border="0" src="images/globe.jpg" alt="Members Area" width="160" height="161"><br>Members</a></td>
<td align="center"><a href="mailinglist/subscribe.php" class="navlinkup" onMouseover="swapLink(2)"><img border="0" src="images/mail.gif" alt="Mailing List" width="160" height="161"><br>Mailing List</a></td>
<td align="center"><a href="newsletters/index.htm" target="_blank" class="navlinkup" onMouseover="swapLink(3)"><img border="0" src="images/sspace.jpg" alt="Newsletters" width="160" height="161"><br>Sacred Space</a></td>
<td align="center"><a href="topics/index.htm" target="_blank" class="navlinkup" onMouseover="swapLink(4)"><img border="0" src="images/topics.gif" alt="Topics and Articles" width="160" height="161"><br>Topics & Articles</a></td>
<td align="center"><a href="products/index.htm" class="navlinkup" onMouseover="swapLink(5)"><img border="0" src="images/products.jpg" alt="Products" width="160" height="161"><br>Products</a></td>
</tr>
</table>
</center>
</div><!-----------------END UPPERNAVBAR-------------------->
I've made sure closed and covered all the UL and LI tags both in source html and scripting (php coding is working fine and doing what it is supposed to) which appeared to be the problem in the previous thread I looked at about this error.
The way the page works is when "wave" (onmouseover) the mouse pointer over upper links (<div absolutely positioned section with a table>), left navbar displayed links will change (leftnavbar is also in an absolutely positioned <div> area with another "identified" (for the javascript routine i.e. "leftmenu") <div> nested inside that division)
Any help or ideas on this would be greatly appreciated. I'm going to have to hold myself back now and stop tinkering with it until I get some responses so I hope this forum is active and quick LOL.
Thanks,
- Dan