Re: Div a posouvani obsahu

From: hyneklipa.cz <mail (zavinac)>
Date: 03. 11. 2004, 13:34 CET
petr.novak@vitana.cz wrote:
> Tohle me taky napadlo, bohuzel vysledek se nedostavil.
> Nepotesil jsi me Hynku, nepotesil... :-(
---------------------------------
ja taky nechci nikoho tesit.

ale resit to jde, jen trosku, mno ... ;)

***
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="cs">
<head>
   <meta http-equiv="Content-Type" content="text/html; 
charset=iso-8859-2" />
     <title>test</title>
</head>
<body>
<div style="width: 200px; height: 200px; overflow: hidden; position: 
relative;">
     <img id="obrazek" style="position: absolute; top: 0; left: 0;" 
src="xyz.png" width="980" height="650" alt="" border="0" />
</div>
<a href="#" 
onclick="document.getElementById('obrazek').style.top='-'+200+'px'; 
document.getElementById('obrazek').style.left='-'+200+'px';">test</a>
</body>
</html>
***

prip. si pro to napsat malinkatou js fci-cku ;)

-- 

-h!-
http://www.hyneklipa.cz/
ICQ: 289612872
Received on Wed, 03 Nov 2004 13:34:48 +0100

This archive was generated by hypermail 2.1.8 : 03. 11. 2004, 13:34 CET