background preloader

Reveal: jQuery Modal Plugin

Reveal: jQuery Modal Plugin
Setting up Reveal modals is only three easy steps. Attach the needed files, drop in your modal markup then add an attribute to your button. Reveal is awesome because it's easy to implement, is cross-browser compatible with modern browsers (with some graceful degradation of course) and lightweight coming in at only 1.75KB. What that means for you is that it's fast, sexy and just works. Now let's see how easy is can be to get Reveal working! Reveal is now part of Foundation! This version of Reveal has been depreciated. Visit Foundation Step 1: Attach Needed Files Step 2: The Modal Markup Step 3: Attaching Your Handler By putting the "data-reveal-id" attribute on the anchor, when clicked the plugin matches the value of the "data-reveal-id" attribute (in this case "myModal") with an HTML element with that ID. Basically, put the "data-reveal-id" attribute on an object and make it's value the ID of your modal. Options Every good plugin has options, and this one has just a few, but important ones:

40 jQuery Plugins to Make Your Website User Friendly The basic function of a plugin is for it to perform an array of methods with a collection of elements. Each method which comes with the jQuery core such as a plugin, like .fadeOut() or .addClass() . A jQuery plugin is basically a new method which is used in order to extend the jQuery’s prototype object. When extending the prototype object all of the jQuery objects are enabled and are able to inherit any methods which are added. jQuery has a vast community of skilled developers who continually create incredible scripts and applications for the web. However, it tends to become a rather difficult endeavor by which to sift through everything that is being released by which to discover the scripts that are absolute must-haves for your development tasks. Enjoy! 1. FlowType.JS is a jQuery plugin which can auto-resize the font-size and line-height (according to the width of the element wrapping it) so that our content is displayed just as we prefer. 2.jQuery Flat Shadow 3. 4. tidyTime.js 5. 6. 7.

Circular Content Carousel with jQuery Today we want to share a simple circular content carousel with you. The idea is to have some content boxes that we can slide infinitely (circular). When clicking on the "more" link, the respective item moves to the left and a content area will slide out. Now we can navigate through the carousel where each step will reveal the next or previous content box with its expanded content. View demo Download source Today we want to share a simple circular content carousel with you. The beautiful animal icon set in the ZIP file are by Cyberella and they are licensed under the Attribution-NonCommercial-NoDerivs 3.0 Unported (CC BY-NC-ND 3.0) License. The HTML Structure The structure consists of a main container and a wrapper for the items. The initial view of the content carousel: When we click on “more…”, another content area will slide out and move the respective item to the left: The default options are the following: We hope you enjoy this simple carousel and find it useful! View demoDownload source

jQuery TwentyTwenty Plugin Need to highlight the differences between two images? TwentyTwenty, a visual diff tool, makes it easy to spot them! Download TwentyTwenty The Problem We recently needed a way to showcase the visual differences between two images. One of our Design Leads pointed us to Canada Goose, a cold weather outfitter. This sparked a few new ideas on how to do something similar for our own needs. Responsive and functional on all devices Doesn't require images to workWorks with Foundation out of the box How it works TwentyTwenty works by stacking two images on top of each other. We're using custom movement events from the jquery.event.move library in order to support 1:1 slider movement on mobile devices. Setting up It's easy to get started, just wrap two images inside of a container. Then call twentytwenty() on this container once the images have loaded: $(window).load(function() { $("#container1").twentytwenty(); }); And voila! Preventing FOUC JavaScript Options Dependencies Customizing

Unique scrolling website. jQuery Plugins and techniques. - wwValue. Design, free psd, Icons, vectors. Website templates. Wordpress optimization The top trends of web design are managing content in a completely different way as we always used it. No more common breadcrumbs, left side or top side menus with navigation links. Now we get more fancy way of representing our portfolio, photo galleries or promotion pages. You can ask how they do all these fancy stuff? Here you will find a list of tutorials and also a list of jQuery plugins for creating a scrolling presentational website. Acsensor.js Ascensor is a jquery plugin which aims to train and adapt content according to an elevator system, where pages are navigated by clicking on customizable navigation are or by using previous/next buttons. Features: Make every div child a stage of the siteAdd in every div a link for the next div (true/false)Create a visual navigation (true/false)Deactivate the arrow key (true/false)Adapt and scroll to the active content)Create friendly Code.URL logical supportView Demo Acsensor.jsDownload Acsensor.js Scrollorama Curtain.js Features Compatibility

MeanMenu - a jQuery responsive menu Plugin | MeanThemes The Main Features Hide or show menu childrenTarget navigation element to swap out with MeanMenuOrientation adjustment (centered menu will reposition when you tilt the device)Control screen width at which MeanMenu activatesExpanding/Collapsing sub navigationBundled with configurable CSSQuick to setup and configureMedia Query independent The Demo The dedicated demo page All of the boring “how to implement” stuff is over on… The WordPress Plugin Buy via PluginHero The jQuery Plugin Github or download it straight away: MeanMenu zip download The Small Print This jQuery plugin is free for you to use and implement, we do not offer any official support for the plugin, if you would like to ask any questions though, please do over on our contact page. Please note: This is not a menu system replacement. If you are looking for drop down functionality on the desktop, MeanMenu doesn’t do it.

S Gallery: A Responsive jQuery Gallery Plugin with CSS3 Animations Today I'm going to share with you a gallery plugin I built (yeah, like the world needs another gallery plugin, right?) after having stumbled upon SONY's products gallery while I was browsing their website a while ago. Their products' image gallery is a simple one, but two things grabbed my attention about the gallery: It's made with Flash when it can totally be created with HTML, CSS3 and Javascript. It has a neat feature: exiting the slideshow mode back to the grid view mode, the last image which was active in the slideshow mode "returns back" to its position in the grid view, thus the user knows where they have stopped and what images are left in the gallery that they haven't maybe browsed. This is a neat feature which serves as a brain cue and thus is a nice and positive UX-aware touch. The plugin uses HTML5's FullScreen API, and relies heavily on CSS3 animations transforms, so it will work only in browsers that support these features. Markup And that's all you need in the markup.

jquery - Progress bar should display on screen until web page loads fully How to 'lazy'-load images with jQuery – Christian Fei – Web Developer In this tutorial you'll learn how to delay the loading of images in long web pages. Images outside of the viewport (visible part of web page) wont be loaded before the user scrolls to them. This is the exact opposite of image preloading. I needed this little hack, because of a couple of lists with many images (here,here & here). You can try it out by yourself by clicking on the links above and see it in action. A sneak peek of what you'll get: Before/while the user scrolled on the images : Images that now 'lazy'-loaded successfully : How to implement it This steps are pretty simple and straightforward, though you have to alter your html code: 1) Download the minified version of lazyload from github 2) In the-tag of your site you have to get the latest jquery and also include the lazyload source : 3) Now change the following things where you have images that you want to lazy-load : a) The source attribute src in your images needs to be replaced by the custom data-original attribute. After :

Sliding Letters with jQuery Today we have a neat little effect for you. We want to bring some life to the standard hover effect by playing around with the letters in an anchor word. The aim is to slide in letter by letter when hovering over a link element. We can either have the same word or a different […] Today we have a neat little effect for you. We will be using the Lettering.js jQuery Plugin which you can find on Github. Example In the following we will go through an example and we’ll start by the html for a little menu: We will use data-hover to indicate the word that should appear on hover. So, “sl-w1″ is the class for the first word letters and “sl-w2″ is the class for the second word letters. Finally, we call the plugin: The following settings can be used: We hope you liked this little experiment and find it useful! View demoDownload source

html - How can I insert text from an external file onto a div jQuery Fundamentals :: A guide to the basics of jQuery

Related: