Submit your widget

lightview--jQuery lightbox effect

Created 6 years ago   Views 31263   downloads 6207    Author nickstakenburg
lightview--jQuery lightbox effect
View DemoDownload 188.8 KB
Share |

First make sure a valid doctype is set as the very first line on the page. It's recommended to use the HTML5 doctype:

<!DOCTYPE html>

Include jQuery 1.4.4 or above in the header. Going with the latest 1.7.x release is recommended for optimal performance, the Google CDN can be used for this.

Download Lightview and upload the files from the package to your server. Include lightview.js and its dependancies1 below jQuery. Also include lightview.css and make sure the include paths point to the locations where the files have been uploaded.

Adding SWFObject 2.2+ is only required when making use of flash. The Google CDN can also be used to include this file.

<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>
<!--[if lt IE 9]>
  <script type="text/javascript" src="/js/excanvas/excanvas.js"></script>
<script type="text/javascript" src="/js/spinners/spinners.js"></script>
<script type="text/javascript" src="/js/lightview/lightview.js"></script>

<link rel="stylesheet" type="text/css" href="/css/lightview/lightview.css"/>

Read more: