Ajax Updates |
BarackSlideshow – Tiny Lightweight Slideshow Script Posted: 01 Dec 2009 07:26 AM PST BarackSlideshow is a very tiny and lightweight slideshow script, that takes the power of MorphList to enhance visualization and navigation of the images. * Auto slideshow Browser Compatibility <div id="slideshow"> <span id="loading">Loading</span> <ul id="pictures"> <li><img src="../Source/images/cities/melbourne.jpg" alt="Melbourne" title="Melbourne" /></li> <li><img src="../Source/images/cities/buenos_aires.jpg" alt="Buenos Aires" title="Buenos Aires" /></li> <li><img src="../Source/images/cities/urubamba.jpg" alt="Urubamba" title="Urubamba" /></li> </ul> <ul id="menu"> <li><a href="../Source/images/cities/melbourne.jpg">Melbourne</a></li> <li><a href="../Source/images/cities/buenos_aires.jpg">Buenos Aires</a></li> <li><a href="../Source/images/cities/urubamba.jpg">Urubamba</a></li> </ul> </div> BarackSlideshow is initialized as follows: window.addEvent('domready', function(){ new BarackSlideshow('menu', 'pictures', 'loading', {transition: 'slide-left', auto: true}); }); Options ![]() Related Listings:
| |||||
bgStretcher – Backgrounds Stretcher using Jquery Posted: 01 Dec 2009 06:52 AM PST bgStretcher (Background Stretcher) is a jQuery plug-in which allows you to add a large image (or a set of images) to the background of your web page and will proportionally resize the image(s) to fill the entire window area. The plug-in will work as a slideshow if multiple images mode is used (the speed and duration for the slideshow is configurable). 1. Unobtrusive script, simple to setup How to Use 1. Download bgStretcher script. The package already contains the jQuery framework. 2. Add the following code to your < head >…< /head > tag to connect jQuery framework, bgStretcher plugin and CSS. (Make sure paths to files are correct.) <script type="text/javascript" src="../jquery-1.3.2.min.js"></script> <script type="text/javascript" src="../bgstretcher.js"></script> <link rel="stylesheet" href="../bgstretcher.css" /> 3. Use the following code to initialize the bgStretcher (see Options section below for details): <script type="text/javascript"> $(document).ready(function(){ // Initialize Backgound Stretcher $(document).bgStretcher({ images: ['images/sample-1.jpg', 'images/sample-2.jpg', 'images/sample-3.jpg', 'images/sample-4.jpg'], imageWidth: 1024, imageHeight: 768 }); }); </script> 4. Assign the content of your page to a DIV with the following CSS styles (we used a DIV#page for this sample): #page { z-index: 2; position: relative; } 5. Insert content of your page inside this DIV: <body> <div id="page"> Your content goes here... </div> </body> That's it Tested in: ![]() Related Listings:
|
You are subscribed to email updates from Ajax Updates To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.