View Full Version : Use different tag for onload event

05-06-2009, 04:40 AM
1) Script Title: Chained Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/chainedmenu/chainedmenu.html

3) Describe problem: I have everything working OK when setting this up using Dreamweaver. I now want to incorporate it into my website, which uses templates. I only want to use the menu on one particular page of my site and cannot put the onLoad function into the body tags. I have tried using <frame onLoad ...> but when I do this the menu doesn't work - the boxes are there but with no information in them.

Does anyone have any suggestions as to how I can use frames to load the menu or is there any way I can get this to work without putting the onload function into the body tags. I would have thought I could use the frame tags but maybe there is something I need to change in either the chainedmenu.html file or the chainedmenu.js file that I don't know about.

I would be grateful for any help or advice as I have spent hours trying to get this to work.

Thanks in anticipation.