Shockwave eller Flashplayer Det er to vidt forskellige ting...??
Den her har jeg bakset sammen til Flash playeren :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>flashDetect</title> </head> <body bgcolor="#deded6"> <script language="vbscript"><!-- on error resume next set f = CreateObject("ShockwaveFlash.ShockwaveFlash") if IsObject(f) then flash = true end if flash4 = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5")) flash5 = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5")) flash6 = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6")) --></script> <script language="javascript" type="text/javascript">
if(ns4||ns6){ if (navigator.plugins) { for (var i=0; i < navigator.plugins.length; i++) { if (navigator.plugins[i].name.toLowerCase().indexOf("shockwave flash") >= 0) { i_flash = true; flash = navigator.plugins[i].description.substring(navigator.plugins[i].description.toLowerCase().lastIndexOf("flash ") + 6, navigator.plugins[i].description.length); } } if(flash){ findVersion = parseInt(flash.substring(0,1)); alert(findVersion) if (!findVersion==6){ hvorhen='HarNetscapeMenikkeFlash6.html' }else if(findVersion ==5){ hvorhen='HarNetscapeOgFlash5.html' }else{ hvorhen='harNetscapeMenHverken5Eller6.html' } } } }else if(ie4||ie5){ if (flash5&&!flash6){ hvorhen = 'minIEOpdateringssideforFlash6.html' }else if(!flash5){ hvorhen = 'minIEOpdateringssideForFlash5.html' } } if(hvorhen){ self.location.href = hvorhen; }else if(hvorhen!=false){ alert("det kan jeg sgutte finde u´ a´ du!!") }
</script> min flash film kommer her... </body> </html>
/Nikolaj
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.