Affichage des articles dont le libellé est jquery. Afficher tous les articles
Affichage des articles dont le libellé est jquery. Afficher tous les articles

vendredi 15 février 2013

A Sleek & Intuitive jQuery Lightbox Plugin

A Sleek & Intuitive jQuery Lightbox Plugin:

iLightBox is a Sleek, intuitive, powerful, and revolutionary jQuery lightbox plugin for creative and ambitious web designers and developers. iLightBox was made to not only look and behave great in the latest desktop browsers (as well as IE7!), but in tablet and smartphone browsers as well.
It is packed with lots of awesome features. To make things even more awesome iLightBox comes with fullscreen, retina-ready skins, supports for swipe events, Youtube and Vimeo integration for HTML5 video, powerful Javascript API and has lifetime free support and updates. IE7+ (including IE10), Firefox, Safari, Opera, Chrome, IOS4+, and Android are supported.

ilightbox
Requirements: jQuery Framework
Demo: http://iprodev.com/ilightbox/
License: License Free

vendredi 4 janvier 2013

Huge & Free User Interface Kit For jQuery – jKit

jKit is a free user interface library for jQuery that offers lots of functional features and components.
It works cross-platform and includes slideshow, tabs, accordion, parallax, zoom, tooltip, form handling, ticker and much more.
The functions can be integrated as JavaScript or with the help the data-jkit attribute as HTML.

jKit has a very handy “macro” feature that allows defining any custom code (like a tooltip with a specific fading value) that can be used by simply calling the macro’s name.
The UI kit is very well-documented with examples and a cheat sheet exists as well.Advertisements:
Infragistics jQuery controls deliver the magic of HTML5, w/o sacrificing resources, time, or money.

mercredi 26 décembre 2012

15 Memorable jQuery Timeline Plugins

15 Memorable jQuery Timeline Plugins:
jquery-timeline-plugins
With one of the jQuery timeline plugins listed here, you can add cool and interactive timelines to your web pages. The timeline format is not new, but really, it got popular when Facebook decided to add it to their wall design. It is a great way to show events in time – this can be anything from social media updates to historical events. We also see the timeline design in creative portfolios, where agencies show their history, development in number of employees, key client wins etc.
Check out the jQuery plugins I found for adding timelines to your website and let me know in a comment if I missed a great script! Also, please share this article with your friends and coworkers.

Disclosure: Please note that some of the links below are affiliate links and I will earn a commission if you purchase through those links (at no extra cost to you). I recommend that you do your own independent research before purchasing any product or service. This article is not a guideline, a recommendation or endorsement of specific products.

ElegantThemes
Hostgatorhttp://envato.s3.amazonaws.com/referrer_adverts/tf_260x120_v2.gif
ThemeForest
Advertisement

jQuery Social Timeline – MORE INFO / DEMO

jquery-social-timeline-plugin
The DP Social Timeline plugin has been build to make it simple for you to retrieve status/posts/videos/images from different social networks and add it all into a timeline format on your website. It is to some extent the same concept as the Facebook timeline.

jQuery TimelineXML – MORE INFO / DEMO

jquery-timeline-xml
TimelineXML takes time-stamped pieces of content and puts them on a timeline as dots. On hover or click the visitor will see the content you added to the clicked event.

jQuery Timeline Slider – MORE INFO / DEMO

jquery-timeline-slider
Timeline Slider is a jQuery timeline plugin you can use to build your own history timelines on your web pages. This timeline plugin includes a dark and a light skin and this makes it fit into most web projects. Since this plugin rely on the jQuery library you will find it to be cross-platform.

Timeliner – MORE INFO / DEMO

timeliner
TimeLiner is a cool jQuery timeline plugin you can use to create slideshow like presentations an animating timeline showing progress. It is possible to more or less any HTML based content to the slides, and the process can be skipped and paused.

Lateral On-Scroll Sliding with jQuery – MORE INFO / DEMO

lateral-on-scroll-sliding-with-jquery
This is a tutorial showing you how to create a really awesome parallax style timeline. You will have circular elements on one side and the descriptions on the other flying in form the sides as users scroll down.
The code is available for download.

jQuery Responsive Timeline – MORE INFO / DEMO

jquery-responsive-timeline
With the jQuery Post Timeline plugin you can show a list of post in a cool timeline. The layout (vertical) is very similar to the one we know from Facebook and good news for mobile users… is fully responsive, so it will adapt to mobile devices and tablets!

Timeliner.js – MORE INFO / DEMO

timeliner.js
With this plugin you can create an interactive historical timeline using just HTML, CSS, and jQuery.

Timeline with Configurator – MORE INFO / DEMO

timeline-with-configurator
Timeline is a jQuery plugin for adding cool a looking timeline on a web page. This could be for showing job experience, vacation events or any other activity on a visual way . You can use the built in configurator and it makes it easy to add, change and customize the timeline.

Timeline Portfolio with jQuery and CSS3 – MORE INFO / DEMO

timeline-portfolio
The Timeline Portfolio jQuery plugin have been designed for showing chronological series of events. It is possible to embed different types of media including tweets, videos and maps, and associate them with a date. This plugin may be a cool way for e.g. show client work on a timeline as part of an online portfolio.

TimelineJS – MORE INFO / DEMO

timeline.js
The TimelineJS scrips can be used for pulling in media from different sources and adding them to an interactive timeline. You simply add links to Twitter, YouTube, Flickr, Vimeo, Google Maps or SoundCloud and TimelineJS will embed and format posts to fit the timeline.

Timeline calendar – MORE INFO / DEMO

timeline-calendar
Timeline calendar really is simple jQuery calendar designed as a timeline. It is a horizontal representation of the days in a month and it can be used to display events with descriptions in a visual and interactive way.

Chronoline.js – MORE INFO / DEMO

chronoline
Chronoline.js is a jQeury plugin you can use to create timeline from events that are then added to a horizontal timescale. The plugin generate a graphical representation of schedules, historical events, deadlines, and more from a list of dates and events.

Content Timeline – MORE INFO / DEMO

content-timeline
Content timeline is powerful and lightweight responsive jQuery/HTML5/CSS3 plugin, best for displaying any organized content. It is fully customizable, and easily implementable with any js script, video, flash etc. Well structured code, and wide ranged API functions make it simple to get started and flexible for customization.

jQuery Timelinr – MORE INFO / DEMO

jquery-timelinr
This simple plugin helps you to give more life to the boring timelines. Supports horizontal and vertical layouts, and you can specify parameters for most attributes: speed, transparency, etc.

Easy WordPress Timelines – MORE INFO / DEMO

easy-wordpress-timelines
The Easy WordPress Timelines plugin is really for WordPress and therefore more than a simple jQuery plugin. It makes it simple for WordPress users to create nice timelines and sliders from posts categories. The plugin includes a settings page that helps you define default parameters. Timelines are easy to add to posts and pages as you simply insert a shortcode with your custom parameters and boom!

Author : Sonny Day

Sonny M. Day is a passionate SEO and web design enthusiast who loves photography, mountain climbing, snorkeling and dirt bike riding.

vendredi 16 novembre 2012

vendredi 2 novembre 2012

Make an HTML5 & CSS3 Flipbook with Turn.js

Make an HTML5 & CSS3 Flipbook with Turn.js:

Advertise here via BSA
Turn.js is a JavaScript library that will make your content look like a real book or magazine using all the advantages of HTML5. The web is getting beautiful with new user interfaces based in HTML5; turn.js is the best fit for a magazine, book or catalog based in HTML5. It works on most browsers and devices, and lightweight with only 10k.
The turn.js API was conveniently built as an UI plugin for jQuery, it provides access to a set of features and allows you to define the user interaction. It is released under a noncommercial BSD license and it’s available on GitHub. However, this license doesn’t include features of the 4th release.
flipbook
Requirements: HTML5 and CSS3 Support

Download Link: http://www.turnjs.com/

License: Noncommercial BSD License

Sponsors

Professional Web Icons for Your Websites and Applications

mardi 30 octobre 2012

15 Free jQuery Plugins for Responsive Web Design

15 Free jQuery Plugins for Responsive Web Design: Hey folks! Hope you’re doing well and that your designing ventures are going great! As you know, with the increase of smart phones, tablets and PDAs, web browsing has taken on an entirely new level. As new technology makes it possible to navigate the entire world at the mere touch of your fingertips, it becomes increasingly important to create we

jqCoolGallery

jqCoolGallery:
An Open-Source jQuery Plugin That Displays Photo Galleries And Slideshows

mercredi 24 octobre 2012

jQuery notification

jQuery notification:
A simple and small notification plugin for jQuery.
Options
  • click Click callback
  • content Notification content
  • duration On screen duration in milliseconds, set it to 0 for sticky, default 5000
  • fadeIn Fade in effect duration in milliseconds, default 400
  • fadeOut Fade out effect duration in milliseconds, default 400
  • limit Visible limit per board, when reached notifications wont be created, default false
  • queue If queue is active and limit is reached notifications will be shown when other hides, default false
  • slideUp Slide up effect duration in milliseconds, default 200
  • horizontal Horizontal alignment, default right
  • vertical Vertical alignment, default top

lundi 22 octobre 2012

Add Facebook, Twitter, Google +, Youtube, RSS Feed Slide/Pop Out Widget To Your Blog/Site | RealcomBiz

After a little break, i think i should come back with something unique, so i will will be sharing with how you can add a five different social media widget to your blog/site. This widget comprises of facebook like box, twitter follower box, Google plus, Youtube and RSS feed subscribe box, and this widget will slide out smoothly when you place your cursor on any of the widget, due to the jQuery effect that is included.
Follow the simple procedure below on how you can use this five stylish widgets to spice up your blog/site.


How To Add The Widget To Your Blog

STEP 1
  • Login to your blogger dashboard
  • Click on "Design" > "Edit HTML" > back up your template
  • Use ctrl F to find </head> and paste the following code above/before </head>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
jQuery(document).ready (
function(){jQuery("#facebook_right").hover(function(){ jQuery(this).stop(true,false).animate({right: 0}, 500); },
function(){ jQuery("#facebook_right").stop(true,false).animate({right: -249}, 500); });
jQuery("#twitter_right").hover(function(){ jQuery(this).stop(true,false).animate({right: 0}, 500); },
function(){ jQuery("#twitter_right").stop(true,false).animate({right: -264}, 500); });
jQuery("#google_plus_right").hover(function(){ jQuery(this).stop(true,false).animate({right: 0}, 500); },
function(){ jQuery("#google_plus_right").stop(true,false).animate({right: -323}, 500); });
jQuery("#youtube_right").hover(function(){ jQuery(this).stop(true,false).animate({right: 0}, 500); },
function(){ jQuery("#youtube_right").stop(true,false).animate({right: -303}, 500); });
jQuery("#feedburner_right").hover(function(){ jQuery(this).stop(true,false).animate({right: 0}, 500); },
function(){ jQuery("#feedburner_right").stop(true,false).animate({right: -303}, 500); });
});
</script>
  • Click "SAVE TEMPLATE"
Update: 16/09/2012
Please, those of you having problem with google plus, i have got the problem fixed, kindly recopy the code in STEP 2, and sorry for any inconvenience this may have caused you. Thanks!

STEP 2
  • Go to "Design" > "Page Elements" > "Add a Gadget"
  • Choose "HTML/JavaScript" from the list of the gadget that appear in the pop-up window
  • Copy and paste the code below in the content box leaving the title box blank.
<style>
img, a { border: 0; }
#on {visibility:visible;}
#off {visibility:hidden;}
#facebook_div {width:245px;height: 260px;overflow: hidden;}
#twitter_div {width:260px;height: 238px;overflow: hidden;}
#google_plus_div {width:320px;height: 143px;overflow: hidden;}
#knfeedburner_div {width:300px;height: 97px;overflow: hidden;}
#youtube_div {width:300px;height: 97px;overflow: hidden;}
#facebook_right {z-index: 10005;border:2px solid #3c95d9;background-color: #fff;width:245px;height: 260px;position: fixed;right: -249px;}
#facebook_right img {position: absolute;top: -2px;left: -35px;}
#facebook_right iframe {border:0px solid #3c95d9;overflow: hidden;position: static;height: 360px;left:-2px;top:-3px;}
#twitter_right {z-index: 10004;border:2px solid #6CC5FF;background-color: #6CC5FF;width:260px;height: 238px;position: fixed;right: -264px;}
#twitter_right_img {position: absolute;top: -2px;left: -35px;border: 0;}
#google_plus_right {z-index: 10003;background-color: #006ec9;border:2px solid #006ec9;border-top:2px solid #0056a0;border-bottom: 2px solid #0056a0;border-right:2px solid #0056a0;border-left: hidden;width:320px;height: 143px;position: fixed;right: -323px;}
#google_plus_right_img {position: absolute;top: -2px;left: -33px;border: 0;}
#youtube_right {z-index: 10002;background-color: #fefefe;border:2px solid #ff0000;border-top:2px solid #5b5b5b;border-bottom: 2px solid #5b5b5b;border-right:2px solid #5b5b5b;border-left: hidden;width:301px;height: 100px;position: fixed;right: -303px;}
#youtube_right_img {position: absolute;top: -2px;left: -33px;border: 0;}
#feedburner_right {z-index: 10001;background-color: #fefefe;border:2px solid #5b5b5b;border-top:2px solid #5b5b5b;border-bottom: 2px solid #5b5b5b;border-right:2px solid #5b5b5b;border-left: hidden;width:300px;height: 97px;position: fixed;right: -303px;}
#feedburner_right_img {position: absolute;top: -2px;left: -33px;border: 0;}
</style>
<div id="on">
<div id="facebook_right" style="top: 8%;">
<div id="facebook_div">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcIDVAVguii1dWC77WgdRWXebOf8giLyjopewB8hmuWvDYEe3-hZq0DKhsOR6IjYMMfOO7YtJLwNn6uCCrD_2w_-DDowyHBVWy56D0VQl4ykY_aeB2d9YFA7FGXCV8N-4xlQ5uOOZhPA/s1600/Facebook.png" />
<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Ffacebook.com%2FRealcomBiz&amp;locale=en_GB&amp;width=245&amp;connections=9&amp;stream=&amp;header=false&amp;show_faces=0&amp;height=260" scrolling="no"></iframe>
</div>
</div>
</div>
</div>
<div id="on">
<div id="twitter_right" style="top: 25%;">
<div id="twitter_div">
<img id="twitter_right_img" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDqv0Qg1HM9HJQpaLdlXqEIVxVfKL30Yh-YX7-A1QOUWq4oCuLuFD1cNy7s47RqxQ5M2e8sA2o9ywgCwGVwvNg_VNV7VbpxasI15yokm1MYuEB13I_E8nSKL00iMSDno772mBwZdbpfg/s1600/Twitter.png" />
<script type="text/javascript" src="http://script-ot.googlecode.com/svn/twitterbox.js"></script>
<div id="twitterfanbox"></div>
<script type="text/javascript">fanbox_init("RealcomBiz");</script>
</div>
</div>
</div>
</div>
<div id="on">
 <div id="google_plus_right" style="top: 42%;">
  <div id="google_plus_div">
   <img id="google_plus_right_img" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcFDgI3T_3hm0CeV22gDWdSfAofhr3Ct1iqkqppvnoLk0bLOo_2uOKP3Q4YE_OnJrNIu4y4FkmTALCCMzCw5UkJLu0axaLltmv6TlGAGGaH6rCAtvMbADQ_Am2xNkrsIYXksh-zf8G3Q/s1600/Google+Plus.png"/>
   <div style="float:left;margin:1px 0px 0px 2px;">
    <g:plusone size="tall" expr:href="data:post.url"></g:plusone>
</div>
</div>
</div>
</div>
<div id="on">
<div id="youtube_right" style="top: 59%;">
<div id="youtube_div">
<img id="youtube_right_img" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP3rAehM0Dy7wbc31eit4gJAPRNbiPKfQeNdcHkXOWXSJi17eeSaKnuYn8GrEewAoH2nPbPfVmmyESz02yA2q9e6DdQMdvRFtmavMqplca9vcbZBtl55PquoceDuZwdmu4cLSvwimIFA/s1600/YouTube.png" />
<div style="float:left;margin:1px 0px 0px 2px;">
<iframe src=http://www.youtube.com/subscribe_widget?p=RealcomBiz style="height: 105px; width: 300px; border: 0;" scrolling="no" frameborder="0"></iframe>
</div>
</div>
</div>
</div>
<div id="on">
<div id="feedburner_right" style=" top: 76%;">
<div id="knfeedburner_div">
<center><br/>
<h4 style="color:#F66303;">Subscribe And Get Free E-Mail Updates:</h4>
<form action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=realcombiz', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true"><input gtbfieldid="10" class="enteryouremail" name="email" value="Enter Your E-Mail Here..." onblur="if (this.value == &#39;&#39;) {this.value = &#39;Enter Your E-Mail Here...&#39;;}" onfocus="if (this.value == &#39;Enter Your E-Mail Here...&#39;) {this.value = &#39;&#39;;}" type="text" /><input value="RealcomBiz" name="uri" type="hidden" /><input value="Submit" class="submitbutton" type="submit" /></form>
</center>
<img id="feedburner_right_img" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgky0R_cmJU9yI9muAkhPnQL42H2h9dQZI-8NGKYGcMqeN1f1YxIkE7ze2fAbsrKwIkq2IvqTt0p8pWBfqPfnubDsgC9y6fqH4AiDF8pCP1Tbixg4_vMLkWCfxcvkBrHl6EvCMcmS6cbg/s1600/Subscribe.png" />
</div>
</div>
</div>
  • Replace RealcomBiz with your facebook fan page username
  • Replace RealcomBiz with your twitter username
  • Replace RealcomBiz with your youtube username
  • Replace http://feedburner.google.com/fb/a/mailverify?uri=Realcombiz with your feedburner url
  • Replace Realcombiz with your feedburner username
  • Click "Save" when you are through with your editing


samedi 20 octobre 2012

Vertical Showcase Slider with jQuery and CSS Transitions

Vertical Showcase Slider with jQuery and CSS Transitions:
Vertical Showcase Slider with jQuery and CSS Transitions
View demo Download source
In this tutorial we will create a very simplistic and responsive product slider for an online store or a portfolio. The idea is to have different sections in a fullscreen view: the image or preview, a navigation and the description. When navigating through the items, we will slide the preview section and the section with the description in opposite directions. The idea for this kind of “opposite” transition comes from the beautiful website of the National LGBT Museum which moves the left and right side in the same manner when navigating or scrolling the page.
Please note: this only works as intended in browsers that support the respective CSS properties.
The product images and information used in the demo are by IKEA.
So, let’s do this!

The Markup

We will have a main container which will wrap the following elements: a header, a wrapper for the content or descriptions and a wrapper for the slides:
<section id="ps-container" class="ps-container">

 <div class="ps-header">
  <h1>Vertical Showcase Slider</h1>
 </div><!-- /ps-header -->
 
 <div class="ps-contentwrapper">
 
  <div class="ps-content">
   <h2>Bernhard</h2>
   <span class="ps-price">£100</span>
   <p>With restful springiness in the seat; prevents static sitting and provides enhanced seating comfort. Padded seat and back for enhanced seating comfort. Soft, hardwearing and easy care leather, which ages gracefully.</p>
   <a href="http://www.ikea.com/gb/en/catalog/products/80163804/#/60203882">Buy this item</a>
  </div>
  
  <div class="ps-content">
   <!-- description item 2 -->
  </div>
  
  <div class="ps-content">
   <!-- description item 3 -->
  </div>
  
  <div class="ps-content">
   <!-- description item 4 -->
  </div>
  
  <div class="ps-content">
   <!-- description item 5 -->
  </div>
  
 </div><!-- /ps-contentwrapper -->
 
 <div class="ps-slidewrapper">
 
  <div class="ps-slides">
   <div style="background-image:url(images/1.jpg);"></div>
   <div style="background-image:url(images/2.jpg);"></div>
   <div style="background-image:url(images/3.jpg);"></div>
   <div style="background-image:url(images/4.jpg);"></div>
   <div style="background-image:url(images/5.jpg);"></div>
  </div>
  
  <nav>
   <a href="#" class="ps-prev"></a>
   <a href="#" class="ps-next"></a>
  </nav>
  
 </div><!-- /ps-slidewrapper -->
 
</section><!-- /ps-container -->
The wrapper for the slides will contain the same amount of divisions like the content wrapper and each division will have the respective image as background image. We will also have a navigation that will contain a previous and next anchor. These anchors will also have a background image, but we’ll set it dynamically.
Let’s add some style.

The CSS

