Tuesday, September 30th, 2008
Continuing on with revisiting old scripts and updating them. The script that is most similar to my tooltip script (and therefore needed almost identical changes) is my overlay messages script. As with the tooltip script I have included both the old and new versions of the script so that you can see the differences between [...]
Posted in Golden Oldie, What's New | Permalink | No Comments »
Monday, September 29th, 2008
Now that the really old browsers that pre-date the standards have almost no one using them any more the scripts that we wrote a few years ago can be made a lot simpler. The references to document.all and document.layers (and useragent tests for Netscape 4 to get around the bug that stopped feature sensing for [...]
Posted in Golden Oldie, What's New | Permalink | No Comments »
Thursday, September 25th, 2008
It is amazing how many sites that there are selling products to protect the HTML source of your web page. The surprising thing isn’t how many different products that there are available in this market with prices ranging from free to several hundred dollars. The surprising thing is that such products are sold in [...]
Posted in Golden Oldie | Permalink | No Comments »
Wednesday, September 24th, 2008
Regular Expressions are a standardised way of being able to manipulate text to match and replace the content based on patterns. There are quite a lot of different programming languages that support regular expressions including PHP and PERL (along with many other server side languages) and JavaScript also supports most of the same regular expressions [...]
Posted in Golden Oldie | Permalink | No Comments »
Thursday, September 18th, 2008
The cookie toolbox that I created goes well beyond just being able to read, write, and delete cookies. It contains code making it easy to save entire arrays into a single cookie and to be able to easily update the array that you have stored in the cookie. This tutorial describes many of the additional [...]
Posted in Golden Oldie | Permalink | No Comments »
Wednesday, September 17th, 2008
Handling cookies from JavaScript is much easier once you have written functions that take care of reading, writing, and deleting cookies. To provide maximum flexibility in being able to use cookies I wrote a set of these functions that allows entire arrays of data to be stored within a single cookie if you need to [...]
Posted in Golden Oldie | Permalink | No Comments »
Tuesday, September 16th, 2008
Don’t be put off by the fact that the Americans who defined this part of JavaScript do not know how to spell using proper English and misspelt maths. This static JavaScript object provides all of the most common irrational number constants as properties and all of the common maths functions as methods allowing you to [...]
Posted in What's New | Permalink | No Comments »
Monday, September 15th, 2008
JavaScript is extremely powerful when it comes to being able to manipulate text. The variety of methods available to find, change, extract, insert and otherwise manipulate text in JavaScript cover just about everything you are likely to want and you can easily add your own methods to cover things that have been left out.
JavaScript Strings
Posted in What's New | Permalink | No Comments »