738 posts
  • Has been a member for 5-6 years
  • United States
  • Bought between 10 and 49 items
  • Exclusive Author
Jar says

I’m making the framework to my first CSS dropdown menu (I’m rusty lol) and I read that they didn’t have support for most pseudo:hover besides links, so does anybody know which version finally added it? I’m hoping it was IE7 or lower as I don’t want to add this DOM -based scripting to make it work.

149 posts
  • Bought between 1 and 9 items
  • Elite Author
  • Europe
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 10 and 49 users
  • Sold between 100 000 and 250 000 dollars
starshade says

If I remember correctly the support for pseudo:hover started with internet explorer 7. To be honest I suggest you try to make a dropdown menu using jquery.

738 posts
  • Has been a member for 5-6 years
  • United States
  • Bought between 10 and 49 items
  • Exclusive Author
Jar says

I’ll be using Superfish, but even that requires a CSS drop-down menu, which is why I’m doing this. Glad to see I don’t have to support IE6 on Themeforest anymore :)

149 posts
  • Bought between 1 and 9 items
  • Elite Author
  • Europe
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 10 and 49 users
  • Sold between 100 000 and 250 000 dollars
starshade says

Yes, good thing ie6 is not mandatory anymore on themeforest. Good luck :)

2441 posts
  • Has been a member for 5-6 years
  • Exclusive Author
  • Europe
  • Bought between 10 and 49 items
  • Referred between 100 and 199 users
  • Sold between 100 and 1 000 dollars
  • Envato Studio (Microlancer) Beta Tester
digitalimpact says

The easiest way to make :hover work on anything else besides links is to use jQuery to add it.

Something like, for example:

$(document).ready(function(){

$('#navigation ul li').hover(
            function() { $('ul', this).css('display', 'block'); },
            function() { $('ul', this).css('display', 'none'); });

});
738 posts
  • Has been a member for 5-6 years
  • United States
  • Bought between 10 and 49 items
  • Exclusive Author
Jar says

Why would I do that if it works fine using it in the CSS file itself? o.o

Not that I’m saying there is no reason, but I just don’t know the reason.

2441 posts
  • Has been a member for 5-6 years
  • Exclusive Author
  • Europe
  • Bought between 10 and 49 items
  • Referred between 100 and 199 users
  • Sold between 100 and 1 000 dollars
  • Envato Studio (Microlancer) Beta Tester
digitalimpact says
Why would I do that if it works fine using it in the CSS file itself? o.o Not that I’m saying there is no reason, but I just don’t know the reason.

This is one good reason :) :P

IE6 to be more specific. And I did have the problem with IE7 too – got fixed with just a little jQuery :)

2541 posts
  • United States
  • Attended a Community Meetup
  • Author had a Free File of the Month
  • Bought between 50 and 99 items
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Has been a member for 5-6 years
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
+4 more
CreatingDrew says

Check this out, it’s a lifesaver – http://code.google.com/p/ie7-js/

738 posts
  • Has been a member for 5-6 years
  • United States
  • Bought between 10 and 49 items
  • Exclusive Author
Jar says

Wow, now that looks helpful. :D

by
by
by
by
by
by