Warning: Undefined array key "StartingPoint" in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 107 Warning: Cannot modify header information - headers already sent by (output started at /customers/f/f/0/safaribears.de/httpd.www/content.php:107) in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 115 Warning: Undefined variable $WEB_ROOT in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 118 Warning: Cannot modify header information - headers already sent by (output started at /customers/f/f/0/safaribears.de/httpd.www/content.php:107) in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 118 Warning: Undefined array key "HTTP_ACCEPT_LANGUAGE" in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 169
How can I get images go big when hoovering over them?
Advantage: Slim code, quickly done, only one image to download.
Disadvantage: You have to rely on the browser to shrink the large image into the small thumbnail. Quality is maybe not satisfying.
The Styles:
The XHTML part:
Advantage: Slim code, quickly done, you can deside on the image quality yourself.
Disadvantage: A little bit more bandwidth, but we're talking about the additional small image!
One thing, though: This way you might run into problems if you need the image to be inline, with text left and right. A div is a block element,
not an inline element. But I would say, in almost all cases it would be not working well anyway if you blow an inline element suddenly up.
But with some more code, it would be possible to catch that problem, too.
The Styles:
The XHTML part: