I have just recently decided to use the hier menus from I can get them to work fine in an html document. But here is my problem, When I put the links in an asp page that uses HTML div tags they do not work. As long as the links for the menus are not in these div tags, the menus work fine. I need to use these div tags to set up my format. Here is an example of what some of my code looks like.
I use the div tag to refer to a .css file the id and class are used to refer to a certain part of the .css file to display specific formatting.
<div id="contentDiv" class="smallDark">
<BR><BR>
Bryant's Menu Bar
<A HREF="javascript:void(0)" onMouseOver="popUp('elMenu1',event)" onMouseOut="popDown('elMenu1')" onClick="return false">Main</A>
<A HREF="javascript:void(0)" onMouseOver="popUp('elMenu2',event)" onMouseOut="popDown('elMenu2')" onClick="return false">Search</A>
<A HREF="javascript:void(0)" onMouseOver="popUp('elMenu3',event)" onMouseOut="popDown('elMenu3')" onClick="return false">Professional Services</A>
<A HREF="javascript:void(0)" onMouseOver="popUp('elMenu4',event)" onMouseOut="popDown('elMenu4')" onClick="return false">Member Services</A>
<DIV>
As soon as I remove the div tags the menu works find but I lose my formatting because there is nothing to refer to the .css file format tags. I am not sure if it is the div tags that is actually causing the problem or you just cant use .css files to format links for the hier menu
I hope this makes sense to someone and I hope they can help me
I use the div tag to refer to a .css file the id and class are used to refer to a certain part of the .css file to display specific formatting.
<div id="contentDiv" class="smallDark">
<BR><BR>
Bryant's Menu Bar
<A HREF="javascript:void(0)" onMouseOver="popUp('elMenu1',event)" onMouseOut="popDown('elMenu1')" onClick="return false">Main</A>
<A HREF="javascript:void(0)" onMouseOver="popUp('elMenu2',event)" onMouseOut="popDown('elMenu2')" onClick="return false">Search</A>
<A HREF="javascript:void(0)" onMouseOver="popUp('elMenu3',event)" onMouseOut="popDown('elMenu3')" onClick="return false">Professional Services</A>
<A HREF="javascript:void(0)" onMouseOver="popUp('elMenu4',event)" onMouseOut="popDown('elMenu4')" onClick="return false">Member Services</A>
<DIV>
As soon as I remove the div tags the menu works find but I lose my formatting because there is nothing to refer to the .css file format tags. I am not sure if it is the div tags that is actually causing the problem or you just cant use .css files to format links for the hier menu
I hope this makes sense to someone and I hope they can help me