Light box - úplně jednoduchý, nejede
Ahoj.
Implementuji úplně primitivní light box v JavaScriptu:
Jeho implementace se skládá jen ze dvou kroků:
Add the following lines to the <head> section of your HTML document:
<script type="text/javascript" language="javascript" src="lytebox.js"></script>
<link rel="stylesheet" href="lytebox.css" type="text/css" media="screen" />
Step 4: Activate Lytebox content by using class="lytebox". See the examples below.
Jedná se o tento light-box:
http://lytebox.com/howTo.php
Můj zkopírovaný nefunkční příklad je zde:
http://demo-manual.cz.vs.admis.cz/test_light.php