[Javascript] writing a param tag
Cutter (JSRelated)
java.script at cutterscrossing.com
Fri Apr 14 09:28:19 CDT 2006
Without recreating the wheel, do a Google on flashobject.js. Nice,
clean, and extendible.
Cutter
Schalk wrote:
> Greetings All,
>
> Would the code below be the correct way to create a param tag with the
> name of movie and value of media/swf/header_wsound.swf ?
>
> var flash_param = document.createElement('param');
> flash_param.name = "movie";
> flash_param.value = "media/swf/header_wsound.swf";
> object_container.appendChild(flash_param);
>
> Thanks!
>
More information about the Javascript
mailing list