Submit your widget

flash-like image/photo gallery with jquery

Created 12 years ago   Views 23386   downloads 4928    Author mudaimemo
flash-like image/photo gallery with jquery
View DemoDownload
Share |

jQuery Gallery Plugin take a grouping of images and turn it into an flash-like image/photo gallery.

Starting with jQuery Gallery is really easy!


Include the script and stylesheets in your document (you will need to make sure the css and js file are on your server, and adjust the paths in the script and link tag)

<link href="" type="text/css" rel="stylesheet" />
<script type="text/javascript" src=""></script>


  interval: 5500,
  height: '400px',
  width: '500px'


<div id="id_of_gallery" class="gallery">
  <ul class="galleryBar">
    <li><a href="picture1.jpg" title="demo #1."><img src="thumbnail1.jpg" title="image1" /></a></li>
    <li><a href="picture2.jpg" title="demo #2."><img src="thumbnail2.jpg" title="image2" /></a></li>
    <li><a href="picture3.jpg" title="demo #3."><img src="thumbnail3.jpg" title="image4" /></a></li>

The title attribute of img will be picture's title.

The title attribute of a will be picture's description.


  position: relative;
  overflow: hidden;
  background-color: #666;
  padding: 12px;

  /* Add height & width properties to fix the size of gallery. */
  height: 400px; 
  width: 500px;

Using rel attribute to display description.


<div id="gallery" class="gallery">
    <li><a href="picture.jpg" rel="id_of_description"><img src="tumbnail.jpg" title="image3" /></a></li>

<div id="id_of_description" style="display:none;">
  <p>This is a description of <i>picture.jpg</i>.</p>

The article source: