http://www.telegraph.co.uk/sport/oly...one-Roses.html
This will be javascript I guess?
Just thought I'd share![]()
| SitePoint Sponsor |
http://www.telegraph.co.uk/sport/oly...one-Roses.html
This will be javascript I guess?
Just thought I'd share![]()





At a guess it's two areas with overflow:hidden, their sizes change depending on mouse position. Actually, only one size needs to change, the one with the lower z-Index can be static
With new browsers you probably could do this with just two background images and changing the css with the change of mouse position
LiveScript: Putting the "Live" Back into JavaScript
if live output_as_javascript else output_as_html end if




All that needs to be is two overlaid images, with a mousemove handler setting the CSS 'clip' of the upper image.
Tab-indentation is a crime against humanity.
Bookmarks