14689moo.fxhttp://www.fueledsoftware.com/genre/moofxAs you can tell by the title, I intend this to be a multi-part series on using moo.fx to create better forms. In the first installment we are going to create a form that displays a hint to the user about the type of information that is expected in an input box.JavaScript > Tips and Tutorials > DHTMLOct 12, 2006John McKnight
As you can tell by the title, I intend this to be a multi-part series on using moo.fx to create better forms. In the first installment we are going to create a form that displays a hint to the user about the type of information that is expected in an input box.
Returns an array (NamedNodeMap) containing all the attributes defined for the element in question, including custom attributes. IE6 returns not just attributes explicitly defined by the webmaster, but those of the element's internal DTD as well. In Firefox, attributes[] work more as expected, returning only user defined attributes, and even reflect changes done by scripting to an attribute
Here I attempted to create a reliable method to read the client size of the of the browser's window and the position of the scroll bars. Of course this wouldn't be a problem if all browsers were well written and followed the standards. As we all know it's not the case -- different versions of different browsers under different platforms in different modes have own ideas on how this simple information should be provided. Adjusting the script for different browsers can be real pain when after making code work in one browser you find out it no longer works in another.
While the goal of the popup blockers is almost achieved nowadays, to keep out the intrusive popups, the only alternative for fair webmasters is the usage of DHTML popups. These are not regular windows controlled by your GUI operating system component; in fact it is pure HTML controlled by the browser via JavaScript. They would also qualify as a part of the so-called AJAX technology, therefore are also named Ajax popups too.
This is another version that I like quite a bit because it uses CSS and Dynamic Expressions. Dynamic Expressions are a very powerful technology because they allow you to update style properties dynamically via javascript. Pretty cool, eh?
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.