View Single Post
Old 01-12-2013, 01:05 AM   PM User | #16
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,448
Thanks: 0
Thanked 496 Times in 488 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
Quote:
Originally Posted by Old Pedant View Post
I think Felgall missed the end of his answer.
I was concentrating on supplying an exact equivalent to the piece of code posted (and even then missed the i++ between the two calls). Of course a loop would take care of the entire code properly rather than just repeating the calls many times.

The MSIE solution is probably a good choice in this situation. The file:// references may not work properly in all other browsers so a full cross browser solution doesn't exist.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is online now   Reply With Quote