include file / cascading dropdowns / mouseover

D

david

Hi,
I have found an article complete with actual code for implementing a
"simple" or a "cascading" dropdown menu, at the following link:

http://msdn.microsoft.com/library/d...ta/html/OfficeFrontPageCreateDropDownMenu.asp

The article include 4 files which I downloaded and named as
menu_simple.asp, menu_cascading.asp, menu.css, menu.js.

I was able to get menu_simple.asp and menu_cascading.asp to preview fine in
browser, from within fronpage 2003.

However, when I "include" the two menu files in a new asp file (call it
page1) and publish to ISP, the menu did not performed as expected.

The correct behaviour is to reveal the dropdown content upon mouseover
event, and hide upon mouseout.
Instead, the menu revealed all the dropdown subitems and sub-subitems as
soon as I open up page1 - the page in which the menu files are "included, by:

<!--#include file="menu/menu_simple.asp" -->
<!--#include file="menu/menu_cascading.asp" -->

The article and code are dated December 2004 and the author's name indicated
is Lisa Wollin of Microsoft.

Can anyone help me figure this one out?
Thanks.
David
 
S

Stefan B Rusynko

Check your paths to the include page and the .css / .js




| Hi,
| I have found an article complete with actual code for implementing a
| "simple" or a "cascading" dropdown menu, at the following link:
|
| http://msdn.microsoft.com/library/d...ta/html/OfficeFrontPageCreateDropDownMenu.asp
|
| The article include 4 files which I downloaded and named as
| menu_simple.asp, menu_cascading.asp, menu.css, menu.js.
|
| I was able to get menu_simple.asp and menu_cascading.asp to preview fine in
| browser, from within fronpage 2003.
|
| However, when I "include" the two menu files in a new asp file (call it
| page1) and publish to ISP, the menu did not performed as expected.
|
| The correct behaviour is to reveal the dropdown content upon mouseover
| event, and hide upon mouseout.
| Instead, the menu revealed all the dropdown subitems and sub-subitems as
| soon as I open up page1 - the page in which the menu files are "included, by:
|
| <!--#include file="menu/menu_simple.asp" -->
| <!--#include file="menu/menu_cascading.asp" -->
|
| The article and code are dated December 2004 and the author's name indicated
| is Lisa Wollin of Microsoft.
|
| Can anyone help me figure this one out?
| Thanks.
| David
|
|
 
Top