Hi
If there is no Flash we needed to remove a div that is controled by
jQuery when there is no Flash. Thats right... not just the content of
the div but the entire div and replace it with a new div.
SWF should add this feature to SWF without needing to hack...
We have used jQuery in the example in (UFO) v3.22...
main: function(id) {
var _fo = UFO.foList[id];
if (_fo.mainCalled) return;
UFO.foList[id].mainCalled = true;
document.getElementById(id).style.visibility = "hidden";
if (UFO.hasRequired(id)) {
if (UFO.hasFlashVersion(parseInt(_fo.majorversion, 10),
parseInt
(_fo.build, 10))) {
if (typeof _fo.setcontainercss != "undefined" &&
_fo.setcontainercss == "true") UFO.setContainerCSS(id);
UFO.writeSWF(id);
}
else if (_fo.xi == "true" && UFO.hasFlashVersion(6,
65)) {
UFO.createDialog(id);
}else{
$("#panel").hide();
$("#content").before("<div
style=\"height:125px; width:976px;
clear:both; position:relative; z-index:0;\"></div>");
}
}
document.getElementById(id).style.visibility = "visible";
},
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---