background preloader

Jquery snippets

Facebook Twitter

60 Amazing jQuery Sliders, Carousels and Other jQuery Image Plugins Creative Can. This is one of the largest and most up to date collections of jQuery slider plugins. I’m sure you will find some of them useful for adding cool slider effects to your web pages. It is more and more common to see jQuery slider plugins used for image slideshows, carousels and for creating html slider effects on websites. It is a really great solution for showcasing sequential images or featured articles without taking up too much space. To have a jQuery banner, content slider, carousel, gallery or any image presentation system on your web page, you certainly have the option to code it from scratch. However, if you want to save yourself serious time and effort, you can just grab a ready to use jQuery slider plugin and integrate it into your website.

Here in this article, I am sharing a huge collection of amazing jQuery sliders, carousels and other content sliding effects available as jQuery plugins. Slider Revolution Responsive jQuery Plugin - MORE INFO / DEMO Slides - MORE INFO / DEMO. Spritely.net. MaxImage: jQuery image scaler – Now with center-ability! | aaron vanderzwan.

“Outside the Box” Navigation with jQuery. Vertical Scroll Menu with jQuery Tutorial. Introduction Just last week, I came accross to this website Narrow Design. His scroll menu caught a lot of my attentions, I played with it for a while. Yes, unfortunately, it's built in flash. And, Yes, we are going to implement it with jquery - javascript based scroll menu that will do the same thing. Of course, it will not be 100% the same, because some of the fancy features just not that practical to implement with javascript. Advertisement Best online printing company offers postcards printing, custom greeting cards - PsPrint.com So, in this tutorial, we will learn how to create a scroll menu. Keep html as simple as possible, and let jQuery and CSS do the rest.Scoll up and down according to mouse-Y axisUse jQuery.color plugin to animate the background-color changes - download jQuery.color(Yes, you will need this to animate the background color, I thought it will do it by default, obviously it doesn't!

Just before we start, let me explain 3 important jquery methods we're going to use: Creating the iPhone unlock screen using xHTML, CSS and jQuery. The iPhone: Everybody knows what it is, many people "played around" with the gadget and most people love it. I also own one of these amazing smartphones, and the looks of the software is really, really sleek and innovative (Just like we're used from Apple).

I wanted to transfer (some) of these amazing designs to a webpage to re-create the same look and feel for webbrowsers. Today, I'm going to show you how to create The iPhone unlock screen in xHTML, CSS and jQuery. OK, maybe not fully the "feeling" (look and feel) from the iPhone, since I can't make any webbrowser react to placing your finger on the screen, but your mouse will do the trick. Features: XHTML and CSS valid. "Timer" displays the current time (Just like the iPhone). Known issues The "slider" doesn't slide back (what the iPhone does).

Other than those minor issues, it works as expected. Resources Before I started, I needed some reference material to work with. For the beautiful background image, I took a wallpaper from SocWall. How To Build A Site That Works Like Pinterest | Ben Holland – Web Development. Ok, if you have no idea what Pinterest is then go check it out. It is a website that lets you organise and share all your favourite things by using pinboards. It really is a cool site, but what I find interesting is how these pinboards are laid out. I've seen something similar before with jQuery Isotope where blocks are perfectly positioned into a series of columns, and as the screen size changes, the columns re-shuffle to make sure they fit inside the screen.

So the purpose of this tutorial is to re-create this responsive block effect ourselves... Click here to see a demonstration of what we're making Tip: resize the window The Theory Right, before jumping into the code, we need to get the theory sorted in our heads. From this data, we then calculate the number of possibly blocks that would fit in the window. Setting Up The Blocks So there's some information about the theory behind both Pinterest and jQuery Isotope. The HTML Structure <body onload="setupBlocks();"><! The CSS The jQuery. Create Magical Layouts With Isotope, A Great jQuery Plugin | Ben Holland – Web Development. Isotope is an exquisite jQuery plugin for magical layouts that can readjustment themselves depending on the browsers dimensions. Along with filtering and sorting functionality, this is a truly powerful plugin. I came across the plugin whilst developing a project that required blocks of various heights to fit perfectly in the page.

Accompanied by the Infinite Scroll plugin, Isotope made the project a great success. Check out what I'm talking about here... See a DEMO So How Can I Use Isotope In My Projects? It's really simple. It's All Very Nice, But What Can I Change? Isotope comes with a wide range of options for you to select, ranging from changing the type of animation engine it uses (CSS or animate) to adjusting whether the items are sorted in ascending order or descending. See a list of all the options OK, So How Do I Implement This? Well, the most basic implementation is to tell the plugin what container to apply itself too and what items to sort. That's it really. 85 Awesome jQuery Slider Plugins. Slider are very useful and increasingly popular web page elements used for highlighting important content. By using a jQuery slider plugin, one can create amazing HTML slider effects with fancy animations of content elements like text and images. jQuery takes care of the difficult aspects like browser support and typically when using jQuery plugins it can be done with very little coding effort.

This is the reason why jQuery sliders and jQuery banner slideshow scripts have become very popular on most types of websites. They are are typically used to feature multiple products, news, video etc. without taking up a lot of space on the pages. In fact, we see sliders on most news and business websites today and they are placed on the most important location over the fold on the front page. The jQuery library has undoubtedly made the life of web developers easier and made it possible for non-experts to do fancy stuff themselves. Advertisement Article Index Camera Slider – MORE INFO. 150 best jQuery effects for web designers and developers. Rama - Slider. Check out all examples 1. Example 2. Example 3. Example 4.

RAMA - 3. Is it hard to implement? No! < li data-transition="slide-leftright"> < img src="images/theme_sport/image_1.jpg"> < div class="creative_layer mygooglefont"> < div class="logo faderight">< img src="images/yourlogo.png" alt="">< /div> < div class="title fadeup">Awesome title! Preperation time: 15 min. Clean Documentation. MiniSlides - Portfolio and PriceBox Rotator. LayerSlider - The Parallax Effect Slider Preview. Follow Button. Updated on Fri, 2014-02-07 13:58 The Follow Button is a small widget which allows users to easily follow a Twitter account from any webpage. The Follow Button uses the same implementation model as the Tweet Button, and its integration is just as simple. By using the Follow Button, you agree to the Developer Rules of the Road. Overview This documentation page is for developers and users who wish to build their own Follow Buttons.

If you are looking for a quick way to build a Follow Button for your website, you can visit our Follow Button Configuration Page. User Interaction User interaction flow The user interaction flow for the Follow Button was designed to be as streamlined as possible and easy to use for developers, website owners and users. Signed in to twitter.com: When clicking the Follow Button, the user will instantly be following the target user. Detect user interaction Add the Follow Button to your Website There are two ways you can add the Follow Button to your webpage. Button Size. 10 awesome jQuery snippets. Preloading images Preloading images is useful: Instead of loading an image when the user request it, we preload them in the background so they are ready to be displayed. Doing so in jQuery is very simple, as shown below: (function($) { var cache = []; // Arguments are image paths relative to the current page. $.preLoadImages = function() { var args_len = arguments.length; for (var i = args_len; i--;) { var cacheImage = document.createElement('img'); cacheImage.src = arguments[i]; cache.push(cacheImage); } } jQuery.preLoadImages("image1.gif", "/path/to/image2.png"); → Source: target=”blank” links The following snippet will open all links with the rel="external" attribute in a new tab/window. $('a[@rel$='external']').click(function(){ this.target = "_blank"; }); /* Usage: <a href=" rel="external">catswhocode.com</a> */ → Source: