Jump to content

Javascript circular scrollbar


Renlok

Recommended Posts

http://www.mediacollege.com/internet/javascript/page/scroll.html

window.scrollBy(0,50); // horizontal and vertical scroll increments

 

A thought of how it could be done:

-Image on screen, with mousedown and mouseup event.

-Mousedown (records start position of clientx/y)

-Mouseup takes the end position of clientx/y)

 

From there you could determine how much the mouse moved and make it a ratio to your page height/length and apply the window.scroll.  However I am not sure how to apply this to a circular method.

thanks but thats not what i asked for.

 

What i want to make is basically just a circular scrollbar. All i want is to have an image that the user can drag around the circumference of a circle. I know quite a bit of javascript but i don't really know the best way to go about doing this.

 

Anyone have any ideas?

Please read the thread first.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.