473,836 Members | 1,634 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 2766
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
2331
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
78175
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
4005
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
2353
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
10302
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
2177
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
2713
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
3717
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
3360
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
9814
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
9666
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
10838
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
10544
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10250
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9369
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...
0
5645
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...
0
5821
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4010
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.