/    Sign up×
Community /Pin to ProfileBookmark

Could someone tell me why the left nav menu when you rollover it seems to change the background of every item and then highlight the item the mouse is over? It works fine in IE7 and FireFox.

[URL]http://74.220.207.192/~zluthorg/index_new.php[/URL]

Thanks

to post a comment
CSS

13 Comments(s)

Copy linkTweet thisAlerts:
@CentauriFeb 13.2008 — Seems to work fine for me on IE6 with WinXP
Copy linkTweet thisAlerts:
@jrthor2authorFeb 13.2008 — Hmm, when I rollover Ministries & Programs, the popup menu shows, but each link shows the grey background, then goes away, I rollover Education, and the links below that go grey, then back to blue, and they keep doing that for each item I rollover.
Copy linkTweet thisAlerts:
@CentauriFeb 13.2008 — Doesn't do that wth my IE6 - very strange
Copy linkTweet thisAlerts:
@Frank62Feb 13.2008 — @jrthor2

Works fine here, too, with IE6. Do you test it online or locally? With SP2, the rendering of local javascript needs permission (Tools > Internet Options > Advanced > Allow active content .... on My Computer. External javascripts are rendered by default.
Copy linkTweet thisAlerts:
@jrthor2authorFeb 14.2008 — Attached is what I see.

[upl-file uuid=7e16886c-0687-41b5-905a-63a81924c6a4 size=96kB]menu.jpg[/upl-file]
Copy linkTweet thisAlerts:
@Frank62Feb 14.2008 — Strange, but is that online or local, and is there a difference between the two with your IE6?
Copy linkTweet thisAlerts:
@jrthor2authorFeb 15.2008 — that is online, and there is no difference.
Copy linkTweet thisAlerts:
@Frank62Feb 15.2008 — jrthor2,

I had Tidy Online (http://flumpcakes.co.uk/css/html-tidy/tidy) check your code, and it says that on lines 89 and 93 there are two empty <ul>s. Try removing those, because Tidy further finds no errors.
Copy linkTweet thisAlerts:
@CentauriFeb 15.2008 — Just checked in IE6 on another machine at a different location, and still displays fine here - not what you are seeing at all.
Copy linkTweet thisAlerts:
@jrthor2authorFeb 15.2008 — Frank62, I know about the 2 empty <ul>'s. that's because my site is not actually live yet, pointing to the ip address right now, and those 2 <ul>'s are created dynamically through php to show the newsletters/council minutes under the Publications menu, but apparantly I can't read a directory that starts with ~, so for now, it reads the files using ../../, which on the homepage, it won't find that path, becasuse from the homepage, the path would not have ../../, if you can follow me.
Copy linkTweet thisAlerts:
@Frank62Feb 15.2008 — Jrthor,

OK. But what happens if you remove them temporarily?
Copy linkTweet thisAlerts:
@jrthor2authorFeb 16.2008 — same thing
Copy linkTweet thisAlerts:
@WebJoelFeb 17.2008 — I looked through your CSS files and nowhere have I seen any default behaviours set-up for how psuedo-state links should behave.

Typically, any site cold benefit from setting-up something like this:

[B]a[/B] {...[I]typical anchor declarations, etc[/I]}

[B]a.link[/B] {...[I]anchor[/I] 'at rest' [I]that has pusedo-classes to be called[/I]}

[B]a:visited[/B] {...[I]anchor that has been visisted[/I]}

[B]a:focus[/B], [B]a:hover[/B] {...[I]anchor when hovered-over[/I]} ("[U]focus[/U]" is same as "[U]hover[/U]" except it does this for non-pointer tools, like 'tabs' etc. for the handicapped)

[B]a:active[/B] {...[I]anchor when '[/I]onMousedown[I]' is performed[/I]}

This list must [B][I]in this order[/I][/B] in order to function correctly.

Your navigation list has anchors, and without explicitly declaring their colors, background-colors, etc., you might be seeing [I]your [/I]browser's defaults for these.

Bear in mind that if the user has their browser's CSS set-up to render according to [I]their own preferances, [/I]then none of this is going to change anything.

I don't see the mysterious [I]gray-goes-blue [/I]either (or, don't think that I do). If nothing else, you could declare a background-color for the "<ul>" that should inherit. Not sure about the fly-outs inheriting this, though...
×

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.3,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...