Ciao, siccome dovrei cambiare lo stile in base al fatto se c'è flash o meno, mi servirebbe fare qualcosa tipo
Solo che non riesco a trovare la funzione che restituisce l'okcodice:<script type="text/javascript"> // <![CDATA[ var so = new SWFObject("load.swf", "Dambra", "950", "590", "10", "#000000"); so.addParam("scale", "noscale"); so.write("flashcontent"); flashok=[qualcosa da prendere da flashobject.js] if (flashok){ miodiv = document.getElementById("flashcontent"); miodiv.style.backgroundColor="000000"; miodiv.style.padding="0"; miodiv.style.margin="0"; } // ]]> </script>
Credo sia questa, ma con l'alert trovo undefined, non so come richiamarla
codice:deconcept.PlayerVersion.prototype.versionIsValid = function(fv){ if(this.major < fv.major) return false; if(this.major > fv.major) return true; if(this.minor < fv.minor) return false; if(this.minor > fv.minor) return true; if(this.rev < fv.rev) return false; return true; }

Rispondi quotando