Saturday, October 11, 2008

javascript notes

You can apply stylesheets to the page without actually altering the style directly through javascript.

Apply direct changes in style thru javascript is possible but it makes the design hard to keep track of. Keep styles in css, content in html and behaviors in javascript.

function functionname(parameters/variable); {
what the function do usually in the form of:
var variable name=
}

You can check for errors by using the Error console in Firefox.

No comments: