I am trying to run a DHTML program.. but it show me an error... "Object does not support the property or method". My program is written below..
<HTML>
<HEAD>
<TITLE>Structur ed Graphics - Shapes</TITLE>
</HEAD>
<BODY>
<OBJECT ID = "shapes" STYLE = "background-color: #CCCCFF; width: 500; height: 400"
CLASSID = "CLSID:3693 03C2-D7AC-11d0-89D5-00A0C90833E6">
<PARAM NAME = "Line0001" VALUE = "SetLineCol or( 0, 0, 0 )">
<PARAM NAME = "Line0002" VALUE = "SetLineSty le( 1, 1 )">
<PARAM NAME = "Line0003" VALUE = "SetFillCol or( 0, 255, 255 )">
<PARAM NAME = "Line0004" VALUE = "SetFillSty le( 1 )">
<PARAM NAME = "Line0005" VALUE = "Oval( 0, -175, 25, 50, 45 )">
<PARAM NAME = "Line0006" VALUE = "Arc( -200, -125, 100, 100, 45, 135, 0 )">
<PARAM NAME = "Line0007" VALUE = "Pie( 100, -100, 150, 150, 90, 120, 0 )">
<PARAM NAME = "Line0008" VALUE = "Polygon(5, 0, 0, 10, 20, 0, -30, -10, -10, -10, 25)">
<PARAM NAME = "Line0009" VALUE = "Rect( -185, 0, 60, 30, 25 )">
<PARAM NAME = "Line0010" VALUE = "RoundRect( 200, 100, 35, 60, 10, 10, 25 )">
<PARAM NAME = "Line0011" VALUE = "SetFont( 'Arial', 65, 400, 0, 0, 0 )">
<PARAM NAME = "Line0012" VALUE = "Text( 'Shapes', -200, 200 , -35 )">
<PARAM NAME = "Line0013" VALUE = "SetLineSty le( 2,1 )">
<PARAM NAME = "Line0014" VALUE = "PolyLine( 5, 100, 0, 120, 175, -150, -50, -75, -75, 75, -75)">
</OBJECT>
</BODY>
</HTML>
This program is mention in the Deitel n Deitel book.. but its not working on my system.. I am using Windows XP Prof with SP2, my IE version is 6.0 with SP2.
Please help me asap...