Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:43
adding external html loading to menu system
Poster: Jack D. Ripper
Dated: Thursday September 19 2002 - 7:53:17 BST
First off, you did a great job with the menu system. Your code is clear and lean. I like to keep my viewers on the main page so I load my html externally into a layer. With this in mind, I have an external loading script that I'm trying to incorporate into your menu script.
The problem is at the button level. I haven't been able to get my code to work in yer script. EXAMPLE:
addmenu(menu=["technonews",
,,110,1,"",style1,,"left",effect,,,,,,,,,,,,
,"TechWeb","http://www.cnn.com",,,0
,"News.com","http://www.news.com",,,0
This is part of the script for making the subs of the menu. I want want to load my pages this way but adding this to each sub button:
<a href="#" onclick="pageManager('load_page','content/page1.html')">Load Page 1</a>
through my pageManager it loads the page1.html into an iframe then into the layer. the load page 1 would be the sub button title. (TechWeb)
I'm having trouble adding my code to your script. wondering if you can help..
RIP