KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
ajSlider
★ 8
Open GitHub ↗
Image and Content jQuery Plugin
Download README (.md)
Explore Similar Repositories
haskell-classes
:
Notes from my haskell course
metalsmith-remote-json-to-files
:
Fetch JSON from remote URLs, transform and inject as files into metalsmith pipeline
whereami
:
Get your geographic coordinates online
KodiRPC
:
Kodi JSON-RPC API/v6 Wrapper in C#
jekyll-travis-gh-pages
:
Deploy jekyll sites to gh-pages with plugins, etc. using Travis CI
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
ajSlider
?
Download (.md)
# ajSlider Image and Content Slider jQuery Plugin <br> Developed by Arun Thomas <br> www.ajarunthomas.com <br> <br> <a href="http://www.ajarunthomas.com/jquery/ajSlider/demo/" target="_blank" style="text-decoration:none">Demo</a> <a download href="http://www.ajarunthomas.com/files/ajSlider.js" target="_blank" style="text-decoration:none">Download</a> <br><br> <a href="http://www.ajarunthomas.com/jquery/ajSlider/" target="_blank" style="text-decoration:none">Website</a> ## USAGE ### Step 1 : Include js ``` <script type="text/javascript" src="js/jquery-1.12.0.min.js"></script> <script type="text/javascript" src="js/ajSlider.js"></script> ``` ### Step 2 : HTML ``` <div id="ajSlider"> <img src="images/1.jpg" width="" height="" /> <img src="images/2.jpg" width="" height="" /> <img src="images/3.jpg" width="" height="" /> <img src="images/4.jpg" width="" height="" /> <img src="images/5.jpg" width="" height="" /> <a>Text 1</a> <a>Text 2</a> <a>Text 3</a> <a>Text 4</a> <a>Text 5</a> </div> ``` Important : Don't forget to enter the width and height of the images if the jQuery is initialized in $(document).ready(function{}); <br> ### Step 3 : Initialize jQuery ``` $(document).ready(function() { $('#ajSlider').ajSlider(3000); }); ``` where 3000 is the interval between each slide ### more options ``` $(document).ready(function() { $('#ajSlider').ajSlider(3000,{ "slideshow":"disable", //disable or enable the slideshow "width":"100%", //width of slider "height":"100%", //height of slider "activeBullet":"red", //color of the active bullet "inactiveBullet":"orange", //color of inactive bullet "textPosition":"30%", //position of text from top "textSize":"60px" //font size of the text }); }); ```