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:
You are not currently logged in. If you would like your user information to be displayed with your comment, please enter your login information below.
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:
Name: 
URL:  example: http://yourdomain.com
Email: 
Please note: email will not be displayed on the site, only for the blog owner. If logged in, URL will only be used.