Widget:Slideshow: Difference between revisions

From CSDMS
No edit summary
No edit summary
Line 14: Line 14:
For example:
For example:
<pre>
<pre>
<div class="slideshow">
<div class="slideshow-wrapper">
[[File:Votingfrontpage.jpg]]
[[File:Votingfrontpage.jpg]]
[[File:Frontpage_meeting_madeby_TEDxBoulder.jpg]]
[[File:Frontpage_meeting_madeby_TEDxBoulder.jpg]]

Revision as of 11:17, 12 July 2011

This widget creates a slideshow from a series of images contained in a div with the css selector slideshow applied.

Dependencies:

/mediawiki/skins/csdmsskin_new/jquery-slideshow/js/jquery-slideshow.min.js


Parameters include:

  • width - width of images
  • height - height of images

For example:

<div class="slideshow-wrapper">
[[File:Votingfrontpage.jpg]]
[[File:Frontpage_meeting_madeby_TEDxBoulder.jpg]]
[[File:SummerInstitute2011frontpage.jpg]]
</div>
{{#Widget:Slideshow
|width=680
|height=320
}}


Votingfrontpage.jpg Frontpage meeting madeby TEDxBoulder.jpg SummerInstitute2011frontpage.jpg