Skip to main content

Popularity Report

Total Popularity Score: 0

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Rank

Bookmark History

Saved by 130 people (-26 private), first by anonymouse user on 2008-01-14


Public Comment

on 2008-01-16 by angelaww

相册的JAVA程序

Public Sticky notes

Lightview was built to change the way you overlay images on a website. * Clean: Designed to compliment your images. * Fast: Smart image preloading. * Easy to customize: You don’t even have to know CSS. * Rounded: Adjustable rounded corners, without PNGs. * Smart resizing: Images will always fit on your screen. * Slideshow: One button slideshow. * Effects: Using Scriptaculous.Works on all modern browser.

Highlighted by julius_c

license

Highlighted by mvance

Installation

Setup your doctype

Your document needs a doctype, I recommend using a Transitional doctype. At the top of your document above your html tag add the following and make sure there's nothing above it.

Highlighted by bbelbas

Lightview was built to change the way you overlay content on a website.

Highlighted by bbelbas

Upload all files from the lightview package to your server: Javascript, CSS and the images.

Highlighted by bbelbas

Add Lightview below these libraries, the correct order of the javascript files is as in the example below.

Highlighted by bbelbas

<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js'></script> <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.2/scriptaculous.js'></script> <script type='text/javascript' src='js/lightview.js'></script>

Highlighted by bbelbas

Add lightview.css to your header.

Highlighted by bbelbas

Quicktime, Flash, Inline, Ajax & Iframe views

Highlighted by bbelbas