Re: Using Java Script Navigation with Dynamic Web Template

From: Greg (Greg_at_discussions.microsoft.com)
Date: 08/13/04


Date: Fri, 13 Aug 2004 15:21:03 -0700

Here are two sites that use similar switch navigational structures:

1) http://www.spherion.com/staffing/services/officeprofessionals.jsp. For
the first link, please click on Industrial Staffing. Then click on the sub
menus - industrial advantage or industrial success. In each case, you will
find that the menu remains collapsed or open showing the sub menus until you
click on another menu.

2) http://www.okkosher.com/. Here again, you can click on (a) ok (b) About
Kosher (c) Going Kosher. In each case, the menu remains collapsed when you
go from one sub menu link to another. It only closes when you click on
another menu.

Can the Call Script behavior in FrontPage apply to this in any way.

Thanks
Greg

"Thomas A. Rowe" wrote:

> 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)
> http://www.ycoln-resources.com
> FrontPage Resources, WebCircle, MS KB Quick Links, etc.
> ==============================================
> To assist you in getting the best answers for FrontPage support see:
> http://www.net-sites.com/sitebuilder/newsgroups.asp
>
> "Greg" <Greg@discussions.microsoft.com> wrote in message
> news:4FC1DE05-00C0-4F80-A5CB-FE00B8E8CBF5@microsoft.com...
> > 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
>
>
>



Relevant Pages

  • Cookie not working for CGI logon script
    ... The problem I'm having is that umzadmin.cgi script makes me login twice ... before I can use the website. ... sub loginScreen { ... &SortForm), last SWITCH if param; ...
    (comp.lang.perl.misc)
  • Re: Adding a base port
    ... > Adding a sub woofer may be a possibility. ... > decoded signals from the DVD player to the amp). ... > speaker outputs of the Sony, using the "large speaker" setting in the DVD ... One double-pole double-throw switch. ...
    (uk.rec.audio)
  • Re: Adding a base port
    ... You know what, I knew I'd spelled bass wrong, and haven't a clue why! ... >> Adding a sub woofer may be a possibility. ... >> decoded signals from the DVD player to the amp). ... One double-pole double-throw switch. ...
    (uk.rec.audio)
  • Re: copy files between drives from within access 2003
    ... I'm getting no error messages now. ... isn't working - just a case of adding a switch ot two for xcopy. ... Private Sub Command1_Click ... I havn't added the /d switch at the moment but added the /e switch (I ...
    (microsoft.public.access.modulesdaovba)
  • Re: Using command buttons change the value in a form text box.
    ... current status of the hours (machine or labour). ... You could have one button and switch the caption ... Private Sub LabourHours_Click ... Labour Hours command button, likewise the operator can change the ...
    (microsoft.public.excel.programming)