BarackSlideshow – An elegant, lightweight slideshow script

This post discusses a project which has its own page. Please refer to BarackSlideshow for the most up-to-date information.

Demo

I guess pretty much everyone has seen Barack Obama’s website by now, which is clearly one of the prettiest of all candidates we’ve heard of so far. Not only is it an example of state-of-the-art design, but it’s also nice to navigate and interact with.

I decided to imitate the homepage slideshow. I had already experimented with similar animated lists, which allowed me to have it ready within minutes

The creation

I took my previous class (SlideList), and made a few changes here and there. It works with MooTools 1.2, and supports all kinds of shape transformations (top and left coordinates, and height and width properties), which means it can now be used with vertical, horizontal, or even irregular lists.

I extended it and came up with a new class that receives the images and loading spinner as parameters (note: it’s arguable whether this is the best decision OOP-wise, but due to the simplicity of this script, this was the right call)

The code

To ensure all images are loaded before the user makes any interaction, the MooTools Assets component is used.

The CSS plays a major role (as in every other animation-focused script). I suggest you analyze it carefully before implementing it in your applications or websites. You’ll probably need to adjust the ids, or use classes instead to keep your stylesheets clean.

The markup is meaningful and simple. Two lists are used (one for the images and the other for the links). The loading element is included in the HTML, but it’s probably better to inject it from the script directly.

The pictures

The beautiful pictures were taken from Flickr with permission of the owners, unless they were directly released for non-commercial use. Thanks vgm8383, dogonnit, M. TANIGUCHI, GustavoBuriola & others!

The demo

