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="marck49" data-source="post: 1969227" data-attributes="member: 302817"><p>Hallo,</p><p>ich habe folgendes vor:</p><p>ich möchte zwei galerien auf einer webseite einfügen, die geteilt mit der fancybox angezeigt werden.</p><p>Im head-bereich:</p><p>[CODE]<script type="text/javascript" src="></p><p> <script></p><p> !window.jQuery && document.write('<script src="jquery-1.4.3.min.js"><\/script>');</p><p> </script></p><p> <script type="text/javascript" src="./fancybox/jquery.mousewheel-3.0.4.pack.js"></script></p><p> <script type="text/javascript" src="./fancybox/jquery.fancybox-1.3.4.pack.js"></script></p><p> <link rel="stylesheet" type="text/css" href="./fancybox/jquery.fancybox-1.3.4.css" media="screen" /></p><p> <script type="text/javascript"></p><p> $(document).ready(function() {</p><p> /*</p><p> * Examples - images</p><p> */</p><p> $("a#example1").fancybox();</p><p> $("a#example2").fancybox({</p><p> 'overlayShow' : false,</p><p> 'transitionIn' : 'elastic',</p><p> 'transitionOut' : 'elastic'</p><p> });</p><p> $("a#example3").fancybox({</p><p> 'transitionIn' : 'none',</p><p> 'transitionOut' : 'none'</p><p> });</p><p> $("a#example4").fancybox({</p><p> 'opacity' : true,</p><p> 'overlayShow' : false,</p><p> 'transitionIn' : 'elastic',</p><p> 'transitionOut' : 'none'</p><p> });</p><p> $("a#example5").fancybox();</p><p> $("a#example6").fancybox({</p><p> 'titlePosition' : 'outside',</p><p> 'overlayColor' : '#000',</p><p> 'overlayOpacity' : 0.9</p><p> });</p><p> $("a#example7").fancybox({</p><p> 'titlePosition' : 'inside'</p><p> });</p><p> $("a#example8").fancybox({</p><p> 'titlePosition' : 'over'</p><p> });</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> /*</p><p> * Examples - various</p><p> */</p><p> $("#various1").fancybox({</p><p> 'titlePosition' : 'inside',</p><p> 'transitionIn' : 'none',</p><p> 'transitionOut' : 'none'</p><p> });</p><p> $("#various2").fancybox();</p><p> $("#various3").fancybox({</p><p> 'width' : '75%',</p><p> 'height' : '75%',</p><p> 'autoScale' : false,</p><p> 'transitionIn' : 'none',</p><p> 'transitionOut' : 'none',</p><p> 'type' : 'iframe'</p><p> });</p><p> $("#various4").fancybox({</p><p> 'padding' : 0,</p><p> 'autoScale' : false,</p><p> 'transitionIn' : 'none',</p><p> 'transitionOut' : 'none'</p><p> });</p><p> });</p><p> </script>[/CODE]</p><p> </p><p>[HTML]</p><p> </p><p><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="example_group" href="./example/bild04.jpg" title="Zweite Galerie"><img border="0" alt="example1" src="./example/bild-thub04.jpg" /></a></p><p><a rel="example_group" href="./example/bild05.jpg" title="Zweite Galerie"><img border="0" alt="example2" src="example/bild-thub05.jpg" /></a></p><p><a rel="example_group" href="./example/bild06.jpg" title="Zweite Galerie"><img border="0" alt="example3" src="./example/bild-thub06.jpg" /></a></p><p></p></p><p> </p><p>[/HTML]</p><p> </p><p>Ich möchte erreichen das die bilder 1-3 in einer Galerie mit fancybox angezeigt werden und die bilder 4-6 in einer zweiten galerie mit fancybox angezeigt werden.</p><p> </p><p>Das ist für euch sicher eine einfache Sache, für mich ein Problem</p><p> </p><p>Vielen dank und gruß</p><p>marck</p></blockquote><p></p>
[QUOTE="marck49, post: 1969227, member: 302817"] Hallo, ich habe folgendes vor: ich möchte zwei galerien auf einer webseite einfügen, die geteilt mit der fancybox angezeigt werden. Im head-bereich: [CODE]<script type="text/javascript" src="> <script> !window.jQuery && document.write('<script src="jquery-1.4.3.min.js"><\/script>'); </script> <script type="text/javascript" src="./fancybox/jquery.mousewheel-3.0.4.pack.js"></script> <script type="text/javascript" src="./fancybox/jquery.fancybox-1.3.4.pack.js"></script> <link rel="stylesheet" type="text/css" href="./fancybox/jquery.fancybox-1.3.4.css" media="screen" /> <script type="text/javascript"> $(document).ready(function() { /* * Examples - images */ $("a#example1").fancybox(); $("a#example2").fancybox({ 'overlayShow' : false, 'transitionIn' : 'elastic', 'transitionOut' : 'elastic' }); $("a#example3").fancybox({ 'transitionIn' : 'none', 'transitionOut' : 'none' }); $("a#example4").fancybox({ 'opacity' : true, 'overlayShow' : false, 'transitionIn' : 'elastic', 'transitionOut' : 'none' }); $("a#example5").fancybox(); $("a#example6").fancybox({ 'titlePosition' : 'outside', 'overlayColor' : '#000', 'overlayOpacity' : 0.9 }); $("a#example7").fancybox({ 'titlePosition' : 'inside' }); $("a#example8").fancybox({ 'titlePosition' : 'over' }); $("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>'; } }); /* * Examples - various */ $("#various1").fancybox({ 'titlePosition' : 'inside', 'transitionIn' : 'none', 'transitionOut' : 'none' }); $("#various2").fancybox(); $("#various3").fancybox({ 'width' : '75%', 'height' : '75%', 'autoScale' : false, 'transitionIn' : 'none', 'transitionOut' : 'none', 'type' : 'iframe' }); $("#various4").fancybox({ 'padding' : 0, 'autoScale' : false, 'transitionIn' : 'none', 'transitionOut' : 'none' }); }); </script>[/CODE] [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="example_group" href="./example/bild04.jpg" title="Zweite Galerie"><img border="0" alt="example1" src="./example/bild-thub04.jpg" /></a> <a rel="example_group" href="./example/bild05.jpg" title="Zweite Galerie"><img border="0" alt="example2" src="example/bild-thub05.jpg" /></a> <a rel="example_group" href="./example/bild06.jpg" title="Zweite Galerie"><img border="0" alt="example3" src="./example/bild-thub06.jpg" /></a> </p> [/HTML] Ich möchte erreichen das die bilder 1-3 in einer Galerie mit fancybox angezeigt werden und die bilder 4-6 in einer zweiten galerie mit fancybox angezeigt werden. Das ist für euch sicher eine einfache Sache, für mich ein Problem Vielen dank und gruß marck [/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