Using Java Script Navigation with Dynamic Web Template

G

Guest

Hi,

I used a Java Script Switch menu on my web site, which I obtained from
dynamic drive. I then used Dynamic Web template to make it appear on my
other pages. When I click on a selection from the switch menu, it collapses
as it should providing me with options in the sub menu to click. When I
click on the sub menu link, it goes to the page that it was hyperlinked to.
Here is my problem, the menu on the linked page does not remain collapsed as
it should. Instead, it contracts to its original position. I have to click
on it again to open the menu and make another selection. This is frustrating.
I have seen web sites where this is implemented. How can I fix this so that
the menu remains open until another menu selection is made? I thought DWT
was supposed to help with this type of stuff. I will greatly appreciate any
help.

Thanks
Greg
 
T

Thomas A. Rowe

Inserting a script on a DWT, is the same as inserting the script on each individual page, just that
you only have single location to make any changes to it.

As each page is loaded in a browser, the script starts over with it's initial menu state, it doesn't
pass the menu state between pages.

Can you provide URLs of site where you have seen this? Also you could do a view source to see what
script those sites are using.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
T

Thomas A. Rowe

#1: The first site below is running Java, which is not the same as using JavaScript (Dynamic HTML
Menus), I do something similar with my navigation on my site below, using standard HTML text links,
and nested FP Include Pages. http://www.ycoln-resources.com/frontpage/

#2: On the second site. the navigation is driven by ASP and CSS, not JavaScript Dynamic HTML Menus.
Here is an example of doing basically the same thing,
http://www.cherokeegifts.com/TradingPost/TradingPost.asp
Using both ASP Includes and FP Includes with ASP coding to determine which links to display under
the categories.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top