Presentation is loading. Please wait.

Presentation is loading. Please wait.

Active X – Mouse Events. Structured Graphics Control  Included in Internet Explorer v5.0  Add to page with the OBJECT tag  Accessible via scripting.

Similar presentations


Presentation on theme: "Active X – Mouse Events. Structured Graphics Control  Included in Internet Explorer v5.0  Add to page with the OBJECT tag  Accessible via scripting."— Presentation transcript:

1 Active X – Mouse Events

2 Structured Graphics Control  Included in Internet Explorer v5.0  Add to page with the OBJECT tag  Accessible via scripting  Primarily for visual presentation not for displaying data or content

3 Netscape  Does not work in Netscape  You get a JavaScript error and a blank page  Yet another reason to avoid Netscape

4 Mouse Events  Structured Graphics control can process the DHTML mouse events

5 Mouse Events -2  ONMOUSEUP  ONMOUSEDOWN  ONMOUSEMOVE  ONMOUSEOVER  ONMOUSEOUT  ONCLICK  ONDBLCLICK

6 Example  bounce2.html (Fig 30.6 pg 1021) bounce2.html (Fig 30.6 pg 1021)

7 Points to Ponder  You must set Structured Graphics Control to capture mouse events –Inside OBJECT tag –

8 External Files  Use set of method call in separate source file and invoke by calling ball.SourceURL = “newoval.txt”;

9 Example Script  newoval.txtnewoval.txt

10 Scaling Example  Scaling Example Scaling Example

11 Further Exploration  www.microsoft.com/directx/dxm/help/da/d efault.htm

12 Questions (True or False) 1. Active X works in Netscape. 2. 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 may be user defined and in any order.


Download ppt "Active X – Mouse Events. Structured Graphics Control  Included in Internet Explorer v5.0  Add to page with the OBJECT tag  Accessible via scripting."

Similar presentations


Ads by Google