Mobile Web Best Practices 1.0
The World Wide Web Consortium (W3C) has recently published a document called Mobile Web Best Practices 1.0.
This document specifies Best Practices for delivering Web content to mobile devices. The principal objective is to improve the user experience of the Web when accessed from such devices.
It’s a good step toward making the Web accessible to millions of small screen devices, not blessed with a combination of iPhone’s hi-res LCD and a powerful Safari browser.
The document is available from W3C’s web site http://www.w3.org/TR/2008/REC-mobile-bp-20080729/
IRT.org Knowledge Base
IRT.org has a nice collection of FAQs on DHTML, JS, Java, CSS, etc.
Javascript equivalent for PHP’s functions
Mr. Kevin van Zonneveld has a nice collection of PHP functions ported to JS.
For example sprintf:
mredkj.com
A good JS and VB.NET resource with unpronounceable name at http://www.mredkj.com/index.html
Dynamically loading an external JavaScript or CSS file
To load a .js or .css file dynamically, in a nutshell, it means using DOM methods to first create a swanky new “SCRIPT” or “LINK” element, assign it the appropriate attributes, and finally, use element.appendChild() to add the element to the desired location within the document tree. It sounds a lot more fancy than it really is. Lets see how it all comes together:
(more…)