pgscannell posted this 24 October 2016
Is there an issue with loading and running the ScriptX plugin from within Firefox version 47?
Here is my code snippet to load the object. It works on IE version 11 if that helps:
<!-- MeadCo ScriptX -->
<object viewastext
id = "factory"
style = "display:none"
classid = "clsid:1663ed61-23eb-11d2-b92f-008048fdd814"
codebase = "http://www.kofcri.org/smsx.cab#Version=7,5,0,20">
</object>
I checked the properties of the smsx.cab that is in that path, and it has an internal timestamp of Tuesday, may 23, 2006 @ 9:47:07 AM which seems to be quite old, expecially I know that I've had a few ScriptX upgrades along the way, but maybe the .cab file
doesn't change that often.
Also, does it matter where you place javascript button-click functions? They don't seem to work anywhere. Since I am troubleshooting, I changed the event handler for my "Page Setup" button from "factory.printing.PageSetup()" to "jsPageSetup();" but I don't
know where to put the function. Here's what I put in there as a troubleshooting thing but nothing happens whether I put it inside <head> or <body>:
function jsPageSetup()
{
alert ( "Got here" );
if ( !factory.object )
alert ( "uh-oh" );
alert ( "Got here, too" );
jsPutSettings();
factory.printing.PageSetup();
}
Since the factory object is set right after the <body> statement, I assume that javascript functions that use the object need to be in the <body> section, too.
My website is using Classic ASP.
Thanks in advance,
Paul