Webtechy
This Month
March 2008
Sun Mon Tue Wed Thu Fri Sat
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
Year Archive
About Me
Ben Weeks
Name: Ben Weeks
Title: SharePoint Consultant
Company: Webtechy
D of B: 25th May 1978
Login
User name:
Password:
Remember me 
Re: How to Create a Text Resize Function Using Just JavaScript
by Anonymous
if (iFontSize < 2 && iFontSize > 0) Say, what? Surely you mean if (iFontSize == 1) ...? You might also consider the handy "switch" statement, which would also avoid testing iFontSize in every "if".
Post comment:
  Receive comment notifications for this article
Subject: 
Comment: 
Comment verification:

Please enter the text you see inside the graphic to post your comment:
This blog does not allow anonymous comments. Please provide your username and password along with your comment.
Login information:
Username: 
Password: 
If you would like to post contact information on your comment, please enter your information into the optional fields below:
Contact information:
URL:  example: http://yourdomain.com
   
Search

Grab this swicki from eurekster.com