Quicktime Hotspot and Javascript HELP!
I have an older Quicktime VR project that is a QT .mov file. The .mov file is a depiction of the interior of an aircraft with hotspots of the individual dash components. Each hotspot is linked to an HTML file popup that loads a SWF and allows the user to zoom in or out of the file. It works fine using the original environment it was designed for which is Windows XP, QT 6.5.2, IE 6. I have successfully integrated it into a WIN 7, QT 7 plugin, IE 11, EXCEPT for the hotspots which will not load the external HTML.
Below is the code that contains the QT .mov file and the associated javascript. I've included only one hotpsot named, "001". Does anyone know why this wouldn't function in newer versions of QT? Thanks!
<!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>Untitled Document</title>
<link href="VRstyle.css" rel="stylesheet" type="text/css" />
</head>
<script language="javascript" type="text/javascript">
var swfWindow;
function fncOpenSWF(clip){
switch(clip){
case "001":
if(typeof(swfWindow) == "object"){
swfWindow.close();
swfWindow = window.open("HydraulicGauge.html",
"swfWindow", 'height=600, width=350, location=no, menubar=no, resizable=no, status=no,
scrollbars=no, top=200, left=300');
}else{
swfWindow = window.open("HydraulicGauge.html",
"swfWindow", 'height=600, width=350, location=no, menubar=no, resizable=no, status=no,
scrollbars=no, top=200, left=300');
}
break;
}
}
function fncCloseWindows(){
if(typeof(swfWindow) == "object"){
swfWindow.close();
}
}
</script>
<body>
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="https://www.apple.com/qtactivex/qtplugin.cab" height="500" width="720"
class="movieWin">
<param name="scale" value="to fit">
<param name="src" value="Block40_cockpit.mov">
<param name="autoplay" value="true">
<param name="controller" value="true">
<embed height="500"
pluginspage="https://www.apple.com/quicktime/download/" src="Cockpit_Pilot.mov"
type="video/quicktime" width="720" controller="true" autoplay="true" scale="to fit">
</object>
</body>
</html>
Windows 7