Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hier Menus and asp pages help 1

Status
Not open for further replies.

bryant89

Programmer
Nov 23, 2000
150
CA
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=&quot;contentDiv&quot; class=&quot;smallDark&quot;>

<BR><BR>

Bryant's Menu Bar
               
<A HREF=&quot;javascript:void(0)&quot; onMouseOver=&quot;popUp('elMenu1',event)&quot; onMouseOut=&quot;popDown('elMenu1')&quot; onClick=&quot;return false&quot;>Main</A>
                
<A HREF=&quot;javascript:void(0)&quot; onMouseOver=&quot;popUp('elMenu2',event)&quot; onMouseOut=&quot;popDown('elMenu2')&quot; onClick=&quot;return false&quot;>Search</A>
            
<A HREF=&quot;javascript:void(0)&quot; onMouseOver=&quot;popUp('elMenu3',event)&quot; onMouseOut=&quot;popDown('elMenu3')&quot; onClick=&quot;return false&quot;>Professional Services</A>
               
<A HREF=&quot;javascript:void(0)&quot; onMouseOver=&quot;popUp('elMenu4',event)&quot; onMouseOut=&quot;popDown('elMenu4')&quot; onClick=&quot;return false&quot;>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
 
K I fixed this problem for now. I had a function that wasnt working properly but the onmouseovers are not working. The only way I can get the menus to work is if you click on the link. For some reason the mouseovers are not working anymore.
 
Hi

I think you have to open up one of the .js files to set a variable called clickstart/clickkill to false (or something similar).

Also check if you have the latest *tested* *full* version

You should also take time to read through the steps involved in creating those menus.

Have fun
caf

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top