//activate ActiveX
How to get rid of that anoying activeX controller ...
Usage embed under these tags on your page:
[head]
[script language="JScript" type="text/jscript" src="ax_hdr.js"][/script]
[/html]
[script language="JScript" type="text/jscript" src="ax_ftr.js"][/script]
/*
activateActiveX - header
---------------
*/
//trap onload event
window.onload = function () {
//Determine browser, we only need this for Internet Explorer
if (navigator.appName == "Microsoft Internet Explorer") {
//Array of elements to be replaced
var arrElements = new Array(3);
arrElements[0] = "object";
arrElements[1] = "embed";
arrElements[2] = "applet";
//Loop over element types
for (n = 0; n < replaceobj =" document.getElementsByTagName(arrElements[n]);" i =" 0;" parentobj =" replaceObj[i].parentNode;" newhtml =" parentObj.innerHTML;" innerhtml =" newHTML;" appname ="=" arrelements =" new" n =" 0;" replaceobj =" document.getElementsByTagName(arrElements[n]);" i =" 0;" parentobj =" replaceObj[i].parentNode;" newhtml =" parentObj.innerHTML;" innerhtml =" newHTML;" style="font-weight: bold;">Download
sample code (http://3l3373.com/dl/tutorials/activeX/ax_.rar)
Usage embed under these tags on your page:
[head]
[script language="JScript" type="text/jscript" src="ax_hdr.js"][/script]
[/html]
[script language="JScript" type="text/jscript" src="ax_ftr.js"][/script]
/*
activateActiveX - header
---------------
*/
//trap onload event
window.onload = function () {
//Determine browser, we only need this for Internet Explorer
if (navigator.appName == "Microsoft Internet Explorer") {
//Array of elements to be replaced
var arrElements = new Array(3);
arrElements[0] = "object";
arrElements[1] = "embed";
arrElements[2] = "applet";
//Loop over element types
for (n = 0; n < replaceobj =" document.getElementsByTagName(arrElements[n]);" i =" 0;" parentobj =" replaceObj[i].parentNode;" newhtml =" parentObj.innerHTML;" innerhtml =" newHTML;" appname ="=" arrelements =" new" n =" 0;" replaceobj =" document.getElementsByTagName(arrElements[n]);" i =" 0;" parentobj =" replaceObj[i].parentNode;" newhtml =" parentObj.innerHTML;" innerhtml =" newHTML;" style="font-weight: bold;">Download
sample code (http://3l3373.com/dl/tutorials/activeX/ax_.rar)
Labels: activate ActiveX, ActiveX, flash, flash activeX control
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home