[Javascript] flash on mac and javascript

Schalk schalk at volume4.com
Fri Apr 7 05:39:08 CDT 2006


Thanks Steven.

Steven Chipman wrote:
> On 4/6/06, Schalk Neethling <schalk at volume4.com> wrote:
>   
>> Greetings All,
>>
>> Please have a look at the following site: www.tele-court.com
>>
>> The client says that the Flash header is not loading on Safari Mac. I
>> use the following JavaScript to load the Flash file.
>>     
>
> You'll need to set your attributes on the embed before appending it to
> the container element for it to work in Safari:
>
> function header_wsound() {
> 	container = document.getElementById('top');
> 	var flash_embed = document.createElement('embed');
> 	flash_embed.src = "/media/swf/header_wsound.swf";
> 	flash_embed.width = "686";
> 	flash_embed.height = "253";	
> 	
> 	container.appendChild(flash_embed);
>
> }
>
> The same goes for script elements created in the same way.
>
>
> --
> steve
> slayeroffice.com
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
>
>   

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





More information about the Javascript mailing list