jquery4u.com - Archives (avril 2013)

1 jQuery Fan Blog for your Daily News, Plugins, Tuts/Tips & Code Snippets.

Le: 30 04 2013 à 23:00 Auteur: Sam Deering

Today we are showcasing you 10 jQuery and CSS3 Mobile App Styles for your mobile app needs! They are really cool and worth checking out, Enjoy! 1. Anonymous Pen jQuery Responsive Web Design Checker Source + Demo 2. Twitter buttons without the iframe Embedding Tweet...

Le: 30 04 2013 à 03:46 Auteur: Sam Deering

Some cool web development stuff was found last month, here are the finds. Enjoy & leave a comment! :) Also see: Interesting Web Finds – MAR 2013 Interesting Web Finds – FEB 2013 Interesting Web Finds – JAN 2013 jQuery is a Swiss Army knife...

Le: 28 04 2013 à 05:57 Auteur: Daniel

In field of web designing the technology has become popular with many updates and supporting plug-ins. JQuery is one of the most popular and widely used technologies that you use for your site. In present days websites are created with functionalities of jquery. So, here...

Le: 25 04 2013 à 22:45 Auteur: Sam Deering

So I guess you should consider using $.closest() instead of $.parents(). But first, as always you need to know what your dealing with – the key difference between them. .closest() .parents() Begins with the current element Begins with the parent element Travels up the DOM...

Le: 25 04 2013 à 22:27 Auteur: Sam Deering

So have you ever seen JavaScript  in your code? On initial thoughts you may think it looks like illegal tab characters of some kind (this sort of thing commonly occurs sometimes when you copy and paste code ie – special characters when you paste...

Le: 24 04 2013 à 23:00 Auteur: Daniel @ Makeideaz

Something different in today’s post we bring you a run down of The Best Android Media Players available from Google Play App Store. 1. MusiXmatch Lyrics Player Avid music lovers and movie buffs have no special time for listening to music or watching movies. Anytime...

Le: 24 04 2013 à 23:00 Auteur: Daniel

Something different in today’s post we bring you a run down of The Best Android Media Players available from Google Play App Store. 1. MusiXmatch Lyrics Player Avid music lovers and movie buffs have no special time for listening to music or watching movies. Anytime...

Le: 23 04 2013 à 23:00 Auteur: Sam Deering

Some cool web development stuff was found last month, here are the finds. Enjoy. Also see: Interesting Web Finds – FEB 2013 Interesting Web Finds – JAN 2013 jsDay From the organizers of the phpDay, the first international conference on JavaScript in Italy. Source Flat...

Le: 21 04 2013 à 23:00 Auteur: Sam Deering

In today’s post we bring to you 10 jQuery Horizonal Scroll Demos & Plugins useful for those who see things horizontally. I guess we have to accept some people scroll both ways! :) 1. Smooth Vertical or Horizontal Page Scrolling with jQuery In this tutorial...

Le: 20 04 2013 à 04:10 Auteur: Sam Deering

As promised, this version leaves behind the older Internet Explorer 6, 7, and 8 browsers. In return it is smaller, faster, and can be used in JavaScript environments where the code needed for old-IE compatibility often causes problems of its own. But don’t worry, the...

Le: 17 04 2013 à 23:00 Auteur: Vadim Jacobi

If you want to showcase high resolution images on your website then you can never go wrong with Ajax-Zoom. This jQuery plugin, Ajax-Zoom does NOT require any browser plugins such as Flash, Java or Silverlight perfect for E-Commerce, extended product presentations and other applications. View...

Le: 15 04 2013 à 23:00 Auteur: Raphael Wildhaber

Introduction I would like to present a new & clean theme for jQuery Mobile 1.3 calling nativeDroid. The first release of nativeDroid (v0.1) you can find on nativedroid.godesign.ch. Its freely available and can be used in any private and commercial projects. You’re just encouraged setting...

Le: 11 04 2013 à 23:45 Auteur: jquery4u

Leading on from Speed Test $(this) vs .get() vs .eq() I decided to do a quick test to compare the speed of $(this).attr(“id”); vs this.id which can be used on native attributes such as id, src, href, style etc… but not on properties such as...

Le: 11 04 2013 à 23:45 Auteur: Sam Deering

Leading on from Speed Test $(this) vs .get() vs .eq() I decided to do a quick test to compare the speed of $(this).attr(“id”); vs this.id which can be used on native attributes such as id, src, href, style etc… but not on properties such as...

Le: 11 04 2013 à 23:32 Auteur: jquery4u

Each loop cache performance – test to see if grabbing the current element from inside the each is possible/faster from a cached array of elements. Namely $(this) vs .get() vs .eq() with .text() and textContent/innerText. Tests run with jQuery 1.9.1. Similar to: jQuery Speed Test:...

Le: 11 04 2013 à 23:32 Auteur: Sam Deering

Each loop cache performance – test to see if grabbing the current element from inside the each is possible/faster from a cached array of elements. Namely $(this) vs .get() vs .eq() with .text() and textContent/innerText. Tests run with jQuery 1.9.1. Similar to: jQuery Speed Test:...

Le: 11 04 2013 à 22:43 Auteur: Sam Deering

Basic code snippet to refresh the page on a browser resize using JavaScript. //refresh page on browser resize $(window).bind('resize', function(e) {   console.log('window resized..');   this.location.reload(false); /* false to get page from cache */   /* true to fetch page from server */ }); If...

Le: 10 04 2013 à 23:00 Auteur: Sam Deering

Today’s post brings us more or the ever popular jQuery and HTML5 plugins focused on HTML placeholders for form input fields. If you didn’t know HTML5 placeholder is a new attribute to INPUT elements provided to us by HTML5 markup. The placeholder attribute shows text...

Le: 10 04 2013 à 22:55 Auteur: Sam Deering

I was wondering why we call our programming glitches and errors “a bug”. So I did some quick research… 1. Thomas Edison Thomas Edison wrote the following words in a letter to an associate in 1878: It has been just so in all of my...

Le: 05 04 2013 à 01:00 Auteur: Sam Deering

I decided to test the performance of DOM caching in a basic JavaScript namespacing pattern which I use quite a lot when coding on a day to day basis. You could get upto a 94.5% increase in performance when you use DOM caching. Here is...

Le: 04 04 2013 à 23:00 Auteur: Sam Deering

Tab control usability hover triggers in jQuery. Tested and works in Chrome, FF, IE9, IE8. Load is jsfiddle for TAB demo to work. jsfiddle The tabindex Property The tabindex attribute is supported in all major browsers, except Safari. HTML5 – tabindex attribute can be used...

Le: 03 04 2013 à 23:00 Auteur: Sam Deering

I was looking back at some work and thought it would be good to do a post about different ways to load JavaScript functions (notably foo()) from inside HTML elements. Take a look below at some examples. 1 – anchor naked Mouse cursor may not...

Le: 03 04 2013 à 22:54 Auteur: Sam Deering

What is javascript:void(0);? This operator allows inserting expressions that produce side effects into places where an expression that evaluates to undefined is desired. The void operator evaluates the given expression and then returns undefined. Example Usage <a href="javascript:void(0);">Click here to do nothing</a> <a href="javascript:void(document.body.style.backgroundColor='green');">Click here...

Le: 03 04 2013 à 22:50 Auteur: jquery4u

The jQuery.ajax() function is basically just one big jqXHR object (essentially a fake javaScript xhr object). The jqXHR (jQuery XMLHttpRequest) replaces the browser native XMLHttpRequest object. jQuery wraps the browser native XMLHttpRequest object with a superset API. The jQuery XMLHttpRequest (jqXHR) object is returned by...

Le: 03 04 2013 à 22:00 Auteur: Sam Deering

Documenting some vhost settings fix workaround for VM blocking loading of static resources CSS/JS. Might be useful for someone using Virtual machines and having hanging page loads caused by blocked static content served by Akamai. 127.0.0.1     localhost # Workaround for VM blocking loading...