Navigating CSS

The navigation in the left menu on the site below uses CSS for mouse links.
PVH

When I take the navigation code and make it a separate page. Then the mouse links don't work. What could be the reason? Please let me know.
Test

0


source to share


3 answers


Maybe...

<script src="menu_1b.js" type="text/javascript">
</script>
<script src="menu_com.js" type="text/javascript">

      



have something to say about this. EDIT: A function called CreateMenuStructureAgain () gives it away.

+2


source


You need to "borrow" the scripts found in

http://www.pvh.com/menu_1b.js
http://www.pvh.com/menu_com.js

      

and then link to them with

<script src="menu_1b.js" type="text/javascript"></script>
<script src="menu_com.js" type="text/javascript"></script>

      



You can probably try

<script src="http://www.pvh.com/menu_1b.js" type="text/javascript"></script>
<script src="http://www.pvh.com/menu_com.js" type="text/javascript"></script>

      

and it will work (assuming you have internet connection and they don't change scripts: D)

+1


source


As mentioned, you needed to take scripts. I was about to take a look at a solution for you, but then I opened up the JS code you were trying to use. You can do much better with much less code. Try to find this sample menu and the accompanying code , you should be able to do exactly what you need without the need for a lot of Javascript.

0


source







All Articles