jSimplePresentation

Description
This item represents a new vision of a slideshow, offered as a jQuery plugin. Some of possible uses :
- To use it instead of powerpoint in order to present your ideas
- To advertise a product, a website, ...
- To make an HTML designed book
- etc, etc.
Features
- Able to use other plugins in addition of this one
- Able to load unlimited number of pages
- It can contains what you want (a page is a simple div)
- The pages (center of the page) are automatically resized with the browser
- Fully and easily customizable
- Very easy to use
- Keyboard navigation (RIGHT / LEFT / SPACE / L)
- Slideshow option
- Autoplay option
- Loop option
- Image preloading option
- Go to a certain page (with secured input control)
- W3C Valid
- Works on iOS (iPhone / iPad) and certainly on Android
- Three themes included (grey, blue, orange)
- 4 transition presets
- You can write your own transition with a simple function in the plugin call
- Transitions can be different for the next and previous actions
- Well commented (most actions in the code contain comments)
How to use it
JS – Syntax
$(document).simplePresentation({
autoplay: boolean,
loop: boolean,
intervalTime: integer,
preloading: boolean,
transitionFct: function
});
JS – Example with a preset transition
var transitionFunction = function(elt, source, transitionTime) {
Transition.opacity(elt, source, transitionTime);
};
$(document).simplePresentation({
autoplay: false,
loop: false,
intervalTime: 2000,
preloading: false,
transitionFct: transitionFunction
});
JS – Example with a transition we write
var transitionFunction = function(elt, source, transitionTime) {
elt.css("opacity", "0");
// If we're going to the next page
if (source == "RIGHT") {
elt.css("marginLeft", "100%");
elt.animate({
"opacity": 1,
"marginLeft": "0px"
}, transitionTime);
} else {
elt.css("marginRight", "100%");
elt.animate({
"opacity": 1,
"marginRight": "0px"
}, transitionTime);
}
};
$presentation = $(document).simplePresentation({
autoplay: false,
loop: false,
intervalTime: 4000,
preloading: true,
transitionFct: transitionFunction
});
HTML
<div id="container">
<div id="page1">
...
</div>
<div id="page2">
...
</div>
</div>
Each div with id=”pageX” represent a page.
Each pages must have an id that starts with “page”.
Compatible browsers
This item works with the following browsers :- Firefox 4+
- IE7+ (uses a separated css stylesheet for IE less than V.9)
- Opera
- Chrome
- Safari
| Type | JavaScript Script |
|---|---|
| Author | vp76 |
| Category | Javascript / Sliders |
| Price | $6 |
| Sales | 92 |
| Rating | 4.50 from 8 ratings |
| Published | Dec 15, 2011 |
| Last Update | Dec 15, 2011 |
| Compatible Browsers | IE7, IE8, IE9, Firefox, Safari, Opera, Chrome |
| Compatible Software | jQuery |
| Source Files Included | JavaScript JS, HTML, CSS |
| Video Preview Resolution | 1280x720 |
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
Free LinkedIn Likes From Real Members | LinkedInLikes
Get free LinkedIn likes on your posts from real members who react by hand. No password needed: you only share a link.
Website · 12,847 views · 46 clicksWebsite · Week 49 · 12,847 views · 46 clicks
🥈
Free Medium Claps From Real Writers | MediumPlace
Free Medium claps on your stories from verified accounts of real writers, each given by hand. No bots, no Medium password, nothing to pay. Paste a link.
Website · 7,964 views · 10 clicksWebsite · Week 49 · 7,964 views · 10 clicks
🥉
Free GitHub Stars From Real Developers | GitWow
Get free GitHub stars on your repository from real developers who star by hand. No token or password, and it's free.
Website · 15,624 views · 28 clicksWebsite · Week 49 · 15,624 views · 28 clicks
#4
Free Substack Likes From Real Writers | StackRooms
Free Substack likes on your posts and Notes from verified accounts of real writers, given by hand. Free to ask, free to receive. Just share a link.
Website · 7,784 views · 2 clicksWebsite · Week 49 · 7,784 views · 2 clicks
#5
Free Twitter Likes From Real People | SupaTwitter
Free Twitter likes on your tweets from verified accounts of real people, each given by hand. No bots, no Twitter password, nothing to pay. Paste a link.
Website · 7,679 views · 4 clicksWebsite · Week 49 · 7,679 views · 4 clicks
#6
Free X Likes From Real People, Given by Hand | XFast
Free X likes on your posts from verified accounts of real people, each one given by hand. No bots, no X password, no conditions. Paste a link to start.
Website · 7,591 views · 0 clicksWebsite · Week 49 · 7,591 views · 0 clicks