...

View Full Version : Targeting Question



ioliver8
05-27-2010, 02:44 PM
Anyone know what the "fmovie" in this code refers to?


<html>
<head>
<title>Nathan Welton Photography</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="keywords" content="">
<meta name="description" content="">


<script type="text/javascript" src="flashobject.js"></script>
<script type="text/javascript" language="javascript">
function setSize(){
var win_w;
var win_h;
var browser = navigator.appName;
if (browser == "Microsoft Internet Explorer"){ //IE and Opera
win_w = document.body.offsetWidth;
win_h = document.body.offsetHeight;
if (win_w > 1000){
window.document.getElementById("fmovie").width = "100%";
} else {
window.document.getElementById("fmovie").width = "1000";
}

if (win_h > 550){
window.document.getElementById("fmovie").height = "100%";
} else {
window.document.getElementById("fmovie").height = "550";
}
} else { //Netscape and Mozilla
win_w = window.innerWidth;
win_h = window.innerHeight;
if (win_w > 1000){
window.document.fmovie.width = "100%";
} else {
window.document.fmovie.width = "1000";
}

if (win_h > 550){
window.document.fmovie.height = "100%";
} else {
window.document.fmovie.height = "550";
}
}
}
</script>
</head>

<body onLoad="javascript:setSize();" onResize="javascript:setSize();" bgcolor="#ffffff" link="#000000" vlink="#000000" alink="#000000" topmargin="0" bottommargin="0" marginheight="0" leftmargin="0" rightmargin="0" marginwidth="0" >
<div id="flashcontent">
This site requires flash. <br><br>Please visit <a href="http://www.macromedia.com/go/getflashplayer" target="_blank"> HERE </a> to download the flash player.
</div>
<script type="text/javascript">
var fo = new FlashObject("Load.swf", "fmovie", "100%", "100%", "8", "#ffffff");
fo.addParam("menu", "false");
fo.addParam("scale", "noscale");
fo.write("flashcontent");
</script>


</body>

</html>

Kor
05-27-2010, 03:21 PM
It is an element with id="fmovie". But we can not tell you what kind of element is, as it is created dynamically by the JavaScript code in the external file flashobject.js. Probably a DIV. Use the View -> Page Source in your browser and you will see it.

WA
05-27-2010, 08:42 PM
Closing thread, as this is duplicated here already: http://www.codingforums.com/showthread.php?t=196893



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum