HI all
I got a problem with my menu display.I am making a list as shown below in one of my aspx pages. And added a stylesheet in CSS for it.
This is not working in IE but not in Mozilla Firefox it is working.
Can anyone please help me with this?
Just after the page html I pasted my CSS stylesheet code also.
_______________ _______________ _______________ _______________ ______
Page
_____ - <%@ Page Language="VB" MasterPageFile="~/SalesMasterPage.master" AutoEventWireup="false" CodeFile="BasestyleTest.aspx.vb" Inherits="BasestyleTest" title="Untitled Page" %>
-
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
-
<form id="test" onclick="hoverer();" action="BasestyleTest.aspx" >
-
<script type="text/JavaScript">
-
function hoverer(ulname) {
-
if (document.all && document.getElementById(ulname).currentStyle ) {
-
var navroot = document.getElementById(ulname);
-
var lis=navroot.getElementsByTagName("li");
-
for (i=0; i<lis.length; i++) {
-
var oldClassName = this.className;
-
lis[i].onmouseover=function() {this.className = ulname + "ie";}
-
lis[i].onmouseout=function() {this.className = oldClassName;}
-
}
-
}
-
}
-
</script>
-
-
<ul>
-
<li>Reference File maintainence
-
<ul>
-
<li><a href="">Standard Maintainence</a></li>
-
<li><a href="">Temper Maintainence</a></li>
-
<li><a href="">Test Certificate Maintainenece</a></li>
-
<li><a href="">Export/Domestic Code Maintainence</a></li>
-
</ul>
-
</li>
-
<li>Order/Sample
-
<ul>
-
<li><a href="">Sales Contract</a></li>
-
<li><a href="">Mill Order/Enquiry Maintainence</a></li>
-
<li><a href="">Mill order No. By Cust Order No.</a></li>
-
</ul>
-
</li>
-
-
<li>Invoice Shipping
-
<ul>
-
<li><a href="">Invoice Document Maintainence</a>
-
<ul >
-
<li >
-
<a href="testChild.aspx">Invoice Header Maintainenece 1</a>
-
<a href="testChild.aspx">Invoice Header Maintainenece 2</a>
-
<a href="testChild.aspx">Invoice Header Maintainenece 3</a>
-
</li>
-
</ul>
-
</li>
-
<li><a href="">Shipping Maintainence Document</a></li>
-
<li><a href="">Provisional Invoice Document Maintainence</a></li>
-
</ul>
-
</li>
-
</ul>
-
</form>
-
</asp:Content>
_______________ _______________ _______________ _______________ ______
CSS Style Sheet
If someone gets any idea pls help me.
Paulson
2 1542
Hi all,
I did not try but I think gving the js file like this will help in your part page - <script type="text/javascript" language="JavaScript1.2">
-
<!--#include virtual="iehover.js"-->
-
</script>
Paulson
Could you please be ever so slightly more specific in what your problem is? Is your CSS stylesheet not working, only certain rules, or properties are working, or is it something else?
Thanks, Death
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Rob McLennan - ZETLAND |
last post by:
Hi,
I have set up an external stylesheet, named "print.css", to format the
style of all pages printed from my company's website. I've been
previewing my changes to the stylesheet by doing File\Print Preview in
IE6 and noticed that occasionally the leftmost button of the
javascript menu (CoolMenus Version 3.02) on our website is printed. (I
have wrapped the javascript that generates this menu in a DIV so that
it is concealed from...
|
by: Rob McLennan - ZETLAND |
last post by:
Hi,
I have set up an external stylesheet, named "print.css", to format the
style of all pages printed from my company's website. I've been
previewing my changes to the stylesheet by doing File\Print Preview in
IE6 and noticed that occasionally the leftmost button of the
javascript menu (CoolMenus Version 3.02) on our website is printed. (I
have wrapped the javascript that generates this menu in a DIV so that
it is concealed from...
|
by: Calvin KD |
last post by:
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...
|
by: snowweb |
last post by:
I am trying to implement a CSS hierarchical unfolding menu on a site. The thing is, it needs to be dynamically populated from the results of a database query. I previously had the menu working but then it was ‘hard coded’ and not built on the fly.
Menu description:
2 top level items “Company” and “Products” (we will ignore “Company” since it is still hard coded and not causing a problem.
Below “Products” we have hard coded “By...
|
by: Deborah |
last post by:
I'm a rookie, and I guess I know just enough to be dangerous. I found a
great template website, openwebsign.org, and found an open source
template I really liked that even came in 2 versions. Spent 2 weeks
updating my website, put it up, **using the alternative** css sheet, and
pfft, IE 6.0 can't see the side menu items as hyperlinks.
Right now it's up as www.simi-therapy.com . The CSS sheet I'd like to
use is at...
| |
by: Carlos Albert |
last post by:
Hello world,
I'm trying to populate an ASP.NET 2 menu control, but so far no luck. The
first problem I find is that they are for C#... and I work using VB.
Tried this way: http://aspalliance.com/822 , translating the code (that I
post at the end of the msj) but all I got is a menu with two items level 1
that says "MenuItem". Nothing else.
And tried to use this
|
by: cathy |
last post by:
Hi All,
I am having problems displaying content relevant to the option selected
in a drop-down menu. I have an xml document which is running content
through Flash and I need to have the same content on a web page. I am
working in Dreamweaver 8 and code in asp.net (vb).
I need to have a drop-down menu listing available news articles, when
one is selected the article should appear on the page. I have currently
managed to populate the...
|
by: dragze |
last post by:
Hi, right i have a menu box wich allows the user to change what stylesheet the website uses. Now this all works just the way it shud in FF, but not in safari or IE, when u select ur option from the box in safari or IE it does nothing. I have tested the same method but with hyperlinks rather than the menu box, this works with all three browsers, just wont wrk on the menu box for some reason. For all i know there could be a simple explanation to...
|
by: Ravi Joshi |
last post by:
The menu on my site works fine in IE6 and Firefox.
In IE7, there is a problem with the menu: when you mouse over the various main catagories, the sub-catagories all appear to the right as they should; however, as soon as you mouse towards any but the TOP sub-catagory, all those sub-catagories still view there.
It will work first time quite fine..but if user clicks outsite anywhere in screen then this problem occur..
i think it's css...
|
by: namratha247 |
last post by:
Hi,
Can anybody please help me with this problem.
In my application, I'm using Menus. and the CSS for the menu is as given below
ccMenu.css
/* Root = Horizontal, Secondary = Vertical */
ul#navmenu {
|
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,...
| |
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...
|
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...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |