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.

PieChart Type Navigation

Featured Replies

Hi Guys,

 

I hope you can help me.

 

A client wants a piechart type navigation image on their site.

 

Basically a circle split into 7 sections each of which will link to a sub page and the image/background image to change on hover.

 

Initially I tried doing this the old fashioned way with an imagemap.

 

But I couldn't get the hover effect to work at all.

 

So I decided to try 7 absolutely positioned images, this works to an extent as you can see here.

 

However the hover effect using just css is wrong because it changes as it hovers over the edge of the image not the segment obviously.

 

Any ideas? I assume I need some javascript but i'm unsure where to start.

 

Cheers guys.

 

Cyber

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.