W3C home > Mailing lists > Public > www-html@w3.org > May 1999

Re: OBJECT implementation (longish)

From: Dmitry Beransky <dberansky@ucsd.edu>
Date: Mon, 10 May 1999 11:07:28 -0700
Message-Id: <4.2.0.37.19990510105905.039f9360@biomail.ucsd.edu>
To: www-html@w3.org

> >
> > But what does this mean for SCRIPT elements inside the OBJECT that contain
> > immediate code?  Are they executed even when the OBJECT *can* be rendered?
>
>No. Why should they?

I can see it used for conditional param generation.  For example:

<object ...>
     ...
    <script>
       if( condition )
          write( '<param name="param_set_1" value="foo">' );
       else
          write( '<param name="param_set_2" value="bar">' );
    </script>
    ...
</object>

In this case, the script has to be processed regardless of whether the 
object can be rendered
---
Dmitry Beransky
Programmer/Analyst

University of California, San Diego
Multimedia Interactive Learning Lab (http://mill.ucsd.edu)
Received on Monday, 10 May 1999 14:00:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:39 GMT