PSD-Tutorials.de
Forum für Design, Fotografie & Bildbearbeitung
Tutkit
Agentur
Hilfe
Kontakt
Start
Forum
Aktuelles
Besonderer Inhalt
Foren durchsuchen
Tutorials
News
Anmelden
Kostenlos registrieren
Aktuelles
Suche
Suche
Nur Titel durchsuchen
Von:
Menü
Anmelden
Kostenlos registrieren
App installieren
Installieren
JavaScript ist deaktiviert. Für eine bessere Darstellung aktiviere bitte JavaScript in deinem Browser, bevor du fortfährst.
Du verwendest einen veralteten Browser. Es ist möglich, dass diese oder andere Websites nicht korrekt angezeigt werden.
Du solltest ein Upgrade durchführen oder einen
alternativen Browser
verwenden.
Antworten auf deine Fragen:
Neues Thema erstellen
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
PHP, Javascript, jQuery, Ajax, nodeJS, MySQL...
Fancybox einbinden
Beitrag
<blockquote data-quote="Jonnsn" data-source="post: 1969259" data-attributes="member: 73967"><p><strong>AW: Fancybox einbinden</strong></p><p></p><p>Hi,</p><p></p><p><a href="http://fancybox.net/howto" target="_blank">http://fancybox.net/howto</a></p><p>Du musst bei dir also in etwa so etwas machen:</p><p>[HTML]<p></p><p><a rel="example_group" href="./example/bild01.jpg" title="Erste Galerie"><img border="0" alt="example1" src="./example/bild-thub01.jpg" /></a></p><p><a rel="example_group" href="./example/bild02.jpg" title="Erste Galerie"><img border="0" alt="example2" src="example/bild-thub02.jpg" /></a></p><p><a rel="example_group" href="./example/bild03.jpg" title="Erste Galerie"><img border="0" alt="example3" src="./example/bild-thub03.jpg" /></a></p><p></p></p><p> </p><p><p></p><p><a rel="meineGruppe2" href="./example/bild04.jpg" title="Zweite Galerie"><img border="0" alt="example1" src="./example/bild-thub04.jpg" /></a></p><p><a rel="meineGruppe2" href="./example/bild05.jpg" title="Zweite Galerie"><img border="0" alt="example2" src="example/bild-thub05.jpg" /></a></p><p><a rel="meineGruppe2" href="./example/bild06.jpg" title="Zweite Galerie"><img border="0" alt="example3" src="./example/bild-thub06.jpg" /></a></p><p></p>[/HTML]und im Head:</p><p>[HTML]<script type="text/javascript"></p><p> $(document).ready(function() {</p><p> $("a[rel=example_group]").fancybox({</p><p> 'transitionIn' : 'none',</p><p> 'transitionOut' : 'none',</p><p> 'titlePosition' : 'over',</p><p> 'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {</p><p> return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';</p><p> }</p><p> });</p><p> $("a[rel=meineGruppe2]").fancybox({</p><p> 'transitionIn' : 'none',</p><p> 'transitionOut' : 'none',</p><p> 'titlePosition' : 'over',</p><p> 'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {</p><p> return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';</p><p> }</p><p> });</p><p> });</p><p> </script>[/HTML]Von Fancybox gibt es übrigens auch schon Version 2:</p><p><a href="http://fancyapps.com/fancybox/" target="_blank">http://fancyapps.com/fancybox/</a></p><p></p><p>Gruß</p></blockquote><p></p>
[QUOTE="Jonnsn, post: 1969259, member: 73967"] [b]AW: Fancybox einbinden[/b] Hi, [URL]http://fancybox.net/howto[/URL] Du musst bei dir also in etwa so etwas machen: [HTML]<p> <a rel="example_group" href="./example/bild01.jpg" title="Erste Galerie"><img border="0" alt="example1" src="./example/bild-thub01.jpg" /></a> <a rel="example_group" href="./example/bild02.jpg" title="Erste Galerie"><img border="0" alt="example2" src="example/bild-thub02.jpg" /></a> <a rel="example_group" href="./example/bild03.jpg" title="Erste Galerie"><img border="0" alt="example3" src="./example/bild-thub03.jpg" /></a> </p> <p> <a rel="meineGruppe2" href="./example/bild04.jpg" title="Zweite Galerie"><img border="0" alt="example1" src="./example/bild-thub04.jpg" /></a> <a rel="meineGruppe2" href="./example/bild05.jpg" title="Zweite Galerie"><img border="0" alt="example2" src="example/bild-thub05.jpg" /></a> <a rel="meineGruppe2" href="./example/bild06.jpg" title="Zweite Galerie"><img border="0" alt="example3" src="./example/bild-thub06.jpg" /></a> </p>[/HTML]und im Head: [HTML]<script type="text/javascript"> $(document).ready(function() { $("a[rel=example_group]").fancybox({ 'transitionIn' : 'none', 'transitionOut' : 'none', 'titlePosition' : 'over', 'titleFormat' : function(title, currentArray, currentIndex, currentOpts) { return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' ' + title : '') + '</span>'; } }); $("a[rel=meineGruppe2]").fancybox({ 'transitionIn' : 'none', 'transitionOut' : 'none', 'titlePosition' : 'over', 'titleFormat' : function(title, currentArray, currentIndex, currentOpts) { return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' ' + title : '') + '</span>'; } }); }); </script>[/HTML]Von Fancybox gibt es übrigens auch schon Version 2: [URL]http://fancyapps.com/fancybox/[/URL] Gruß [/QUOTE]
Bilder bitte
hier hochladen
und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Zitate einfügen…
Authentifizierung
Wenn ▲ = 5, ▼ = 2 und ■ = 7, was ist ▲ × ▼ + ■?
Antworten
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
PHP, Javascript, jQuery, Ajax, nodeJS, MySQL...
Fancybox einbinden
Oben