View previous topic :: View next topic |
Author |
Message |
jurka
![](images/avatars/10672694864322dc8029823.gif)
Joined: 26 Aug 2004 Posts: 1088 Location: Zagreb
|
Posted: 17.12.2008 02:06 Post subject: Multibox, lightbox, js i slično |
|
|
Našao sam lightbox klona kojeg želim staviti na site. Zašto klona? Zato što želim mogućnost prikazivanja slika i VIDEA.
Nakon traženja po Googleu, naišao sam na multibox koji bi mi trebao riješiti sve probleme. E pa nije! Zato kaj mi prčkanje po kodu nije jača strana. Pa pomagajte.
Tu je i link na site gdje bi to stavio. Gdje griješim??? |
_________________ Jedan šest | Behance | Vimeo |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
niksy
![](images/avatars/4850089054c55346fd52b6.gif)
Joined: 29 Sep 2003 Posts: 727
|
Posted: 17.12.2008 02:32 Post subject: |
|
|
Nedostaje ti ovaj dio u head-u:
Code: | <script type="text/javascript">
new MultiBox('multibox');
</script>
|
gdje je 'multibox' ime klase na anchoru, odnosno u tvom slucaju to je 'mb'. Pogledaj si na sluzbenom siteu plugina za dodatne opcije. |
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
jurka
![](images/avatars/10672694864322dc8029823.gif)
Joined: 26 Aug 2004 Posts: 1088 Location: Zagreb
|
Posted: 17.12.2008 03:00 Post subject: |
|
|
evo, stavio i to al ne radi??? |
_________________ Jedan šest | Behance | Vimeo |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
jurka
![](images/avatars/10672694864322dc8029823.gif)
Joined: 26 Aug 2004 Posts: 1088 Location: Zagreb
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
niksy
![](images/avatars/4850089054c55346fd52b6.gif)
Joined: 29 Sep 2003 Posts: 727
|
Posted: 17.12.2008 18:38 Post subject: |
|
|
Probaj staviti poslije linkova sa tom klasom. |
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
zytzagoo mi3.crew
![](images/avatars/298588548884561e5609.gif)
Joined: 25 Aug 2003 Posts: 1842 Location: Zagreb, Hrvatska
|
Posted: 18.12.2008 20:24 Post subject: |
|
|
Krivo ga pozivas. new Multibox('blabla') treba napraviti nakon sto se sve potrebno ucitalo.
S mootolsima bi to islo nesto tipa:
Code: | <script type="text/javascript">
var box;
window.addEvent('domready', function(){
box = new MultiBox('multibox');
});
</script> |
|
_________________ [+]I[+]am[+]my[+]own[+]religion[+] |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|