background preloader

Gmaps.js — Google Maps API with less pain and more fun

Gmaps.js — Google Maps API with less pain and more fun

Lazy Load 1.7.0 Released PhotoPhoto Marise Caetano Previous version of Lazy Load gained traction pretty fast. Good patches were submitted to GitHub. This version of plugin mostly concentrates on speed optimization and event handlers. New Events Two new events were added. New Parameter New parameter data_attribute was added. Renamed Parameter Parameter effecspeed was renamed to effect_speed. Selectors Viewport selectors got tuned up. $("img:in-viewport").something(); $("img:below-the-fold").something(); $("img:above-the-top").something(); $("img:left-of-screen").something(); $("img:right-of-screen").something(); Download Latest source or minified. When asking a question please include an URL to example page where the problem occurs.

Exporter Where am I? Export Manually select a different area Licence OpenStreetMap data is licensed under the Open Data Commons Open Database License (ODbL). This area is too large to be exported as OpenStreetMap XML Data. Overpass API Download this bounding box from a mirror of the OpenStreetMap database Planet OSM Regularly-updated copies of the complete OpenStreetMap database Geofabrik Downloads Regularly-updated extracts of continents, countries, and selected cities Metro Extracts Extracts for major world cities and their surrounding areas Other Sources Additional sources listed on the OpenStreetMap wiki Welcome to OpenStreetMap! OpenStreetMap is a map of the world, created by people like you and free to use under an open license. Learn More Start Mapping <div id="noscript"><p>You are either using a browser that does not support JavaScript, or you have disabled JavaScript. 100 km 100 mi © OpenStreetMap contributors ♥ Make a Donation

Website Tour with jQuery Today we want to share a little script with you that allows to create a tour on a website with jQuery. This can be very useful if you want to explain your users the functioning of your web application in an interactive way. You might have noticed that Facebook used something like […] View demoDownload source Today we want to share a little script with you that allows to create a tour on a website with jQuery. You might have noticed that Facebook used something like this to explain the new features of the profile. The idea is to add a certain class to elements that you want to guide the user through and explain what they do. Another option that you can use is autoplay which will allow the user to simply sit back and watch every step without having to click on the next button. To use this, you simply have to add a certain class to an element that you want to describe in the walk-through. Now, we will configure the steps in a JSON object. By default, we will have autoplay disabled.

Ajax AutoComplete for jQuery About jQuery Autocomplete allows you to easily create autocomplete and autosuggest boxes for text input fields. Built with focus on performance - results for every query are cached and pulled from local cache for the same repeating query. If there are no results for particular query it stops sending requests to the server for other queries with the same root. What's new $('#query').autocomplete(options) now returns an Autocomplete instance only for the first matched element. Autocomplete functionality can be disabled or enabled programmatically. var ac = $('#query').autocomplete(options); ac.disable(); ac.enable(); Options can be changed programmatically at any time, only options that are passed get set: If you need to pass additional parameters, you can set them via setOptions too: New parameters when initializing autocomplete. var reEscape = new RegExp('(\\' + ['/', '.', '*', '+', '?' Installation Include jQuery in your header. How to use Create an instance of the Autocomplete object. Notes:

Response JS: mobile-first progressive enhancement in HTML5. How to Code a jQuery Rolodex-Style Countdown Ticker Get the FlatPix UI Kit for only $7 - Learn More or Buy Now I’m sure many of you are familiar with how an office rolodex works. You have a series of cards with contact information which you can flip over to sort through alphabetically. More specifically I have seen a couple countdown widgets on landing pages. Selecting Graphics I am admittedly not an amazing Photoshop design guru. I really love this flip-clock countdown for both the gradients and textures. However I want to use dynamic HTML inside each div to update the counter. Core HTML Layout For this example we don’t need a whole bunch of confusing HTML markup. Inside a single block area we have three core sections. The last area contains the label text for each card. Detecting Clock Numbers Inside the top span area of each column I’ve appended some default numeric values. Our goal would be to then check each of these numerical values on pageload and set them to static variables. JavaScript setInterval() Base Timing and Logic Conclusion

Timeline Portfolio Timeline is a jQuery plugin specialized in showing a chronological series of events. You can embed all kinds of media including tweets, videos and maps, and associate them with a date. With some design tweaks, this will make it perfect for a portfolio in which you showcase your work and interests. The HTML Timeline comes with a light colored theme by default. First, let's look at the basic layout of the page: index.html <! In the head section, we have the plugin's stylesheet - timeline.css, and styles.css, which will hold our customizations. When we call the plugin, it will search for a div on your page with the ID of timeline. <div class="container main" id="timeline"><div class="feature slider" style="overflow-y: hidden;"><div class="slider-container-mask slider-container slider-item-container"><! As we will be modifying the CSS of the timeline, the fragment above will give you a better idea of the customizations. The jQuery The init method takes single argument - the data source. The CSS

Tutorial: Create a Beautiful Password Strength Meter Martin Angelov In this tutorial we will be creating a beautiful password strength indicator. It will determine the complexity of a password and move a meter accordingly with the help of the new Complexify jQuery plugin. Only when a sufficiently complex password is entered, will the user be able to continue with their registration. A PSD file is also available, so you can customize the form to your liking. The HTML We start off with a standard HTML5 document that will include our registration form. index.html <! We are including the latest version of jQuery, the Complexify plugin and our script.js right before the closing body tag for better performance. Password Strength Meter jQuery The jQuery code below is quite straightforward. assets/js/script.js With this out of the way, we can move on with the Complexify plugin that will validate the password. By tweaking the strengthScaleFactor property you can allow simpler passwords to be used. assets/css/styles.css We’re done! by Martin Angelov Tutorials

blur.js

Related: