1

Does anyone know of a plugin that would allow me to place a DIV (that DIV having various other elements) within a DIV and allow the parent DIV to be 'panned' based on relative mouse movement?

I've seen loads of examples for panning an IMG within a DIV, but haven't seen exactly what I'm after.

Thanks.

JasonMHirst
  • 576
  • 5
  • 12
  • 31
  • does http://stackoverflow.com/questions/7096921/html5-panning-based-on-mouse-movement work for you? – chrispanda Oct 14 '11 at 10:52
  • I'd prefer something that doesn't rely too much on HTML5 (for cross browser reasons) – JasonMHirst Oct 14 '11 at 10:57
  • something like jquery ui draggable? – sathis Oct 14 '11 at 11:18
  • 1
    you are not looking for pan, you need a content slider. – zdrsh Oct 14 '11 at 11:53
  • zdrsh, thanks to your proper terminology, managed to find a fantastic solution here - http://articles.tutorboy.com/2010/10/05/mouseover-auto-scroller-menu-using-jquery-and-css/ - have hacked it to do horizontal as well, and it's working perfect. My sincere thanks. – JasonMHirst Oct 14 '11 at 12:36

0 Answers0