Structured Graphics Control ¬Included in Internet Explorer v 5. 0 ¬Add to page with the OBJECT tag ¬Accessible via scripting ¬Primarily for visual presentation not for displaying data or content
Netscape ¬Does not work in Netscape ¬You get a Java. Script error and a blank page ¬Yet another reason to avoid Netscape
Mouse Events ¬Structured Graphics control can process the DHTML mouse events
Points to Ponder ¬You must set Structured Graphics Control to capture mouse events – Inside OBJECT tag – <PARAM NAME= “Mouse. Event. Enabled” VALUE = “ 1”>
External Files ¬Use set of method call in separate source file and invoke by calling <SCRIPT FOR=“ball” EVENT=“ONCLICK” LANGUAGE=“Java. Script”> ball. Source. URL = “newoval. txt”; </SCRIPT>
Example Script ¬ newoval. txt
Scaling Example ¬Scaling Example
Further Exploration ¬www. microsoft. com/directx/dxm/help/da/d efault. htm
Questions (True or False) Active X works in Netscape. You must explicitly enable mouse events in Active X for them to work. 3. All Active X code must be located inside the page. 4. Structured Graphics Control is primarily for displaying data and tables. 5. Names in the <PARAM> may be user defined and in any order. 1. 2.