Forum Moderators: open
if you present essentially the same content in html that the flash enabled user sees you will not be penalized for cloaking.
<?php
<div id="example" style=" width: 680px; height: 100px; z-index:26;" >
<?php
if ( $_COOKIE["hasFlash"] != 1 ) {
?>
Alternative content example
<?php
}
?>
</div>
<script type="text/javascript">
swfobject.embedSWF("test.swf", "example",
"680", "100", "9.0.0","expressInstall.swf" );
var playerVersion = swfobject.getFlashPlayerVersion();
if ( Number ( playerVersion.major ) >= 9 ) {
setCookie("hasFlash",1);
}
</script>
?>
[edited by: eelixduppy at 2:33 pm (utc) on Feb. 2, 2009]
[edit reason] no URLs, please [/edit]