There are a few utilities which are not covered off under any other category.
None, if both arguments are false. Otherwise a div of class bottomStamp
is created and a copyright
div and a dateStamp
div are put into it. The copyright notice is taken from the constants.js script, the date is the last date the document was modified. Appearance of the divs is controlled from the stylesheets.
No arguments are recognized.
All the HTML source in the BODY of the page is retreived and displayed in an alert.
CommentThis is useful for debugging dynamic HTML development as the HTML will be shown as generated. However, its usefulness is limited by the size of the alert that can be shown. If you are having trouble with a piece of dynamic HTML, isolate it and put it into it's own page so there is not too much stuff to fit comfortably in the alert box. Much better is to use FireFox and Jennifer Madden's wonderful render source plugin.
Every property in the object, together with its value, is dumped into a string.
CommentAgain, a function useful for debugging JavaScript development. This is most useful with an alert containing whatever prompt you want plus the returned string describing the object. For example
alert("My object contains:" + examine(myObject));
returns the specified string.
CommentA set of functions useful for navigating to a desired resource, such as an image or a video.