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.

Disjointed Rollover Animation

Featured Replies

Hi,

 

I have a client from a site that I am currently building who has asked for some specific functionality to do with the rollovers on the site. I'm not 100% sure how to do this though so any help would be greatly appreciated.

 

Essentially what they are after is to have to have some small animated images on the side of the page trigger when the navigation at the top is rolled over. The best solution I have come up with so far is to have the whole navigation area as a rollover in itself although it would trigger a disjointed image elsewhere on the page which would be an animated gif. On roll-out, a reversed animated gif would be activated instead to provide a smooth transition back to it's original state.

 

How to do this or whether this is the best option I'm not sure and so any help would be much appreciated.

 

Thanks!

Rob

Hi,

 

I have a client from a site that I am currently building who has asked for some specific functionality to do with the rollovers on the site. I'm not 100% sure how to do this though so any help would be greatly appreciated.

 

Essentially what they are after is to have to have some small animated images on the side of the page trigger when the navigation at the top is rolled over. The best solution I have come up with so far is to have the whole navigation area as a rollover in itself although it would trigger a disjointed image elsewhere on the page which would be an animated gif. On roll-out, a reversed animated gif would be activated instead to provide a smooth transition back to it's original state.

 

How to do this or whether this is the best option I'm not sure and so any help would be much appreciated.

 

Thanks!

Rob

 

jQuery would be your friend here. Have a nose around, someone has bound to have tried to achieve what you're looking for.

jQuery would be your friend here. Have a nose around, someone has bound to have tried to achieve what you're looking for.

 

Just had a nose myself and came across this using only CSS, I think this is close to what you're after?

 

Hope this helps

Just had a nose myself and came across this using only CSS, I think this is close to what you're after?

 

Hope this helps

 

CSS Sprites are the way to go. It's quite simple once you get the hang of it. Not to mention it cuts your code down to almost nothing and loads instantly without any preloading code.

 

Here's a list to the best CSS Sprite tutorials.

http://skyje.com/2010/02/css-sprites/

 

This is the tutorial that taught me.

http://buildinternet.com/2010/01/how-to-make-a-css-sprite-powered-menu/

 

Good luck!

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.