Javascript Image Slider - No jQuery

Demos: 012 345 678
image slider new release


Advanced Features

A license is required for using the advanced features. About the license

Price: US$20.00.    Buy Now

Easy to Use

The HTML below shows its simplicity:
<html> <head> <link href="js-image-slider.css" rel="stylesheet" type="text/css" /> <script src="js-image-slider.js" type="text/javascript"></script> </head> <body> <div id="slider"> <img src="slide-1.jpg" alt="Caption for slide 1" /> <img src="slide-2.jpg" /> <a href="http://www.menucool.com"><img src="slide-3.jpg" /></a> <img src="slide-4.jpg" /> <img src="slide-5.jpg" alt="Caption for slide 5" /> </div> </body> </html>

The easiest way to use the slider is:   download -> copy & paste -> tweak

Click Directions for more instructions.

  • Download the demos (source code included) by clicking the Download button

    The source code includes: HTML (demo1-8.html), CSS (js-image-slider.css), and Javascript (js-image-slider.js).

  • Choose an appropriate demo from the download and put the HTML code and CSS/Javascript file links into your page

HTML

  • HTML Caption: Captions are set through each slide image's alt attribute. If the caption contains HTML content, you can put the content inside a DIV or SPAN element (usually styled as display:none), and set the alt as "#(the content container's id)". For example: alt="#caption4"
  • Image Links: You can add links to slide images by wrapping each image with <a> tag:
    <a href="(url)"><img src=... /></a>

CSS

Edit the CSS file(js-image-slider.css) to suit your own design. You mainly need to:

JavaScript

Customize the image slider by changing the sliderOptions in the js-image-slider.js file:
Note: Using Notepad to open and edit the JavaScript file
var sliderOptions = { sliderId: "slider", effect: "series1", effectRandom: false, pauseTime: 2800, transitionTime: 1200, slices: 14, boxes: 8, hoverPause: 1, autoAdvance: true, captionOpacity: 0.4, captionEffect: "fade", thumbnailsWrapperId: "thumbs", m: false, license: "mylicense" };

Video Support

Please refer to demo 6: Video Slider.

Build/Update On the Fly Support

Please refer to demo 7: Create Image Slider Dynamically.

License

It is free to use the slider with basic features.

Utilizing the advanced features (integrated thumbnails, build/update on the fly, or video support) requires a license.

How the license works? image slider change
  • The license entitles a website to use any or all of Menucool sliders (jQuery Slider, Thumbnail Slider, JavaScript Image Slider, Content Slider, and Zoom Slider)
  • The license is issued on a per-domain basis (valid for a domain and its sub-domains)
  • The license is valid forever for future upgrades/releases with no requirement to renew
  • The acquired license should be set to the license property in the js-image-slider.js file. The JavaScript will use its own match pattern code to verify the license with the domain name on the browser's address bar. So the JavaScript file itself will do the checking and no other services will be involved.
  • The slider's advanced features may not work if the verification fails. So make sure to install the license before the slider going live in web server.

When you have acquired the license, open the js-image-slider.js file with Notepad, and replace the license value with yours.

var sliderOptions = { ...... license: "mylicense" };
License Fee: US$20.00
Buy License Now


Ask Questions / Leave a Comment

Question Title:
Your name:
+ =    

more ...