473,407 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

css expand collapsible vertical menu working only in css for IE 6

Hi,

I'm wondering if CSS support in IE is such that one could make an
expandable collapsible vertical menu - such as in a TOC - without using
Javascript that will work in at least IE 6. IE 5 would also be cool.
This does not need to be cross-browser as I am thinking basically about
replacing/hacking some built in displays of Explorer by using its html
display capabilities. Using Javascript to do it will raise security
errors, but css will be fine.

Aug 23 '06 #1
2 6165
Rik
pantagruel wrote:
Hi,

I'm wondering if CSS support in IE is such that one could make an
expandable collapsible vertical menu - such as in a TOC - without
using Javascript that will work in at least IE 6. IE 5 would also be
cool. This does not need to be cross-browser as I am thinking
basically about replacing/hacking some built in displays of Explorer
by using its html display capabilities. Using Javascript to do it
will raise security errors, but css will be fine.
Well, you'd have to use the :hover attribute, which IE only supports for
<a>, and if you only have it for the <a>, you need an adjacency (+)
selector (because you offcourse cannot nest <a>'s), which it doesn't
support.

In short: no, not for MSIE6. In MSIE7 it might work though

--
Grtz,

Rik Wasmus
Aug 23 '06 #2

Rik wrote:
pantagruel wrote:
Hi,

I'm wondering if CSS support in IE is such that one could make an
expandable collapsible vertical menu - such as in a TOC - without
using Javascript that will work in at least IE 6. IE 5 would also be
cool. This does not need to be cross-browser as I am thinking
basically about replacing/hacking some built in displays of Explorer
by using its html display capabilities. Using Javascript to do it
will raise security errors, but css will be fine.

Well, you'd have to use the :hover attribute, which IE only supports for
<a>, and if you only have it for the <a>, you need an adjacency (+)
selector (because you offcourse cannot nest <a>'s), which it doesn't
support.
I used a behavior to give IE the same capability as Firefox for a very
similar problem. It does require some js but a bit indirectly.
Take a look at "csshover.htc" at
http://www.xs4all.nl/~peterned/csshover.html

Aug 23 '06 #3

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

Similar topics

0
by: vikram.cvk | last post by:
Hello Experts, Im trying to design a CSS vertical drop down menu which should have the following functionality. Home About Us | -->Overview
2
by: Rob McLennan - ZETLAND | last post by:
I need to build an automatically expanding/collapsing vertical menu system for my company's website. The site is not enormous, containing only around 100 static pages. The menu needs to be three...
2
by: develeigh | last post by:
Hi, I have got this Collapsible Menus, it uses combination of JavaScript and CSS. Javascript when executed changes the inital CSS settings to make the sub menu visable function...
0
by: madhur | last post by:
Hello I am trying to build a collapsible menu control similar to oen in http://rsa.com. I want to know, If I can extend the ASP.NET 2.0 Menu control for this purpose. Can I achieve that...
11
by: Nospam | last post by:
I don't know what it is I am doing wrong, I am trying to get the menus to either expand or contract based on their previous states, i.e if already expanded if clicked again contract, and if...
7
by: David T. Ashley | last post by:
I'm trying to implement these ... I know there is a lot of example code on the web, but I'm trying to roll my own ... What JavaScript functionality is typically used to display parts of the...
1
by: phatnugs | last post by:
Hi all, I've been working on a vertical reveal menu. Right now it works ok with CSS. But what i'd like it to do is when you mouse over, reveal the menu and have that menu stay open until the user...
13
by: Bill | last post by:
Hi How can I have IE7 act correctly on that ? The rules make the link text go down when hovered. It works in FF , I had to add a hard space right after the LI tag to have OP9 work but I can't...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...

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.