/    Sign up×
Community /Pin to ProfileBookmark

rollover menu in IE6

Can someone tell me why the popup menus are not working on [URL=”http://www.zluth.org/”]http://www.zluth.org[/URL]? I have the same code (I think) on another site and it seems to work. If you rollover “About Us” for example, in FireFox, you get the menu, but in IE6 you get nothing.

Thanks!!

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@KDLAJul 29.2008 — Have you used javascript on your other instances to accommodate IE6? 'Cause IE6 doesn't recognize li:hover.
Copy linkTweet thisAlerts:
@jrthor2authorJul 29.2008 — Yes, I'm using the same javascript on this site. Here is the css from the other site I have used this on:
[CODE]
#nav1 ul {
padding: 0;
margin: 0;

}
#nav1 li {
float: left;
position: relative;
list-style: none;
}
#nav1 a {
font-weight: bold;
color: #ffffff;
text-decoration: none;

font-size:120%;
float: left;
width: 130px;
padding: 0 0 0 5px;
height: 30px;
line-height: 30px;
}
#nav1 li li a {
font-weight: normal;
color: #ffffff;
text-align: left;
font-size:120%;
float: none;
display: block;
}
#nav1 li li a:hover {
text-decoration: underline;
background-color: #661100;

}
#nav1 li ul {
position: absolute;
top: 30px;
left: -999em;
background-color: #b98c49;
width: 135px;
}
#nav1 li:hover, #nav1 li.over {
background-color: #661100;
}
#nav1 li:hover ul, #nav1 li.over ul {
left: 0;
background-color: #b98c49;
}
#nav1 li:hover ul ul, #nav1 li.over ul ul {
left: -999em;
}
#nav1 li li:hover ul, #nav1 li li.over ul{
top: 0;
left: 135px;
}
[/CODE]
Copy linkTweet thisAlerts:
@CentauriJul 30.2008 — The getElementsByClass function you are using in the javascript will be looking for any <li>s that have the class name of "nav", whereas your html has the [B]parent[/B] with that class name. I think you would be better of using the original suckerfish script and changed your nav class to an id.
×

Success!

Help @jrthor2 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...