adding external html loading to menu system

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
Jack D. Ripper
Beginner
Beginner
Posts: 9
Joined: Thu Sep 19, 2002 7:44 am

adding external html loading to menu system

Post by Jack D. Ripper »

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
Post Reply