Jump to content
php.lv forumi

Pareiz ievietot flash


http://localhost

Recommended Posts

es daru taa:

 

ieksh .js

 

window.onload = function() {

if (document.getElementById('flash')){

var flmv = document.getElementById('flash');

flmv.innerHTML= '<object type="application/x-shockwave-flash" data="flash.swf" width="300" height="200">'+

'<param name="movie" value="flash.swf" />'+

'<param name="quality" value="high" />'+

'<param name="wmode" value="transparent"></object>';

}

}

 

ieksh .html

 

<div id="flash"><!-- Flash movie --></div>
Edited by Evi
Link to comment
Share on other sites

<!--[if !IE]> -->
<object type="application/x-shockwave-flash" data="/images/logo.swf" width="287" height="67">
<!-- <![endif]-->
<!--[if IE]>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="287" height="67" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
 <param name="movie" value="/images/logo.swf" />
 <!--><!--dgx-->
 <param name="menu" value="false" />
 <param name="quality" value="heigh" />
</object>
<!-- <![endif]-->

Strādājoš un valids. Vienīgi pēctam ar javascript pāri, lai IE lietotājam nebūtu jāaktivizē ActiveX

Link to comment
Share on other sites

×
×
  • Create New...