Enter your contact information.
Enter your project information.
Step 3Choose the PHP programmers you want to hire.
Compare Free PHP Quotes
Load Only What You Need With Yepnope.js
*Attention PHP Programmers* - Add A Free Listing! Get more clients.
If you’ve started using HTML5 and CSS 3 in your projects, chances are you’re using Modernizr to detect for features and gracefully degrade for those browsers that don’t support the latest and greatest on the web.
Modernizr adds classnames to your page which you can then use for browsers that support the HTML5 features you’re using. It’s a great tool, but it does have some overhead; wouldn’t it be cooler if you could just test for features and load polyfills all in one step?
That’s the thinking behind the powerful (and cleverly named) Yepnope.js. Yepnope is an asynchronous conditional resource loader which loads only the scripts that your users need. And at 1.6kb it won’t add much overhead to your page.
In fact, Yepnope.js is so handy it will be integrated into Modernizr 2, which is currently a beta release.
That said, Yepnope.js isn’t right for every situation and the project freely admits that some other conditional loaders are a bit faster. One gotcha to be aware of is that Yepnope.js requires that your server sends proper cache headers. Hopefully your sever does, but with some shared hosting setups that just isn’t possible.
If Yepnope.js doesn’t do quite what you want there are other options like the larger, but more feature-rich RequireJS.
See Also:
- Using HTML5 Today With Modernizr
- Handy Guide to Detecting Support for HTML5
- Modernizr Collects HTML5 Fallbacks for Older Browsers
- CSS3 Pie Lets You Have Your CSS and IE It, Too
Thu, 02 Jun 2011 16:10:10 GMT
Tags: HTML5, JavaScript,
*Attention PHP Programmers* - Add A Free Listing! Get more clients.
HTML5
HTML5 for Web Developers
If you’ve ever tried to wrestled your way through the complexities of the HTML5 specification, we’ve got good news — there’s now a “web developer edition.” The main HTML5 spec can be overwhelming for web developers tryi
Microsoft, Mozilla Battle Over What Makes a ‘Modern’ Web Browser
Microsoft and Mozilla are trading barbs over the coming Internet Explorer 9. Microsoft has been touting its HTML5 support in IE9, claiming that it renders HTML5 better than Firefox (and Chrome, Safari and Opera). Mozilla then turned around and released an
HTML5 Will Be Done in 2014, What Comes Next?
Web developers were given a green light Monday to start using HTML5. Even though many are already using the still-unfinished language to code complicated web apps, the web’s governing body made the transition official by announcing that HTML5 will b
JavaScript
JavaScript Fade Tutorial – Fading Elements In/Out
One of the most common JavaScript effects is fading elements and text in and out. Fortunately, it isn't very difficult to script and doesn't require a JavaScript framework.
JavaScript Slider – TinySlider 2
This full-featured and standalone JavaScript slider is easily configurable and visually customizable using CSS. It also clocks in at a tiny 3KB.
Simple AJAX Function with Example
TinyAjax is a simple AJAX function that makes it easy to call and process GET and POST transactions. Check out the example.
Skytec Web Hosting is California based internet services company that specializes in web hosting solutions for corporate companies, small business enterprises, webmasters and individuals.
Petaluma, California US
Creating unique design solutions that are both affordable and inspiring. Specializing in design, layout & production of printed materials, logos & illustrations.
Rocky River, Ohio US
PHP/MySQL Developer
Zrenjanin, Vojvodina RS
Google Embraces Responsive Design, Recommends You Do the Same
Responsive design gains another convert as Google's Webmaster blog offers up a new tutorial, walking
Telefónica Working With Mozilla to Build Open Web-Centric Smartphone
Mozilla's Boot2Gecko project gets a shot in the arm from a new partnership with mobile provider Tele
Yahoo’s YSlow Page Speed Tool Now Available for Chrome
Every web developer wants to speed up their site, and Yahoo’s YSlow plugin for Firefox is a gr
Apache 2.4: A Major Update for the Web’s Most Popular Server
The Apache Software Foundation has announced the release of version 2.4 of its namesake Apache HTTP
Microsoft’s New Automatic Update Plan Could Mean the End of IE 6
Microsoft plans to roll out automatic updates for Internet Explorer starting in 2012. That means Int
Article Tags
PHP Programmers Articles
Live Help Chat Software
Web Design Quote
Web Design