Technical & Scientific > Programming

Neat Zoom Feature

(1/1)

Canuck:
My brother is looking for a road bike and came across this neat feature on this site.

http://www.raleighusa.com/items.asp?deptid=5&itemid=161&va=0

When you move your mouse over the bike, there is a zoomed portion of it on the left side.  Ive never seen anything like this on the web before, I thought it was pretty neat.

joshdick:
They obviously don't want their Javascript copied. Check out their obfuscated code: http://www.raleighusa.com/includes/zoomer.js

Exluddite:
That is a pretty neat feature.
As far as the road bikes go, I'm getting one of these:

http://www.giant-bicycle.com/us/030.000.000/030.000.000.asp?model=11026

Canuck:
Cool bike Exluddite.  My brother has been doing some bike research and was looking at the orc3.  He still isnt sure which one he is getting yet, Ill post some pics when he gets it :)

aran:
That feature isn't too complicated to code. You just use some CSS z-layers and some javascript to move the image around underneath.

Navigation

[0] Message Index

Go to full version