Comunitatea uCoz Configurări ale sistemului uCoz Chestiuni generale Cum adaug o bara cu ultimile postari |
Cum adaug o bara cu ultimile postari |
contele,
1) ti se cere sa pui Cod <script type="text/javascript" src="jquery-1.4.2.min.js"></script> <script type="text/javascript" src="jquery.liquidcarousel.js"></script> Ti-a, zis sa-l pui intre <head> si </head> tot aici in instructiunile de instalare jos este link pentru a descarca fisiere jquery css si imaginile care trebu sa le incarci pe site-ul tau. Uite instructiuni cum se face corect: http://forum.ucoz.ro/forum/5-3300-1 punctu 4. Tot aici te sfatui sa modifici calea. In instructiune se sugereaza ca jquery sa fie incarcate in radacina site-ului eu te sfatui sa creezi un folder /js/ in care sa incarci aceste fisiere, in urma careia codul de mai sus va arata asa: Cod <script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="/js/jquery.liquidcarousel.js"></script> 2. imaginile tot nu le-ai incarcat indicand o cale corecta. 3. ti se cere sa instalezi inca un script pe care nu-l ai pe site. Intr-un final: intre <head> si </head> pui: Cod <link type='text/css' rel='stylesheet' href='/css/liquidcarousel.css' /> <script type="text/javascript" src="/js/jquery.liquidcarousel.js"></script> <script type="text/javascript"> <!-- $(document).ready(function() { $('#liquid1').liquidcarousel({height:129, duration:100, hidearrows:true}); }); --> </script> urmareste bine calea conform tutorialului meu la punctu 4. Unde vrei sa apara scriptul pui: Cod <div id="liquid1" class="liquid"> <span class="previous"></span> <div class="wrapper"> <ul> <li><a href="#" title="image 01"><img src="/images/01.jpg" width="88" height="126" alt="image 01" border="0" /></a></li> <li><a href="#" title="image 02"><img src="/images/02.jpg" width="88" height="126" alt="image 02" border="0" /></a></li> <li><a href="#" title="image 03"><img src="/images/03.jpg" width="88" height="126" alt="image 03" border="0" /></a></li> <li><a href="#" title="image 04"><img src="/images/04.jpg" width="88" height="126" alt="image 04" border="0" /></a></li> <li><a href="#" title="image 05"><img src="/images/05.jpg" width="88" height="126" alt="image 05" border="0" /></a></li> <li><a href="#" title="image 06"><img src="/images/06.jpg" width="88" height="126" alt="image 06" border="0" /></a></li> <li><a href="#" title="image 07"><img src="/images/07.jpg" width="88" height="126" alt="image 07" border="0" /></a></li> <li><a href="#" title="image 08"><img src="/images/08.jpg" width="88" height="126" alt="image 08" border="0" /></a></li> <li><a href="#" title="image 09"><img src="/images/09.jpg" width="88" height="126" alt="image 09" border="0" /></a></li> <li><a href="#" title="image 10"><img src="/images/10.jpg" width="88" height="126" alt="image 10" border="0" /></a></li> <li><a href="#" title="image 11"><img src="/images/11.jpg" width="88" height="126" alt="image 11" border="0" /></a></li> <li><a href="#" title="image 12"><img src="/images/12.jpg" width="88" height="126" alt="image 12" border="0" /></a></li> <li><a href="#" title="image 13"><img src="/images/13.jpg" width="88" height="126" alt="image 13" border="0" /></a></li> <li><a href="#" title="image 14"><img src="/images/14.jpg" width="88" height="126" alt="image 14" border="0" /></a></li> <li><a href="#" title="image 15"><img src="/images/15.jpg" width="88" height="126" alt="image 15" border="0" /></a></li> </ul> </div> <span class="next"></span> </div> urmareste tutorialul contele, scriptul dat de Raver ( http://www.nikolakis.net/liquidcarousel/ ) e bun, acum ca sa-l implementezi in uCoz, urmareste acest tutorial: http://forum.ucoz.ro/forum/4-3340-1 eu am reusit? http://maxrom.ucoz.ro/index/0-4 |
| |||