Author Topic: Colorbox 1.6  (Read 443 times)

instantflorian

  • Guest
Colorbox 1.6
« on: April 23, 2015, 09:08:17 AM »
You will find atteched an updated version of the useful colorbox module which was once created by NorHei.

I've replaced the stylesheets and the javascript so that the snippet works with modern jquery versions and css grids.
To get it working, just install it like any other module.

There are 5 different styles, to select one, modify the line
Code: [Select]
var  design='1';in the frontend.js of the module.

In your template, you have to include the following lines before the </head> tag:
Code: [Select]
<?php
register_frontend_modfiles
('css');
register_frontend_modfiles('jQuery');
register_frontend_modfiles('js');
?>


To open enlarged views of small pictures:

  • Prepare small + large image offline
  • Upload them into the media folder or any subfolder of it
  • In a WYSIWYG section, use the "add image"-button of the editor to place the small image
  • Use afterwards the "add link" button to add a link to the large image to the small image
  • Change to the "Advanced" (german: "Erweitert") tab of the link dialogue and give the link the class "colorbox"

Have fun
-Florian.

Offline hgs

  • Betatester
  • **
  • Posts: 902
    • EFG MG
Re: Colorbox 1.6
« Reply #1 on: April 23, 2015, 01:05:01 PM »
Thank you for the review and the cool effects (1-5). :-D
Tried them all and all work :-D
(Into English by googel)
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

Offline jacobi22

  • Posts: 5141
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Colorbox 1.6
« Reply #2 on: January 17, 2016, 02:51:10 PM »
Leider ist die ZIP-Datei oben beschädigt. In der Anlage obige Modul-Version 1.6
Etwas ist nur unmöglich, wenn man glaubt, dass es das ist!

 

postern-length