Click here to see it in action or go to the project page for download and other details.

  1. [...] BarackSlideshow – 一个简单且拥有漂亮界面的Mootools幻灯片和脚本,有淡入,淡出的效果。该幻灯片被使用在奥巴马的个人网站。通过实施MorphList来部署该应用,而且只需添加30行代码。 查看演示 查看教程 [...]

  2. [...] BarackSlideshow is an elegant, lightweight Mootools slideshow script inspired from Barack Obama Official [...]

  3. [...] It’s been some time since TextboxList got some attention. It is undoubtedly one of my most popular JavaScript projects, along with the famous Fancy Menu (MorphList) and its slideshow sibling, BarackSlideshow. [...]

  4. [...] It’s been some time since TextboxList got some attention. It is undoubtedly one of my most popular JavaScript projects, along with the famous Fancy Menu (MorphList) and its slideshow sibling, BarackSlideshow. [...]

  5. [...] BarackSlideshow – An elegant, lightweight slideshow script (updated!) [...]

  6. [...] two widely used scripts have been updated. BarackSlideshow now supports transition effects and can autoplay (requested by the community many [...]

  7. [...] first component I stumbled upon was the BarackSlideshow. I found this slide show script over at Devthought. Let me know how it works out for you should you decided to use [...]

  8. [...] 3. BarackSlideshow – An elegant, lightweight slideshow script [...]

  9. [...] gente ha visto el website de Barack Obama. El website de Barack Obama es muy sofisticado y bonito. BarackSlideshow es muy parecido al slideshow de el website de Barack Obama. Una gran herramienta para poner en tu [...]

  10. [...] ? ?? ?? ??? ? ????? ??? ???? ???????? ?? ?????? ??? ?? ?????? ?????, ??? ?? ??? ?? ???? ????? [...]

  11. [...] BarackSlideshow An elegant, lightweight slideshow script. It works with MooTools 1.2, and supports all kinds of shape transformations (top and left coordinates, and height and width properties), which means it can now be used with vertical, horizontal, or even irregular lists. [...]

  12. [...] Javascript kann man elegante Fotogalerien erstellen. devthought.com bietet eine sehr interessante Lösung an, die selbst Barack Obama benutzt. Die Fotogalerie wirkt [...]

  13. [...] BarackSlideshow An elegant, lightweight slideshow script. It works with MooTools 1.2, and supports all kinds of shape transformations (top and left coordinates, and height and width properties), which means it can now be used with vertical, horizontal, or even irregular lists. [...]

  14. [...] BarackSlideshowAn elegant, lightweight slideshow script. It works with MooTools 1.2, and supports all kinds of shape transformations (top and left coordinates, and height and width properties), which means it can now be used with vertical, horizontal, or even irregular lists. [...]

  15. [...] BarackSlideshow Un elegante y ligero script para realizar presentaciones de fotografías con MooTools 1.2. [...]

  16. [...] Devthought – Guillermo Rauch’s Blog » BarackSlideshow – An elegant, lightweight slideshow script (tags: webdesign tutorial web2.0 resources tools jquery photo javascript) [...]

  17. [...] BarackSlideshow An elegant, lightweight slideshow script. It works with MooTools 1.2, and supports all kinds of shape transformations (top and left coordinates, and height and width properties), which means it can now be used with vertical, horizontal, or even irregular lists. [...]

  18. [...] BarackSlideshowAn elegant, lightweight slideshow script. It works with MooTools 1.2, and supports all kinds of shape transformations (top and left coordinates, and height and width properties), which means it can now be used with vertical, horizontal, or even irregular lists. [...]

  19. [...] BarackSlideshow An elegant, lightweight slideshow script. It works with MooTools 1.2, and supports all kinds of shape transformations (top and left coordinates, and height and width properties), which means it can now be used with vertical, horizontal, or even irregular lists. [...]

  20. [...] BarackSlideshowAn elegant, lightweight slideshow script. It works with MooTools 1.2, and supports all kinds of shape transformations (top and left coordinates, and height and width properties), which means it can now be used with vertical, horizontal, or even irregular lists. [...]

  21. [...] Ba­ra­ck­S­lid­es­ho­wA­n­­ eleg­a­n­­t, lig­htweig­ht slideshow scrip­t. It works with MooTools 1.2, a­n­­d su­p­p­orts a­ll kin­­ds of­ sha­p­e tra­n­­sf­orma­tion­­s (top­ a­n­­d lef­t coordin­­a­tes, a­n­­d heig­ht a­n­­d width p­rop­erties), which mea­n­­s it ca­n­­ n­­ow be u­sed with vertica­l, horiz­on­­ta­l, or even­­ irreg­u­la­r lists. [...]

  22. [...] BarackSlideshowAn elegant, lightweight slideshow script. It works with MooTools 1.2, and supports all kinds of shape transformations (top and left coordinates, and height and width properties), which means it can now be used with vertical, horizontal, or even irregular lists. [...]

  23. [...] Devthought – Guillermo Rauch’s Blog » BarackSlideshow – An elegant, lightweight slideshow script BarackSlideshow (tags: javascript slideshow webdesign) [...]

  24. [...] BarackSlideshow Devthought ha creado un estilo elegante, ligero script de presentación de fotografías script llamado BarackSlideshow. Trabaja con MooTools 1,2, y soporta todos los tipos de transformaciones. VER DEMO VISITAR SITIO [...]

  25. [...] Rauch hat sich die Arbeit gemacht und das Script für die Slideshow auf der Webseite des delegierten US-Präsidentschaftskandidaten mit eigenen Ideen nachgebaut. Das Ergebnis kann sich sehen lassen und hält was es verspricht – [...]

  26. [...] lightweight script entitled BarackSlideshow inspired in the slideshow showed in the presidential candidate Barack [...]

  27. [...] Devthought – Guillermo Rauch’s Blog » BarackSlideshow – An elegant, lightweight slideshow script [...]

  28. [...] DevthoughtFormat: js, cssDownload Diese Icons verzweigen auf soziale Netzwerke bei denen Nutzer neue Inhalte finden und mit anderen [...]

  29. [...] element is included in the HTML, but it’s probably better to inject it from the script directly. You can download the files for this slideshow at Guillermo’s Blog at devthought.com Bookmark [...]

  30. [...] much everyone has seen Barack Obama’s website by now, which is clearly one of the prettiest of all candidates we’ve heard of so far. Not only [...]

  31. [...] BarackSlideshow est un élégant diaporama écrit en javascript et basé sur le framework Mootools (version 1.2). [...]

  32. [...] BarackSlideshow – An elegant, lightweight slideshow script Imitation of slideshow from BarackObama.com (tags: slideshow javascript) [...]

  33. [...] basado en el “feature content gallery” de WPElements y el Barack Slideshow de Devtought, sin duda el resultado es [...]

  34. [...] would like to share this plugin i uploaded yesterday on my blog. It has been created using the Obamaslideshow from Devthought and put to work with Wordpress for [...]

  35. [...] Website : Barackslideshow : Mootools slideshow [...]

  36. [...] a apărut BarackSlideshow, un script bazat pe MooTools, şi care are o putere mare de generalitate, în sensul că lista ce [...]

  37. [...] à cette adresse http://devthought.com/wp-content/moogets/BarackSlideshow/demo.html son nom est BarackSlideshow, et oui il s’inspire du site du fameux Barack [...]