That makes more sense; however, I am not some one that does a
lot with code... (sorry, I am going to show my non-technical side)
Okay, I have copied the htm information from one of the
presentations that is not working on the Linux/Firefox
devices...can you help by using this example to understand what
changes I would need to look for and make? Thank you so very
much....
<!-- saved from url=(0013)about:internet -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>AMB001 E-Learning Tutorial</title>
<script src="standard.js"
language="javascript"></script>
<script language="JavaScript" type="text/javascript">
<!--
//
-----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 8;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Minor version of Flash required
var requiredRevision = 0;
//
-----------------------------------------------------------------------------
// -->
// ======================================================
// This javascript and html code works in coordination with
// RightClickAnimation.swf - a program that can be
// added to Captivate to handle a right click. Without
// this code and some other changes to the html to run
// the captivate flash file, the flash context menu will not
be blocked.
//
// IMPORTANT: You will need to change all occurrences of
Replace this.swf
// to the name of your flash program for this to work.
//
// You will probably also need to reset the size of your
file.
// Do a search for height and width and change them to
whatever
// the html generated by Captivate creates.
// =======================================================
function right_mouse_click() {
oOwnCapture.setCapture(true);
return false;
}
function handleError() {
return false;
}
window.onerror = handleError;
function handleclick() {
if (event.button==2)
{
showAboutBox();
}
}
function showAboutBox(e) {
if (ns) {
window.document.MyProgram.SetVariable("_wlh_Netscape_RightClick",
"RightClick");
}
}
function SetStatus() {
oOwnCapture.releaseCapture();
window.status='Right Click';
clearInterval(resetstatus);
}
var ns = (navigator.appName == "Netscape");
function rightClick(e)
{
if (ns && ((e.which == 2) || (e.which == 3)))
{
showAboutBox(e);
} else {
if (event.button == 2 || event.button == 3) {
oOwnCapture.setCapture(true);
resetstatus=setInterval("SetStatus()", 300);
return false;
}
else {
oOwnCapture.releaseCapture();
return true;
}
}
}
function init() {
if (ns)
{
document.captureEvents(Event.MOUSEDOWN);
el = document.getElementById("MyProgram");
el.addEventListener("mousedown", stopEvent, true);
} else {
document.onmousedown=rightClick;
document.body.oncontextmenu = right_mouse_click;
}
}
function stopEvent(e) {
if (e.which == 3) {
e.stopPropagation();
showAboutBox(e);
}
}
</script>
<DIV ID="oOwnCapture" >
</DIV>
</head>
<BODY onload="javascript:init();"
oncontextmenu="javascript:return false;" bgcolor="#ffffff">
<center>
<script language="JavaScript" type="text/javascript">
<!--
// Version check based upon the values entered above in
"Globals"
var hasReqestedVersion = DetectFlashVer(requiredMajorVersion,
requiredMinorVersion, requiredRevision);
// Check to see if the version meets the requirements for
playback
if (hasReqestedVersion) {
<!--
writeDocument('<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="1024" height="768" ID="Captivate1">'+
'<param name="movie" value="GEN001 E Learning
Tutorial.swf">'+
'<param name="quality" value="high">'+
'<param name=wmode value=opaque>'+
'<param name="loop" value="0">'+
'<embed src="GEN001 E Learning Tutorial.swf" width="1024"
height="768" loop="0" quality="high" pluginspage="
http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" menu="false"
wmode=opaque></embed>'+
'</object>');
//-->
} else { // flash is too old or we can't detect the plugin
writeDocument('This e-learning module requires the latest
version of Adobe Flash Player. <br><br>' +
'<a href="
http://www.adobe.com/go/getflash/"
border="0"><img src="get_flash_player.gif"></a>');
// insert non-flash content
}
// -->
</script>
<noscript>
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="1024" height="768" ID="Captivate1">
<param name="movie" value="GEN001 E Learning
Tutorial.swf">
<param name="quality" value="high">
<param name=wmode value=opaque>
<param name="loop" value="0">
<embed src="GEN001 E Learning Tutorial.swf" width="1024"
height="768" loop="0" quality="high" pluginspage="
http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" menu="false"
wmode=opaque></embed>
</object>
<!-- This content requires the Adobe Flash Player and a
browser with JavaScript enabled.
<a href="
http://www.adobe.com/go/getflash/">Get
Flash</a>-->
</noscript>
</center>
</body>
</html>