Anyone have any insight into why/how this amazingly works? Notice the dot notation in the function name. This will only work in IE. Interesting...
Code:
function MyFunction()
{
}
function MyFunction.MyFunction2()
{
alert("worked!");
}
MyFunction.MyFunction2(); //works!
//
function MyNonExistantFunction.MyFunction3()
Reusable HTML, does it exist? (Like the Scriptlet)
Hello, I'm investigating how HTML can be componentized and reusable. Remember Microsoft's SCRIPTLET object (TYPE="text/x-scriptlet")? I thought this was a great invention. But other browsers do not support it! I'm not even sure the latest IE will even support it.
I have custom html ui blocks that I want to place many times on a screen. Like custom text fields, custom buttons, and other custom ui elements coded in HTML (that...
I'm working on a big web-app where most elements are inherting CSS from an external CSS file.
I have a particular Table element that needs to completely ignore all CSS inheritance and just be a virgin Table (in terms of appearance).
I know the Class attribute is where you specify what CSS class definition you want to apply. However, I would prefer to not overwrite the inheritance, but ignore it all together.
...