Categories

Lightbox

jQuery “FancyBox”

Lightbox, Working with jQuery scripts
  |  
March 17 2011
FancyBox is a tool for displaying images, HTML content and multi-media in a Mac-style “lightbox” that floats overtop of web page. JavaScript We should include jQuery framework, jquery.fancybox-1.3.1.pack and jquery.easing-1.3.pack by pointing src attribute in the script tag to those .js files. Initialization script we place in the <head> section. It initializes the link with the id #single_image There are…
Read More

“DarkBox” Lightbox

Lightbox
  |  
November 15 2010
This is a Lightbox Script. So-Called ‘Lightbox’, is a script used to display large images using modal dialogs, that gained widespread popularity due to its simple yet elegant style and easy implementation.

JavaScript
In order to make the script work, the index-#.html file with a slider should contain these lines of HTML code:

The script.js file contains these lines of …

Read More