i’m trying to figure out the whole swfobject thing…this is what i have so far…
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Testing!</title>
</head>
<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent"> <!-- this is where the alternative content goes -->
This is the alternative content...if the user doesn't have flash, this should show up!
</div>
<script type="text/javascript">
var so = new SWFObject("test.swf", "test", "600", "400", "7", "#0046ff");
so.write("flashcontent"); <!-- writes to flashcontent...if the user has flash, it replaces all the alternative content -->
</script>
<body>
</body>
</html>
it seems to be working fine…but i have two questions.
-
hwo exactly do i go about doing the bypassing the swfobject if there is a system problem? like, what do i do with this?
<a href=“mypage.html?detectflash=false”>Bypass link</a> -
and also, is there anything i can do in case the user has java disabled? i want to make sure that there is a very small chance that the user won’t be able to see the site.