PDA

View Full Version : panoramic moving image



pieter
05-21-2006, 06:56 PM
hey, i'm having a problem. My introduction page should be containing a panoramic picture which is larger than the screen. but i don't want a scroll in my window. when you move your mouse the picture moves with. E.g. if i move my mouse to the right the picture scrolls to the right. Does anyone know how i should do this? after that some areas of the picture should be links, but that should be doable with hotspots, right?
thx in advance

pieter

Twey
05-21-2006, 07:35 PM
"Hotspots?"
It's not that difficult; simply use a DIV of fixed width with overflow:hidden, and move the image around within it.

jscheuer1
05-21-2006, 07:45 PM
This script does what Twey is proposing:

The Cmotion Image Gallery (http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm) with just one image (image map actually for the 'Hot Spots') should do it.

Twey
05-21-2006, 07:54 PM
Whew, I'm glad you posted this before I got too far into reinventing the wheel :)

pieter
05-21-2006, 08:05 PM
thx! i'll test it right away!