Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:32

using javascript in an include

Poster: abond
Dated: Tuesday September 13 2005 - 20:34:07 BST

I am working on a site using a content management system with very strict hierarchy and naming. All javascripts must the placed on the templates within an includes file.

My current left navigation is an include file placeed within a table cell. I read the instructions on placing the javascript within a table cell, but that will not work for me, due to the necessity of the include.

Amy Bond (apbond __at__
Web Producer

Poster: John
Dated: Tuesday September 13 2005 - 23:17:33 BST

The 3 main menu code files (and style and sub-menu code) can be placed in an include immediately after the body tag. The only item required in the td is the main menu code, which can also be placed in an include in the td.

Poster: Andy
Dated: Tuesday September 20 2005 - 18:59:30 BST

This will depend on browser support.

If you only need to support the latest browsers then youcan put the include files anywhere you like.

This will have an effect on browsers like Opera 6 and Internet Explorer for the Apple Mac. Mostly browsers which should no longer be used but people still do.

So, in essence, it will work but not 100% cross browser.

Hope this helps,