
This dynamic JavaScript slideshow is feature packed and under 5KB. It is the long awaited update to my previous script here. A few new features include description support, link support, no naming restrictions, portrait image support, graceful degradation and active thumbnail status. This script was built ground-up and will soon be included at scriptiny where all my scripts will be added as they are updated, debugged and incorporated in the new TINY namespace. I will also document the scripts more thoroughly and publish multiple examples. I will continue to publish scripts there and support as I have time via the new community forum. I will try and post more frequently here on a wide range of web development related topics.
Here is an example of the markup to build a slideshow…
<ul id="slideshow"> <li> <h3>Image One</h3> <span>photos/image-one.jpg</span> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ut urna. Mauris nulla. Donec nec mauris. Proin nulla dolor, bibendum et, dapibus in, euismod ut, felis.</p> <a href="#"><img src="thumbnails/image-one.jpg" alt="Image One" /></a> </li> <li> <h3>Image Two</h3> <span>photos/image-two.jpg</span> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ut urna. Mauris nulla. Donec nec mauris. Proin nulla dolor, bibendum et, dapibus in, euismod ut, felis.</p> <img src="thumbnails/image-two.jpg" alt="Image Two" /> </li> </ul>
Each “li” above represents an image. The “h3″ content becomes the title for the image and the “p” the description. The “span” content is the path to the fullsize image. If you want to link the image wrap an “a” tag around the “img” tag which is the thumbnail image.
The following are the parameters that can be set on the object… more complete documentation will follow soon. Default values are displayed as (10) and recommended values as [1-20].
Images
imgSpeed = int; (10)
navOpacity = int; (25)
navHover = int; (70)
letterbox = “string”; (#000) required color for letterbox on portrait images
link = “string”; class name for link hover state
Auto Slideshow
auto = boolean; (false)
speed = int; (10)
Information Dialog
info = boolean; (true)
infoID = “string”; required for information dialog
infoSpeed = int; (10)
Thumbnail Slider
thumbs = “string”; id of thumbnail slider, disabled if not set
scrollSpeed = int; [1-20] (5)
thumbOpacity = int; [0-100] (70)
active = “string”; required for thumbnail active border
spacing = int; (5) spacing between thumbnails
left = “string”; id of left navigation link, required for slider
right = “string”; id of right navigation link, required for slider
Here is an example calling the script…
var slideshow=new TINY.slideshow("slideshow");
window.onload=function(){
slideshow.auto=true;
slideshow.speed=5;
slideshow.link="linkhover";
slideshow.info="information";
slideshow.thumbs="slider";
slideshow.left="slideleft";
slideshow.right="slideright";
slideshow.scrollSpeed=4;
slideshow.spacing=5;
slideshow.active="#fff";
slideshow.init('slideshow','image','imgprev','imgnext','imglink');
}
The init function takes 5 parameters (id of the slideshow content placeholder, the id of the image placeholder, the id of the previous image placeholder, the id of the next image placeholder, the id of the image link placeholder).
This script has been tested in all major browsers and is available free of charge for both personal or commercial projects under the creative commons license. Community support is available here. Paid support is also available, contact me for details.

Pingback: javascript Slideshow uygulaması sadece 5 KB! « basarozcan
Pingback: links for 2008-12-22 at DeStructUred Blog
Pingback: Free JavaScript Slideshow
Pingback: 5 KB ile ücretsiz Javascript Slayt Gösterisi
Pingback: Animated Javascript Slideshow | display:inline
Pingback: links for 2008-12-25 « 個人的な雑記
Pingback: Slevin Web » Slideshow Gratuita in Javascript
Pingback: Free JavaScript Slideshow (Lightweight-5kb) | Greepit.com - A Handsome Design Blog
Pingback: Web 2.0 Безплатен JavaScript Slideshow само 5kb
Pingback: writing with crayons » Wp-popeye and wp-tinyslideshow plugin
Pingback: Free Javascript Slideshow Under 5KB | DG | RCG
Pingback: Quicklinks 02.01.2009 - Thorstens Blog
Pingback: [Web] 連結分享 « 網站製作學習誌
Pingback: Hermoso y sencillo javascript TinySlideShow | Summarg
Pingback: Ajaxian » Content visualization techniques and views
Pingback: Content visualization techniques and views | How2Pc
Pingback: 11 scripts para hacer Slideshow | La pechuga del Pollo
Pingback: Muestrario “Slideshow” animado con JavaScript « VIDEOSESION.studio - informática, tecnología, educación, diseño web, diseño gráfico y más…
Pingback: Hazır Web Araçları | MuGi Graphic System
Pingback: Content visualization techniques and views « LocalLab : Foire aux Infos
Pingback: 57+ Free Image Gallery, Slideshow And Lightbox Solutions | 1stwebdesigner - Love In Design
Pingback: Slide Show « KARADABAN’s Blog
Pingback: Top 30 Javascript Slideshows, Sliders and Carousels « Kolmex
Pingback: Creating Javascript Images Slide Show - WebStockBox
Pingback: 100 Best JavaScript Resources | Spoonfed Design
Pingback: 人目をひきつける画像ギャラリーを作るスクリプト | 札幌のホームページ制作 Webデザイン会社 アイタス|CMS構築|SEO・SEM|ビジネスブログ Movable Type・WordPressカスタマイズ
Pingback: Recursos: JavaScript Slideshow - Grátis e Dinâmico | Criatividade Visual
Pingback: 6 New AJAX and JavaScript Slideshows | PaulSpoerry.com
Pingback: .::Owen Foster::. » Post Topic » Leigeber Web Development Blog
Pingback: The best JavaScript image galleries | Website Building Tutorials
Pingback: Webmasterkit.info » Tiny Javascript Gallery
Pingback: 50 Excellent Image Galleries You Can Use Today - Nettuts+
Pingback: 50 Excellent Image Galleries You Can Use Today » Follow Me | twitter.com/riku
Pingback: Designfeed.me » 50 Excellent Image Galleries You Can Use Today
Pingback: Apuntes de fotografía » Blog Archive » 50 Excellent Image Galleries You Can Use Today
Pingback: 50 Excellent Image Galleries You Can Use Today « Nvmindmedia
Pingback: 50 Excellent Image Galleries You Can Use Today « NVMIND
Pingback: 5 nützliche Stand-Alone Javascript-Widgets | tagdocs.de
Pingback: 57 Galerias Gratis | Lo Pongo Acá
Pingback: 57+ Free Image Gallery, Slideshow And Lightbox Solutions | Inseven Designs
Pingback: 11 Smart Javascript Techniques For Manipulating Content | Nomessi