WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => jQuery => Topic started by: rcma on February 14, 2011, 11:01:58 AM

Title: How can i get Fancybox up and running???
Post by: rcma on February 14, 2011, 11:01:58 AM
Can someone tell me which steps i need to take to get fancybox to work with fck editor
I have tried the droplet, and even installed Jquery but nothing works can someone tell me what to do step by step to get it working would help me a lot!!!!

Title: Re: How can i get Fancybox up and running???
Post by: instantflorian on February 14, 2011, 11:35:32 AM
Here is a german tutorial (http://www.websitebakers.de/tutorials/topics/einbindung-der-fancybox.php) about integrating the fancybox, maybe that helps.

BR
-instantflorian.
Title: Re: How can i get Fancybox up and running???
Post by: rcma on February 14, 2011, 12:31:12 PM
Hi instantflorian i did all the given instructions as show in the tutorial you also have given
Installed the fancy box module and installed this code  <?php use_fancy_box(); ?> into my template.

But how do i get a fancybox to work on an image.
Title: Re: How can i get Fancybox up and running???
Post by: BlackBird on February 14, 2011, 12:52:05 PM
Quote
Konfiguration der FancyBox

Nach Installation und Einbindung stehen 5 Klassen standardmässig zur Verfügung:

      fb - verwendet die FancyBox mit den Defaultwerten, die in der include.php definiert sind
      pic_fb - für Bild-Links ohne abdunkeln des Hintergrundes, schließt bei Klick ins Bild
      pic1_fb - wie oben, jedoch mit  abgedunkeltem Hintergrund
      page_fb - für urls, schließt bei Klick auf Kreuz
      video_fb - Link auf Anker in aktueller Seite, z.B. für ein YouTube-video.

Diese Klassen können einfach folgendermaßen aktiviert werden:

Text oder Bild verlinken wie gewohnt
Im FCK-Editor bei Eigenschaften des Links auf Erweitert gehen,  Klasse eintragen, speichern, fertig

 

Title: Re: How can i get Fancybox up and running???
Post by: rcma on February 14, 2011, 01:31:46 PM
Ok i have it up and running apperantly I selected the wrong settings and fields in the fck editor.
First link an image to another one then go back and use edit link to set te parameter for the fancybox.

Thx for the help!!!!