pcbrainbuster
04-01-2007, 08:11 PM
Hello again :),
I do not completely understand how the object tag in HTML works, for example here is a script that uses the object tag to bring up a color box -
<html>
<body>
<object id="myDhelper"
classid="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b">
</object>
<button onclick="myDhelper.chooseColorDlg();">Show color dialog</button>
</body>
</html>
Some how without any code it brings up an color thing that would take hundreds of lines of code to do, how does this work ???...
I think I once read that the classid has unique ids that have certain functions added to them (even if this is true please give ALL the details of that code abpve and possibly extra if there is anything extra)...
Thanks :)
I do not completely understand how the object tag in HTML works, for example here is a script that uses the object tag to bring up a color box -
<html>
<body>
<object id="myDhelper"
classid="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b">
</object>
<button onclick="myDhelper.chooseColorDlg();">Show color dialog</button>
</body>
</html>
Some how without any code it brings up an color thing that would take hundreds of lines of code to do, how does this work ???...
I think I once read that the classid has unique ids that have certain functions added to them (even if this is true please give ALL the details of that code abpve and possibly extra if there is anything extra)...
Thanks :)