OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cgmo-webcgm message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Proposal: onload evt


Hi cgmo-webcgm,

  I propose we add the following wording to the <object> tag section:

  onload eventHandlerName(evt)
    Assigns an event handler for the 'onload' event. This parameter
    and handler allows for script writers to manipulate the WebCGM DOM
    at the point at which the user agent has fully parsed the <object>
    tag and its descendants and is ready to render the <object> to
    the screen. 

    Example:
    <script type="text/ecmascript"> <![CDATA[
     function myHandler(evt)
     {
       // performs DOM manipulation calls...
     }
     ]]>
    </script>

    <object data="xxx.cgm" type="image/cgm;Version=4;ProfileId=WebCGM"; width="200" height="100">
      <param name="onload" value="myHandler(evt);"/>
    </object>
  

-- 
 Benoit                 mailto:benoit@itedo.com



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]