[Javascript] writing a param tag

Schalk schalk at volume4.com
Fri Apr 14 08:18:28 CDT 2006


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!

-- 
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Business.Solution.Developers





More information about the Javascript mailing list