Nasao sam sta mi treba, samo jednostavno ne znam kako da ga implementujem u flash okruzenje...
U pitanju je lightbox i to je ono sto zelim, no sajt u koji treba da uradim ovo o cemu raspravljamo je radjen komplet u flashu i ne znam jednostavno kodove za action script... Zna li neko kako da rijesim ovaj problem?
Code:
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
Code:
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>
Cijelo upustvo:
1. Lightbox v2.0 uses the Prototype Framework and Scriptaculous Effects Library. You will need to include these three Javascript files in your header.
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
2. Include the Lightbox CSS file (or append your active stylesheet with the Lightbox styles).
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
3. Check the CSS and make sure the referenced prevlabel.gif and nextlabel.gif files are in the right location. Also, make sure the loading.gif and closelabel.gif files as referenced near the top of the lightbox.js file are in the right location.
Part 2 - Activate
1. Add a rel="lightbox" attribute to any link tag to activate the lightbox. For example:
<a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>
[Ovu poruku je menjao davor.stankovic dana 23.08.2009. u 00:05 GMT+1]