The things I learned today

Sunday, July 03, 2005

Quick Javascript/DHTML test:

Do you know the difference between the display property and visibility property for div tag?

e.g.
divtag.style.display = "none";
divtag.style.visibility = "hidden";

Quick test:

Write a function that obtains the element reference by name that works across browser.
e.g.


// function prototype
function getElement(name)
{

}

Answers coming back in later post.

0 Comments:

Post a Comment

<< Home