473,898 Members | 2,914 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mouseover dropdown menu

Hi everyone,
Can someone show me or point me in the right direction as how to create a
"dropdown menu" which displays the menu items as a separete layer over the
top of the contents of the page below it. In classic ASP, I used xml, xsl,
css and htc to render the menu (with frames). Now in .NET I don't know how to
replicate the menu.
Menu.xml looks like
<?xml version="1.0" encoding="utf-8" ?>
<Menu menuText="Click here to access this applications menu." menuImage="">
<MenuGroup TYPE="FR" menuText="Finan cial Reports" menuImage=""
Roles="[ANY]">
<MenuItem menuText="Repor t 1" Roles="[ANY]" compressImage=" Y"
menuImage="" menuTarget="frm eMain" menuAction="som epage.aspx" />
</MenuGroup>
</Menu>

Menu.xsl looks like
<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform" xmlns:menuns="m enu">
<xsl:output method="html" />
<xsl:param name="pRole" select="''"/>
<xsl:template match="Menu">
<menuns:menu>
<xsl:attribut e name="id">root</xsl:attribute>
<xsl:attribut e name="rootType" ><xsl:value-of
select="./@rootType"/></xsl:attribute>
<xsl:attribut e name="menuImage "><xsl:valu e-of
select="./@menuImage"/></xsl:attribute>
<xsl:attribut e name="menuText" ><xsl:value-of
select="./@menuText"/></xsl:attribute>
<xsl:apply-templates select="./node()" />
</menuns:menu>
</xsl:template>

<xsl:template match="MenuGrou p">
<menuns:menu>
<xsl:attribut e name="menuImage "><xsl:valu e-of
select="./@menuImage"/></xsl:attribute>
<xsl:attribut e name="compressI mage"><xsl:valu e-of
select="./@compressImage"/></xsl:attribute>
<xsl:attribut e name="menuText" ><xsl:value-of
select="./@menuText"/></xsl:attribute>
<xsl:apply-templates select="./node()" />
</menuns:menu>
</xsl:template>

<xsl:template match="MenuItem ">
<menuns:menu>
<xsl:attribut e name="menuImage "><xsl:valu e-of
select="./@menuImage"/></xsl:attribute>
<xsl:attribut e name="compressI mage"><xsl:valu e-of
select="./@compressImage"/></xsl:attribute>
<xsl:attribut e name="menuText" ><xsl:value-of
select="./@menuText"/></xsl:attribute>
<xsl:attribut e name="menuTarge t"><xsl:valu e-of
select="./@menuTarget"/></xsl:attribute>
<xsl:attribut e name="menuActio n"><xsl:valu e-of
select="./@menuAction"/></xsl:attribute>
</menuns:menu>
</xsl:template>
</xsl:stylesheet>

Any help is greatly appreciated.

Nov 18 '05 #1
2 2767
TJS
try www.skmMenu.com

"Calvin KD" <Ca******@discu ssions.microsof t.com> wrote in message
news:67******** *************** ***********@mic rosoft.com...
Hi everyone,
Can someone show me or point me in the right direction as how to create a
"dropdown menu" which displays the menu items as a separete layer over the
top of the contents of the page below it. In classic ASP, I used xml, xsl,
css and htc to render the menu (with frames). Now in .NET I don't know how
to
replicate the menu.
Menu.xml looks like
<?xml version="1.0" encoding="utf-8" ?>
<Menu menuText="Click here to access this applications menu."
menuImage="">
<MenuGroup TYPE="FR" menuText="Finan cial Reports" menuImage=""
Roles="[ANY]">
<MenuItem menuText="Repor t 1" Roles="[ANY]" compressImage=" Y"
menuImage="" menuTarget="frm eMain" menuAction="som epage.aspx" />
</MenuGroup>
</Menu>

Menu.xsl looks like
<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform" xmlns:menuns="m enu">
<xsl:output method="html" />
<xsl:param name="pRole" select="''"/>
<xsl:template match="Menu">
<menuns:menu>
<xsl:attribut e name="id">root</xsl:attribute>
<xsl:attribut e name="rootType" ><xsl:value-of
select="./@rootType"/></xsl:attribute>
<xsl:attribut e name="menuImage "><xsl:valu e-of
select="./@menuImage"/></xsl:attribute>
<xsl:attribut e name="menuText" ><xsl:value-of
select="./@menuText"/></xsl:attribute>
<xsl:apply-templates select="./node()" />
</menuns:menu>
</xsl:template>

<xsl:template match="MenuGrou p">
<menuns:menu>
<xsl:attribut e name="menuImage "><xsl:valu e-of
select="./@menuImage"/></xsl:attribute>
<xsl:attribut e name="compressI mage"><xsl:valu e-of
select="./@compressImage"/></xsl:attribute>
<xsl:attribut e name="menuText" ><xsl:value-of
select="./@menuText"/></xsl:attribute>
<xsl:apply-templates select="./node()" />
</menuns:menu>
</xsl:template>

<xsl:template match="MenuItem ">
<menuns:menu>
<xsl:attribut e name="menuImage "><xsl:valu e-of
select="./@menuImage"/></xsl:attribute>
<xsl:attribut e name="compressI mage"><xsl:valu e-of
select="./@compressImage"/></xsl:attribute>
<xsl:attribut e name="menuText" ><xsl:value-of
select="./@menuText"/></xsl:attribute>
<xsl:attribut e name="menuTarge t"><xsl:valu e-of
select="./@menuTarget"/></xsl:attribute>
<xsl:attribut e name="menuActio n"><xsl:valu e-of
select="./@menuAction"/></xsl:attribute>
</menuns:menu>
</xsl:template>
</xsl:stylesheet>

Any help is greatly appreciated.

Nov 18 '05 #2
Thank you so much. It works wonderfully.

"TJS" wrote:
try www.skmMenu.com

"Calvin KD" <Ca******@discu ssions.microsof t.com> wrote in message
news:67******** *************** ***********@mic rosoft.com...
Hi everyone,
Can someone show me or point me in the right direction as how to create a
"dropdown menu" which displays the menu items as a separete layer over the
top of the contents of the page below it. In classic ASP, I used xml, xsl,
css and htc to render the menu (with frames). Now in .NET I don't know how
to
replicate the menu.
Menu.xml looks like
<?xml version="1.0" encoding="utf-8" ?>
<Menu menuText="Click here to access this applications menu."
menuImage="">
<MenuGroup TYPE="FR" menuText="Finan cial Reports" menuImage=""
Roles="[ANY]">
<MenuItem menuText="Repor t 1" Roles="[ANY]" compressImage=" Y"
menuImage="" menuTarget="frm eMain" menuAction="som epage.aspx" />
</MenuGroup>
</Menu>

Menu.xsl looks like
<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform" xmlns:menuns="m enu">
<xsl:output method="html" />
<xsl:param name="pRole" select="''"/>
<xsl:template match="Menu">
<menuns:menu>
<xsl:attribut e name="id">root</xsl:attribute>
<xsl:attribut e name="rootType" ><xsl:value-of
select="./@rootType"/></xsl:attribute>
<xsl:attribut e name="menuImage "><xsl:valu e-of
select="./@menuImage"/></xsl:attribute>
<xsl:attribut e name="menuText" ><xsl:value-of
select="./@menuText"/></xsl:attribute>
<xsl:apply-templates select="./node()" />
</menuns:menu>
</xsl:template>

<xsl:template match="MenuGrou p">
<menuns:menu>
<xsl:attribut e name="menuImage "><xsl:valu e-of
select="./@menuImage"/></xsl:attribute>
<xsl:attribut e name="compressI mage"><xsl:valu e-of
select="./@compressImage"/></xsl:attribute>
<xsl:attribut e name="menuText" ><xsl:value-of
select="./@menuText"/></xsl:attribute>
<xsl:apply-templates select="./node()" />
</menuns:menu>
</xsl:template>

<xsl:template match="MenuItem ">
<menuns:menu>
<xsl:attribut e name="menuImage "><xsl:valu e-of
select="./@menuImage"/></xsl:attribute>
<xsl:attribut e name="compressI mage"><xsl:valu e-of
select="./@compressImage"/></xsl:attribute>
<xsl:attribut e name="menuText" ><xsl:value-of
select="./@menuText"/></xsl:attribute>
<xsl:attribut e name="menuTarge t"><xsl:valu e-of
select="./@menuTarget"/></xsl:attribute>
<xsl:attribut e name="menuActio n"><xsl:valu e-of
select="./@menuAction"/></xsl:attribute>
</menuns:menu>
</xsl:template>
</xsl:stylesheet>

Any help is greatly appreciated.


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2334
by: LG | last post by:
I have asked before but I did not get all the answer I wanted. Perhaps I explained too bad. I have my site in frames, and the dropdown list is in the 'left' frame, and I have used javascript so that when you click on the selected word in the dropdown menu, it automatically opens up an URL. I want it to open up in the right frame. As it now opens in the 'left' frame. I know you can do it with target in html. But I want it open up the...
8
78177
by: al | last post by:
Hi, I've been trying to create a image mouseOver effect using CSS - is this possible? Or will I have to use DIV tags or something along those lines? I've tried a number of things - the code below will work for the border no problem, but I can't seem to get the SRC to work - is this not an option in CSS?
1
4008
by: Dino Buljubasic | last post by:
Hi, I have a toolbar with several buttons on it, one of which is set up to be as a DropDown button. I also have a context menu with menu items assigend to it so when I click that button, my context menu shows up. I have 2 questions: 1) how do I find out which menu item was clicked so I can use my Select Case statement to perform appropriate actions depending on menu
4
2357
torquehero
by: torquehero | last post by:
Hi all :) I have created a horizontal navbar using Xara Menumaker. The Menu items have several dropdown menus. Its a javascript. When the mouse cursor is moved over any menu item, a dropdown list/menu appears. When the page is opened in the browser (as it appears by default), the dropdown menu positions are correctly displayed. But when I scroll the page and then move the mouse over any menu item of the navbar, the dropdown menu is not...
2
10308
by: William Youngman | last post by:
We are developing an application that presents data to the user in a gridview and we are using the dropdown extender to give the user a SharePoint 2007 type dropdown menu attached to the cells of a given column. We are also using another dropdown menu that the user can use to select data using another quesry using the SelectedIndex change method. Upon initial page load everything works fine and the user is presented with a SharePoint type menu....
1
2180
by: redgoals | last post by:
Hi, I have searched the forum for a similar problem but have been unable to find anything. What i am trying to achieve is a dropdown menu which behaves in the following way: 1, Someone selects an category from the first dropdown menu 2, if the category has subcategories then dynamically create a new dropdown underneath and in the process fill it with the subcategories from the chosen option in the first menu. 3, keep doing the above...
1
2715
by: SunshineInTheRain | last post by:
The following code is dynamic create dropdownmenu which data within pulled from database However, the code work well on IE but not on Firefox. On Firefox, the whole mouseover and mouseout function din't work. what is not supported on Firefox? the javascript syntax? please help as i am not familiar with javascript. thanks in advanced. this is quite urgent.... please.. By the way hope there has somebody may help me find out why the design may...
19
3724
by: Jim | last post by:
Hi, I have two questions/problems pertaining to CSS horizontal dropdown menus and am hoping that someone here can help me out. (1) I'm having a problem centering the menu. I picked up the code for this from a tutorial but that menu was flush-left justified. Not what I want. Subsequent searches on google on how to center yielded a
7
3361
by: Microsoft Newsserver | last post by:
Hi, Simple question, probably a simple answer hopefully. I am working with VS2005/2.0 and this is an Explorer project IE6/IE7. The issue is I need to be able to mouseover the options in a Dropdown list. ( This is easy in Mozilla as it works natively on the client ) on IE however, the mousover event is NOT supported. So
0
9993
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11256
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9658
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8034
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5877
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4705
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4295
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3303
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.