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🥇
Perceptle
Perceptle is a daily browser-based game that challenges you to test your sensory intuition through five quick estimation and rhythm-based rounds.
Other · 1,489 views · 9 clicksOther · Week 47 · 1,489 views · 9 clicks
🥈
Free LinkedIn Likes From Real
Get free LinkedIn likes on your posts from real members who react by hand. No
SaaS · 1,632 views · 10 clicksSaaS · Week 47 · 1,632 views · 10 clicks
🥉
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 9,176 views · 75 clicksSaaS · Week 47 · 9,176 views · 75 clicks
#4
aaas.market
407 reliable micro tools for solo founders, marketers and creators. They work in your browser
SaaS · 1,597 views · 5 clicksSaaS · Week 47 · 1,597 views · 5 clicks