Note that the CSS will not contain any vendor prefixes, but you will find them in the files.
Let’s first add a font that we’ve created with fontello.com. This font will only have one character and it’s the little shopping cart for the “Buy this item” link:
@font-face {
  font-family: 'icon';
  src: url("font/icon.eot");
  src: 
 url("font/icon.eot?#iefix") format('embedded-opentype'),
 url("font/icon.woff") format('woff'), 
 url("font/icon.ttf") format('truetype'), 
 url("font/icon.svg#icon") format('svg');
  font-weight: normal;
  font-style: normal;
}
Our aim is to create a layout that is 100% width and height of the screen, so our container will be positioned absolutely and we’ll set the overflow to hidden:
.ps-container {
 position: absolute;
 width: 100%;
 height: 100%;
 overflow: hidden;
 text-transform: uppercase;
 color: #555;
 background: #fff;
}
The width and height will be 100%. Note that we’ve set the height of the html to 100% as well (demo.css).
All the children of our main container will have a width of 50% and they’ll be of absolute positioning:
.ps-container > div {
 position: absolute;
 width: 50%;
}
There will be a couple of elements that will share the absolute positioning:
.ps-container > div > div,
.ps-slidewrapper > nav,
.ps-slides > div {
 position: absolute;
}
The header will have a height of 150 pixel and we’ll position it in the top left corner:
.ps-header {
 top: 0px;
 left: 0px;
 height: 150px;
 z-index: 1001;
 background: #fff;
}
The h1 will be styled as follows:
.ps-header h1 {
 color: #ccc;
 line-height: 150px;
 margin: 0;
 padding: 0 50px;
 font-weight: 200;
 font-size: 14px;
 letter-spacing: 10px;
}
The content wrapper will need the same top as the height of the header and we’ll set the overflow to hidden:
.ps-contentwrapper {
 top: 150px;
 bottom: 0px;
 overflow: hidden;
 z-index: 1000;
}
The inner divisions will occupy all the width and height of the parent and we’ll give it a bit of padding:
.ps-content {
 background: #fff;
 width: 100%;
 height: 100%;
 padding: 50px;
}
Let’s style the text elements. The headline and the paragraph will have some borders to suggest a chair:
.ps-content h2 {
 padding: 10px 15px;
 border-right: 1px solid #f2f2f2;
 border-bottom: 1px solid #f2f2f2;
 letter-spacing: 4px;
 margin: 10px 0 30px;
 text-align: right;
 font-weight: 700;
}

.ps-content p {
 line-height: 26px;
 font-size: 12px;
 letter-spacing: 2px;
 word-spacing: 10px;
 padding: 10px 15px;
 font-weight: 400;
 text-align: justify;
 border-left: 1px solid #f2f2f2;
 border-top: 1px solid #f2f2f2;
}
The price will be floating on the left side and we’ll give it the style of a box:
.ps-content span.ps-price {
 float: left;
 margin: 10px;
 width: 140px;
 height: 140px;
 line-height: 140px;
 text-align: center;
 color: #fff;
 background: #f7cfc6;
 background: rgba(247,197,185,0.8);
 font-size: 55px;
 font-weight: 200;
}
Note that we set a HEX background color before setting a RGBA one. Older browsers that don’t know what RGBA values are will ignore the second line and apply the first color.
The link will have a thick border and we’ll make it green on hover if we are not on a touch device (we use Modernizr for that):
.ps-content a:last-child {
 font-size: 14px;
 font-weight: 700;
 color: #555;
 letter-spacing: 4px;
 float: right;
 border: 3px solid #555;
 padding: 3px;
 text-indent: 4px;
}

.no-touch .ps-content a:last-child:hover {
 color: #b2d79d;
 border-color: #b2d79d;
}
We’ll add the little shopping cart icon by styling the pseudo-class :after:
.ps-content a:last-child:before {
 content: '\53';
 font-family: 'icon';
 font-style: normal;
 font-weight: normal;
 speak: none;
 padding-right: 5px;
}
The container for the slides and navigation will be placed on the right side and it will have a height of 100%:
.ps-slidewrapper {
 right: 0px;
 top: 0px;
 height: 100%;
 overflow: hidden;
}
The wrapper for the slides will be stretched from top: 0px to bottom: 200px. This will keep its height elastic:
.ps-slides {
 top: 0px;
 bottom: 200px;
 width: 100%;
}
The inner divs, the ones that will contain the background image, will have a width and height of 100% and we’ll give them a inset box shadow that will serve as a subtle overlay over the main image preview. We don’t really know how big this division will get so we’ll give it an extremely big spread radius value:
.ps-slides > div {
 width: 100%;
 height: 100%;
 box-shadow: inset 0 0 0 9999px rgba(179,157,250,0.1);
}
The navigation will be positioned at the bottom of the slides container and we’ll give it a fixed height of 200 pixel:
.ps-slidewrapper > nav {
 width: 100%;
 height: 200px;
 bottom: 0px;
 right: 0px;
 z-index: 1000;
}
The previous and next link elements will be floating and we’ll also give them a inset box shadow to create a subtle overlay effect. They will also have a transition for non-touch devices:
.ps-slidewrapper > nav > a {
 width: 50%;
 height: 100%;
 position: relative;
 float: left;
 outline: none;
 box-shadow: inset 0 0 0 9999px rgba(207,227,206,0.8);
}

.ps-slidewrapper > nav > a:first-child {
 box-shadow: inset 0 0 0 9999px rgba(233,217,141,0.8);
}

.no-touch .ps-slidewrapper > nav > a {
 transition: box-shadow 0.4s ease-in-out;
}

.no-touch .ps-slidewrapper > nav > a:hover {
 box-shadow: inset 0 0 0 9999px rgba(246,224,121,0.1);
}

.no-touch .ps-slidewrapper > nav > a:first-child:hover {
 box-shadow: inset 0 0 0 9999px rgba(249,15,15,0.1);
}

The navigation anchors will have a pseudo-element that will be styled to appear as an arrow. For that we will add a left and top border and rotate them accordingly:
.ps-slidewrapper > nav > a:after {
 content: '';
 position: absolute;
 width: 100px;
 height: 100px;
 top: 50%;
 left: 50%;
 margin: -20px 0 0 -50px;
 transform: rotate(45deg);
 border-left: 1px solid #fff;
 border-top: 1px solid #fff;
}

.ps-slidewrapper > nav > a:first-child:after {
 transform: rotate(-135deg);
 margin: -80px 0 0 -50px;
}
The main previews and the navigation links are the elements that have a background image. We’ll set that image to stretch over the height of their container:
.ps-slides > div,
.ps-slidewrapper > nav > a {
 background-color: #fff;
 background-position: center top;
 background-repeat: no-repeat;
 background-size: auto 100%;
}
The next class is used dynamically when we want to slide an element in or out:
.ps-move {
 transition: top 400ms ease-out;
}
Last, but not least, we’ll define a media query for smaller devices. We only want the media query to change the style if we have JavaScript enabled since we have a completely different layout for the case JavaScript is disabled.
We need to set the children of the main container to 100% width:
@media screen and (max-width: 860px) {

 .js .ps-container > div {
  width: 100%;
 }
The header will be a bit smaller:
.js .ps-header {
  height: 50px;
 }

 .js .ps-header h1 {
  line-height: 50px;
  padding: 0px 20px;
  letter-spacing: 4px;
 }
The wrapper for the preview slides will be positioned differently since we’ll place the content under it:
.js .ps-slides {
  bottom: 320px;
  top: 50px;
 }
The navigation will be half its original height:
.js .ps-slidewrapper > nav {
  height: 100px;
 }
The content wrapper will have a height of 220px and we’ll place it right above the navigation:
.js .ps-contentwrapper {
  top: auto;
  height: 220px;
  bottom: 100px;
 }
Let’s change the sizes of the typographic elements:
.js .ps-content {
  padding: 10px;
 }

 .js .ps-content h2 {
  border-right: none;
  font-size: 18px;
  margin: 10px 0;
  padding-top: 0;
 }

 .js .ps-content span.ps-price {
  font-size: 18px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-weight: 700;
  margin-bottom: 0;
 }
We don’t have so much space, so let’s set a fixed height for the paragraph and make it scrollable:
.js .ps-content p {
  line-height: 20px;
  border: none;
  padding: 5px 10px;
  height: 80px;
  overflow-y: scroll;
 }
The link will be a bit smaller and positioned to fit better into its context:
.js .ps-content a:last-child {
  font-size: 13px;
  margin: 10px 20px 0 0;
 }
}
And that’s all the style! Now, let’s take a look at the JavaScript

The JavaScript

We will start by caching some elements and define some variables:
var $container = $( '#ps-container' ),
 $contentwrapper = $container.children( 'div.ps-contentwrapper' ),
 // the items (description elements for the slides/products)
 $items = $contentwrapper.children( 'div.ps-content' ),
 itemsCount = $items.length,
 $slidewrapper = $container.children( 'div.ps-slidewrapper' ),
 // the slides (product images)
 $slidescontainer = $slidewrapper.find( 'div.ps-slides' ),
 $slides = $slidescontainer.children( 'div' ),
 // navigation arrows
 $navprev = $slidewrapper.find( 'nav > a.ps-prev' ),
 $navnext = $slidewrapper.find( 'nav > a.ps-next' ),
 // current index for items and slides
 current = 0,
 // checks if the transition is in progress
 isAnimating = false,
 // support for CSS transitions
 support = Modernizr.csstransitions// transition end event
 // transition end event
 // https://github.com/twitter/bootstrap/issues/2870
 transEndEventNames = {
  'WebkitTransition' : 'webkitTransitionEnd',
  'MozTransition' : 'transitionend',
  'OTransition' : 'oTransitionEnd',
  'msTransition' : 'MSTransitionEnd',
  'transition' : 'transitionend'
 };
When the init function is called, the first thing to do is to show the first item and corresponding slide/image. Also, we need to update the navigation arrows background image with the right ones, meaning that we will use the same background images as defined for the previews. Finally, the initEvents function is called.
init = function() {

 // show first item
 var $currentItem = $items.eq( current ),
  $currentSlide = $slides.eq( current ),
  initCSS = {
   top : 0,
   zIndex : 999
  };

 $currentItem.css( initCSS );
 $currentSlide.css( initCSS );
 
 // update nav images
 updateNavImages();

 // initialize some events
 initEvents();

},
updateNavImages = function() {

 // updates the background image for the navigation arrows
 var configPrev = ( current > 0 ) ? $slides.eq( current - 1 ).css( 'background-image' ) : $slides.eq( itemsCount - 1 ).css( 'background-image' ),
  configNext = ( current < itemsCount - 1 ) ? $slides.eq( current + 1 ).css( 'background-image' ) : $slides.eq( 0 ).css( 'background-image' );

 $navprev.css( 'background-image', configPrev );
 $navnext.css( 'background-image', configNext );

},
adjustLayout = function() {

 $container.css( 'height', $window.height() );

},
We need to initialize the click event for both navigation elements and the transitionend event for both, items/descriptions and slides.
initEvents = function() {

 $navprev.on( 'click', function( event ) {

  if( !isAnimating ) {
   
   slide( 'prev' );
  
  }
  return false;

 } );

 $navnext.on( 'click', function( event ) {

  if( !isAnimating ) {
   
   slide( 'next' );
  
  }
  return false;

 } );

 // transition end event
 $items.on( transEndEventName, removeTransition );
 $slides.on( transEndEventName, removeTransition );
 
},
The main function is, of course, the slide function. The idea is to position the next item/slide to be shown above or below the current one (depending on which navigation element we click). Then we move the current item/slide out of the wrapper and slide in the new ones. We also keep the navigation elements’ background image updated.
slide = function( dir ) {

 isAnimating = true;

 var $currentItem = $items.eq( current ),
  $currentSlide = $slides.eq( current );

 // update current value
 if( dir === 'next' ) {

  ( current < itemsCount - 1 ) ? ++current : current = 0;

 }
 else if( dir === 'prev' ) {

  ( current > 0 ) ? --current : current = itemsCount - 1;

 }
  // new item that will be shown
 var $newItem = $items.eq( current ),
  // new slide that will be shown
  $newSlide = $slides.eq( current );

 // position the new item up or down the viewport depending on the direction
 $newItem.css( {
  top : ( dir === 'next' ) ? '-100%' : '100%',
  zIndex : 999
 } );
 
 $newSlide.css( {
  top : ( dir === 'next' ) ? '100%' : '-100%',
  zIndex : 999
 } );

 setTimeout( function() {

  // move the current item and slide to the top or bottom depending on the direction 
  $currentItem.addClass( 'ps-move' ).css( {
   top : ( dir === 'next' ) ? '100%' : '-100%',
   zIndex : 1
  } );

  $currentSlide.addClass( 'ps-move' ).css( {
   top : ( dir === 'next' ) ? '-100%' : '100%',
   zIndex : 1
  } );

  // move the new ones to the main viewport
  $newItem.addClass( 'ps-move' ).css( 'top', 0 );
  $newSlide.addClass( 'ps-move' ).css( 'top', 0 );

  // if no CSS transitions set the isAnimating flag to false
  if( !support ) {

   isAnimating = false;

  }

 }, 0 );

 // update nav images
 updateNavImages();

};
And that’s it! I hope you enjoyed this tutorial and find it inspiring!
View demo Download source

mardi 16 octobre 2012

jQuery In Wordpress - 35 Of The Best Plugins To Customize Your Blog

jQuery In Wordpress - 35 Of The Best Plugins To Customize Your Blog: Adding a jQuery plugin to your Wordpress site can be done in two ways, a hard one and an incredibly simple one. The hard way to do it is include the jQuery plugin in header.php. For a web designer or web developer that is a piece of cake, but for a regular user that can be a little difficult. The second way to do it, and the easy one, is to install

Call-To-Action Bars With jQuery – jBar

Call-To-Action Bars With jQuery – jBar:
There are situations where we may want to catch the attention of visitors without disturbing them.
This can be a notification about user's account, a promotion on a product or similar.
Call-to-action-bars are great for such usage and jBar, a jQuery plugin eases creating them.
jBar
jBar notifications are displayed for a few seconds at the top of the web page and toggles automatically. After that user can click a ribbon to show/hide it.
The plugin is lightweight and its functionality + style can be completely customized quickly.
Advertisements:
Infragistics jQuery controls deliver the magic of HTML5, w/o sacrificing resources, time, or money.

mardi 2 octobre 2012

15 Great Responsive jQuery Slider Plugins

15 Great Responsive jQuery Slider Plugins:
responsive-jquery-sliders
Responsive jQuery slider plugins are great for adding slider effects to responsive websites and templates. As you will see below there are some really good options available.
Lately responsive web design have been one of the most talked about and hot topics and it is easy to understand why. The huge explosion of mobile devices with internet access have made clients ask for mobile versions of their websites. Native mobile apps are however quite costly and dedicated mobile web apps (mobile copies of existing websites) require extra maintenance and cost for delivering the same content. Ethan Marcotte started a snow ball effect with his definition of responsive web design back in May 2010. (you may want to read his article “Responsive Web Design”). Today responsive websites show up everywhere and there are literally tons of building blocks available for creating responsive them faster. One example, besides responsive jQuery sliders, is responsive WordPress themes where you get an entire responsive solution in one package. Many of these themes have responsive sliders integrated already.
In this article you will find some of the best responsive slider scripts available right now. Some are free but there are also great and not too expensive premium options available. Hope you find what you are looking for and that you are going to drop a comment or share the article with your friends and coworkers.



ElegantThemes
Hostgatorhttp://envato.s3.amazonaws.com/referrer_adverts/tf_260x120_v2.gif
ThemeForest
Advertisement Disclosure: Please note that some of the links below are affiliate links and I will earn a commission if you purchase through those links (at no extra cost to you). I recommend that you do your own independent research before purchasing any product or service. This article is not a guideline, a recommendation or endorsement of specific products.

RoyalSlider – Touch-Enabled jQuery Image Gallery

RoyalSlider is easy to use jQuery image gallery with animated captions, responsive layout and touch support for mobile devices. Easily add unlimited number of slides and captions. Use it as image slider, image gallery, banner rotator, banner ads, or even presentation.
royal-responsive-jquery-slider
MORE INFO | DEMOby CodeCanyon (Premium Plugin)

Fotorama

Fotorama is a  simple, stunning and powerful Javascript gallery. You can place it in fixed, fluid and responsive environments and keep your galleries neat.
fotorama
MORE INFO | DEMOby Fotorama (Free Plugin)

jquery Slider Ken Burns Effect Fully Responsive

This Ken Burns enables responsive jQuery Slider is a collection of 4 silder designs: Fixed Dimensions, Full Width, Full Screen and SideBar banners/Mini-Galeries. See the features and check the live preview of this slider and convince yourself of its quality.
jquery-slider-with-ken-burns-effect
MORE INFO | DEMOby CodeCanyon (Premium Plugin)

Flexslider

Flexslider is an awesome, fully responsive jQuery slider plugin with simple, semantic markup, major browsers support, horizontal/vertical slide and fade animations, multiple slider support, Callback API, and more.
flexslider[3]
MORE INFO | DEMOby Woo Themes (Free Plugin)

Ether Grid Slider jQuery Plugin

Ether Grid Slider is a jQuery plugin for transforming any content into grids and/or sliders. You can use it with any type of content such as images, videos, services, testimonials, featured stories or blog feeds to name a few. It comes with many options and can be used as a base for powering various sliders across entire applications.
ether-grid-slider
MORE INFO | DEMOby CodeCanyon (Premium Plugin)

Responsive KenBurner Slider jQuery Plugin

Responsive KenBurner Slider jQuery Plugin allows you to add cool responsive slides to your website. A combination of Ken Burns Effect, state-of-the-art Slider, Text Animations and Responsive rebuilding defines this slider. Customize this slider with just a little HTML and CSS to your very needs. Give each slider some captions to transport your message. Use your Ken Burns Animated banner elements with the possibility of playing YouTube and Vimeo clips in a special detail view with describing text.
responsive-jquery-slider-kenburner
MORE INFO | DEMOby CodeCanyon (Premium Plugin)

Responsive Image Gallery with Thumbnail Carousel

Inspired by Twitter’s “user gallery” and upon a request to show an integration of Elastislide, this plugin implements a responsive gallery that adapts to the view-port width. The gallery will have a view switch that allows to view it with the thumbnail carousel or without.
responsive-gallery
MORE INFO | DEMOby Codrops (Free Plugin)

Slider Revolution Responsive jQuery Plugin

This plugin features tons of unique transition effects, an image preloader, video embedding, autoplay that stops on user interaction and lots of easy to set options to create your own effects. All customization can be handled via jQuery Options, HTML 5 data-attributes and CSS !
slider-revolution
MORE INFO | DEMOby CodeCanyon (Premium Plugin)

Elastislide – A Responsive jQuery Carousel Plugin

Elastislide is a responsive jQuery carousel that will adapt its size and its behavior in order to work on any screen size. Inserting the carousels structure into a container with a fluid width will also make the carousel fluid.
elastislide
MORE INFO | DEMOby Codrops (Free Plugin)

CCSlider – jQuery 3d Slideshow Plugin

CCSlider is an unique jQuery slideshow plugin. It supports 3d transitions! There are 14 stunning 3d transitions available, and also 16 stylish 2d transitions. You have the option for mentioning a 2d transition fallback for old browsers that don’t support HTML5 Canvas, which is used for producing the 3d transitions. The slider is fully responsive, works in mobile devices and supports touch gestures to navigate through the slides. The plugin also supports HTML captions, autoplay of slides, custom HTML content and custom transitions per slide. See below for a list of features available in the plugin.
ccslider-jquery-3d-slideshow-plugin
MORE INFO | DEMOby CodeCanyon (Premium Plugin)

UnoSlider

UnoSlider is an advanced image and content slider which is built with responsive design and mobile devices in mind. It features unlimited transition animations (really, unlimited!) and a wide range of a features like touch enabled, mobile optimized interface, animated layers, and a lot of other features.
unoslider
MORE INFO | DEMOby CodeCanyon (Premium Plugin)

Translucent – Responsive Banner Rotator / Slider

This is a jQuery Banner Rotator / Slideshow with translucent background set for caption. It supports responsive and fluid layouts, touch swipe navigation on iPad and Android tablets and many other awesome features.
translucent-responsive-slider-jquery-script
MORE INFO | DEMOby CodeCanyon (Premium Plugin)

Advanced Slider – jQuery XML slider

Advanced Slider is built to be used in a wide range of contexts. Advanced Slider is fully responsive, mobile-ready, SEO -friendly, and offers you the option to use either HTML markup or XML . The plugin also provides an easy to use API which will allow you to further enhance the functionality of the slider and will make it possible to integrate it into your own application.
advanced-slider-jquery-xml-slider
MORE INFO | DEMOby CodeCanyon (Premium Plugin)

Megafolio Gallery jQuery Plugin (not a slider, but cool to showcase images)

Megafolio is a highly customizable jQuery Plugin to present your Gallery or Portfolio. It uses the power of jQuery to present your pics in a grid layout with a masonry effect (custom width or 100% width responsive). The detail lightbox shows the elements in original size(or a video) and gives your viewers the chance to use the usual social buttons and read a describing text.
megafolio-gallery-jquery-plugin
MORE INFO | DEMOby CodeCanyon (Premium Plugin)

Blueberry

Blueberry is an experimental opensource jQuery image slider plugin which has been written specifically to work with fluid/responsive web layouts.
blueberry
MORE INFO | DEMOby Mark Tyrell (Free Plugin)

Author : Lars Vraa