Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

nav rollover not working

Featured Replies

Just coded my first image based css navigation and for some reason the last two links dont have the rollover effect, i must admit ive kinda rushed the coding of this together but nonetheless this is very strange. I also have 10px or so of whitespace before the first link.

http://gfxpixeldesigns.com/ebay/clients/vintagedirect/vintagedirectebaylistingtemplate.html

Any suggestions ?

No idea why, but it would be much easier if you used CSS for the rollover instead of JS.

This may help

  • Author

Thanks pedro managed to get the rollovers working following that link, i still have the whitespace before my first link but its no big.

 

Fortunately javascript cant be avoided in this case because its linking to a javascript tab navigation below which requires javascript to hold the tab contents.

 

EDIT: forgot to mention the rollover is controlled by css but the link itself uses span onclick

  • Author

How would i give these an active state ? Ive tried the usual a:active with li#nav_home a:active but this doesnt seem to be working ...

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.