A Drupal 7 input filter that turns a <div#slideshow> <img> HTML combo into a simple JS slide show. Assumes jQuery present.
- Git clone this repo into
sites/all/modules
- Set Administer soc js slideshow permission
- Turn on the Input filter
- Set where control placement and what is used as first, previous, next, and last text or images.
In the body content area, populate a <div>
with <img>
tags and add the filter trigger [slideshow:#divid]
.
[slideshow:#slideshow]
<div id="slideshow"><img class="active" src="/sites/default/files/utopia-imports/images/epics/icm/normal/Epics_ICS_001.jpg">
<img src="002.jpg">
<img src="003.jpg">
<img src="004.jpg">
.
.
.
</div>
- Drupal 7
- jQuery