PDA

View Full Version : HVMenu doesn't work when loaded > 2x



julin1
03-03-2006, 03:31 PM
I am using hvmenu on a site that has 2 frames. The left frame has the menu and some menu items have a submenu.

The problem I run into, is if a submenu item is selected, the page loads in the right frame correctly. If I select that same page from the submenu on the left frame again, the page will still load in the right frame. But after this time, the submenu items do not popout of the menu. Only the top level menu items will work until I hit the reload button on the browser.

Any ideas?
Thanks in advance.

The <body> for each page in the right frame contains:

<body onmouseover="javascript:{if(parent.frames[0]&&parent.frames['MyFrameOne'].Go)parent.frames['MyFrameOne'].Go()}">

The left frame with the menu contains:

<body onmouseover="javascript:{if(parent.frames[0]&&parent.frames['MyFrameOne'].Go)parent.frames['MyFrameOne'].Go()}">
<script type='text/javascript'>
//HV Menu- by Ger Versluis (http://www.burmees.nl/)
//Submitted to Dynamic Drive (http://www.dynamicdrive.com)
//Visit http://www.dynamicdrive.com for this script and more
function Go()
{
return
}
</script>

<table>
<tr>
<td width="150" style="BORDER-RIGHT: #0099cc thin solid">
<img width="150" src="../images/pic1.bmp">
</td>
</tr>

<tr height="300">
<td valign="Top" align="center">
<hr>
<font color="#6699cc" style="FONT-WEIGHT: bold; COLOR: #6699cc; FONT-STYLE: italic; FONT-FAMILY: Arial">
Table of Contents
</font>
<hr>
<br>

<script type='text/javascript' src='..\js\MyMenu_var.js'></script>
<script type='text/javascript' src='..\js\menu_com.js'> </script>

<noscript>
<!-- Browser does not support scripts. Use links for navigation-->
</noscript>
</td>
</tr>
</table>
</body>

taz002dev
03-04-2006, 03:05 PM
I have the same problem. I already have posted on the forum a week ago and i'm still waiting for a reply......at least somebody to say "hey.... we don't know how to fix it so....move on, get a real life, try another menu...."
I realy wonder why nowbody bothers to reply....
I am going to wait a liitle more and after that try another menu. Too bad since this one is looking very good and has everything u need except this bug.

You also can see that if you reload your page it works again but if we do this everytime our site loads a new page what would be the purpose of the frames we are trying to put on the web????

Check it out on: www.taz002dev.lx.ro

My post is over here: http://www.dynamicdrive.com/forums/showthread.php?t=8057

Hope you solve it quicker than I do. Please also post a website too where we can check it out.