- From: Dmitry Beransky <dberansky@ucsd.edu>
- Date: Mon, 10 May 1999 11:07:28 -0700
- 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 UTC