14 replies [Last post]
Faan
Offline
Regular
Last seen: 14 years 11 weeks ago
Joined: 2007-06-22
Posts: 13
Points: 0

http://www.31tigersqn.be/the_site/

Is working in Opera, Safari, Firefox and IE7, but nothing drops down when using IE6... Anyone who can help? Been looking over the css for days and am seriously getting :curse:

brunosouza
brunosouza's picture
Offline
newbie
Recife, Pernambuco, Brasil
Last seen: 14 years 7 weeks ago
Recife, Pernambuco, Brasil
Timezone: GMT-3
Joined: 2007-09-11
Posts: 8
Points: 0

I'm not sure, but...

I'm not sure, but i think the only way the solve this problem's via javascrip. May there's a hack somewhere, but i don't know :?

However if u use javascript it'll work on on ie6 and others :thumbsup:

Faan
Offline
Regular
Last seen: 14 years 11 weeks ago
Joined: 2007-06-22
Posts: 13
Points: 0

I was afraid this would only

I was afraid this would only work with javascript... damned.

Here they offer another way with .htc but when I look at the htc-file it seems to be javascript anyway... no?

I would like to know why it doesn't work on IE6... I know IE6 doesn't support the :hover on elements other then the a-tag, so I already changed it from ul:hover to the a:hover in which the nested ul is placed... so I don't see why it doesn't show.

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 7 years 8 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Faan wrote:I already changed

Faan wrote:
I already changed it from ul:hover to the a:hover in which the nested ul is placed... so I don't see why it doesn't show.

Because the submenu's not nested in the anchor, it's nested in the list item. Using this sort of dropdown menu, there's no way to avoid using js to get it to work in IE6. So why are you afraid of using js?

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

Faan
Offline
Regular
Last seen: 14 years 11 weeks ago
Joined: 2007-06-22
Posts: 13
Points: 0

I try to avoid js as much as

I try to avoid js as much as possible because most of the things people use js for can be done with php and css... and from my server stats I estimate about 11% of the visitors has js disabled.

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 7 years 8 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Faan wrote:most of the

Faan wrote:
most of the things people use js for can be done with php and css

Well dropdown menus aren't one of them.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

qube99
Offline
Regular
Texas
Last seen: 14 years 9 weeks ago
Texas
Timezone: GMT-7
Joined: 2007-09-11
Posts: 39
Points: 0

Actually there is a way to

Actually there is a way to do it. It's a Rube Goldberg solution but here's how it works.

Start off with 2 stylesheets, one just for IE 6. Recode the menu using TABLES and wrap it in a div. Use the tables in IE6, the UL in all other browsers. Clumsy, but it works.

A more elegant solution is to use the .htc method described here:
www.xs4all.nl/~peterned/csshover.html

Steve Strickland
Ecommerce-Retail.com

Faan
Offline
Regular
Last seen: 14 years 11 weeks ago
Joined: 2007-06-22
Posts: 13
Points: 0

Hmm, I'll try the table

Hmm, I'll try the table stuff...
Found that one of the htc-file too before, but isn't that also js inside the htc?

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 7 years 8 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

qube99 wrote:Start off with

qube99 wrote:
Start off with 2 stylesheets, one just for IE 6. Recode the menu using TABLES and wrap it in a div. Use the tables in IE6, the UL in all other browsers. Clumsy, but it works.

That's never a solution I'd recommend.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

brunosouza
brunosouza's picture
Offline
newbie
Recife, Pernambuco, Brasil
Last seen: 14 years 7 weeks ago
Recife, Pernambuco, Brasil
Timezone: GMT-3
Joined: 2007-09-11
Posts: 8
Points: 0

I recommend...

I recommend do it using javascript

Faan
Offline
Regular
Last seen: 14 years 11 weeks ago
Joined: 2007-06-22
Posts: 13
Points: 0

And what would I have to do

And what would I have to do with js then? I'm a total n00b when it comes to JavaScript.

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 7 years 8 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Faan wrote:Here they offer

Faan wrote:
Here they offer another way with .htc but when I look at the htc-file it seems to be javascript anyway... no?

They show you how to implement the hover.htc on that site. Just follow the instructions.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

qube99
Offline
Regular
Texas
Last seen: 14 years 9 weeks ago
Texas
Timezone: GMT-7
Joined: 2007-09-11
Posts: 39
Points: 0

It's actually Microsoft

It's actually Microsoft Jscript. Since you're only sending it to IE 6 it's a good solution.

Steve Strickland
Ecommerce-Retail.com

Faan
Offline
Regular
Last seen: 14 years 11 weeks ago
Joined: 2007-06-22
Posts: 13
Points: 0

good to know, will try that

good to know, will try that one.

Faan
Offline
Regular
Last seen: 14 years 11 weeks ago
Joined: 2007-06-22
Posts: 13
Points: 0

Works fine! Armament,

Works fine! Armament, Downloads & Links submenu show weird but who cares, at least the menus show now...

EDIT: anyone knows what mighht cause this problem? http://csscreator.com/node/25532