zParacha.com

Effective programming and blogging tips by Zaheer Paracha

Subscribe:

Posted by Zaheer Paracha 1 COMMENT

0It is amazing that many web developers still use onload method embedded in the BODY tag, like

<HEAD>
<BODY onload=”document.contact.userID.focus();”>
<form name=”contact”>
<input type=”text” name=”userID” >
</form>
</BODY>
</HEAD>

There are two problems with this line of code.

Embedding code (behavior) with HTML (structure) makes it Continue Reading »

Posted by Zaheer Paracha 2 COMMENTS

0Almost all major web development projects include some javascript. Developing Javascript may be easy for some but working around various browsers’ incompatiblities makes it a bit more tedious chore. As a developer I always welcome the opportunity to use development tools that may help in the development process. Following Continue Reading »

categories: Javascript
Posted by Zaheer 1 COMMENT

0
Image credit:Kyle Wegner
OK, admit this. You have a nice-looking website. The color and the graphics look pleasing
to visiting eyes. But you do not get a lot of loyal visitors. The problem may not be your design,
it may be the static content that is turning the visitors off. If Continue Reading »

categories: Blogging Javascript
Posted by Zaheer 1 COMMENT

0Last week I got a project to create a slideshow for a website. My first choice was to go with famous and somewhat ubiquitous LightBox. I actually started creating the slideshow using LightBox but then I thought there must be some other alternative. I am not saying LightBox is not Continue Reading »

categories: Best Sites
Posted by Zaheer 1 COMMENT

1
Photo credit: aussiegall

Continuing with our JavaScript regular expression series today we will discuss JavaScript regular expression to validate U.S phone number. Previously we talked about validating email , Social Security number and zip code using JS regex.
In today’s post I’ll show you how to use JavaScript regular Continue Reading »

categories: Javascript
Posted by Zaheer 1 COMMENT

0Continuing with my series of JavaScript regular expression today we will see how easy it is to validate zip code using regular expression in JavaScript. Previously we talked about validating email and Social Security number using JS regex.
In today’s post I’ll show you how to use JavaScript regular expression Continue Reading »

categories: Javascript
Posted by Zaheer 1 COMMENT

0
Sorting an array in Javascript is a snap.
You create an array and then call sort() method on that array. The Javascript sort() method sorts an array in lexicographical order. This method is very useful in sorting alphanumeric values of an array.

However, sort() will not work if the array consists Continue Reading »

categories: Javascript
Posted by Zaheer ADD COMMENTS

0According to TIOBE Programming Community Index Java is still the #1 programming language.

TIOBE Index gives an indication of the popularity of a programming language and is updated monthly.
The ratings are calculated by counting hits of the most popular search engines.
Ruby moved up from 13th to 10th position.
Following is Continue Reading »

categories: Java Javascript
Posted by Zaheer ADD COMMENTS

0A very good article explaining how to load JavaScript and CSS files asynchronously and on demand.

Dynamically loading an external JavaScript or CSS file

var addthis_pub = ‘parachaz’;
var addthis_language = ‘en’;var addthis_options = ‘email,twitter, favorites,delicious ,stumbleupon, facebook , digg , myspace, google, reddit, live, more’;

var addthis_share = { templates: { twitter: Continue Reading »

categories: Ajax CSS Javascript

Search

Sponsors

Get Adobe Flash playerPlugin by wpburn.com wordpress themes