Web deployment does not work for me
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Web deployment does not work for me
Wow. That's great! I had no idea the issue was in the HTML. Can you save me a comparison and say which lines you took out?
I'm really glad to hear this. Nice sleuthing.
I'm really glad to hear this. Nice sleuthing.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
Re: Web deployment does not work for me
Code: Select all
<html>
<head>
</head>
<body>
<center>
<object classid="CLSID:B2EC94AF-4716-4300-824A-3314BF23664A" width=1228 height=608>
<param name="src" value="CampStaffUSAReports.revlet"/>
<param name="stack" value="CampStaffUSA Reports"/>
<param name="requestedName" value=""/>
<param name="instanceID" value=""/>
<embed type="application/x-revolution"
src="CampStaffUSAReports.revlet"
width=1228 height=608
stack="CampStaffUSA Reports"
requestedName=""
instanceID=""
></embed>
</object>
<script type="text/javascript">
var agt=navigator.userAgent.toLowerCase();
var ie = (agt.indexOf("msie") != -1);
var ns = (navigator.appName.indexOf("Netscape") != -1);
var win = ((agt.indexOf("win")!=-1) || (agt.indexOf("32bit")!=-1));
var mac = (agt.indexOf("mac")!=-1);
if(ie && win){ pluginlist = detectIE("RunRev.RevWebPluginCtrl.1","Revolution"); }
if (ns || !win){ nse = ""; for(var i=0;i<navigator.mimeTypes.length;i++) nse += navigator.mimeTypes[i].type.toLowerCase(); pluginlist = detectNS("application/x-revolution","Revolution"); }
function detectIE(ClassID,name) { result = false; document.write('<SCRIPT LANGUAGE=VBScript>\n on error resume next \n result = IsObject(CreateObject("' + ClassID + '"))\</SCRIPT\>\n'); if (result) return name+','; else return ''; }
function detectNS(ClassID,name) { n = ""; if (nse.indexOf(ClassID) != -1) if (navigator.mimeTypes[ClassID].enabledPlugin != null) n = name+","; return n; }
pluginlist += navigator.javaEnabled() ? "Java," : "";
if (pluginlist.length > 0) pluginlist = pluginlist.substring(0,pluginlist.length-1);
var plugin = document.getElementById("plugin");
var noplugin = document.getElementById("noplugin");
plugin.style.display = "none";
noplugin.style.display = "none";
if(pluginlist.indexOf("Revolution")!=-1){ plugin.style.display = "block"; }else{ noplugin.style.display = "block"; }
</script>
</center>
</body>
</html>
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
-
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
Re: Web deployment does not work for me
WOW!
That works for me!
Well done!
Mike! You so freakin' rule dude!
DOES NOT WORK in Iinternet Explorer - works ok in FireFox:
http://barrysumpter.com/Splash%20Test.htm
That works for me!
Well done!
Mike! You so freakin' rule dude!
DOES NOT WORK in Iinternet Explorer - works ok in FireFox:
http://barrysumpter.com/Splash%20Test.htm
Code: Select all
<html>
<head>
</head>
<body>
This Works:
http://barrysumpter.com/Splash%20Test%202.htm
[code]
<html>
<head>
</head>
<body>
<center>
<object classid="CLSID:B2EC94AF-4716-4300-824A-3314BF23664A" width=480 height=760>
<param name="src" value="Splash%20Test.revlet"/>
<param name="stack" value="Splash Test"/>
<param name="requestedName" value=""/>
<param name="instanceID" value=""/>
<embed type="application/x-revolution"
src="CampStaffUSAReports.revlet"
width=1228 height=608
stack="CampStaffUSA Reports"
requestedName=""
instanceID=""
></embed>
</object>
<script type="text/javascript">
var agt=navigator.userAgent.toLowerCase();
var ie = (agt.indexOf("msie") != -1);
var ns = (navigator.appName.indexOf("Netscape") != -1);
var win = ((agt.indexOf("win")!=-1) || (agt.indexOf("32bit")!=-1));
var mac = (agt.indexOf("mac")!=-1);
if(ie && win){ pluginlist = detectIE("RunRev.RevWebPluginCtrl.1","Revolution"); }
if (ns || !win){ nse = ""; for(var i=0;i<navigator.mimeTypes.length;i++) nse += navigator.mimeTypes[i].type.toLowerCase(); pluginlist = detectNS("application/x-revolution","Revolution"); }
function detectIE(ClassID,name) { result = false; document.write('<SCRIPT LANGUAGE=VBScript>\n on error resume next \n result = IsObject(CreateObject("' + ClassID + '"))\</SCRIPT\>\n'); if (result) return name+','; else return ''; }
function detectNS(ClassID,name) { n = ""; if (nse.indexOf(ClassID) != -1) if (navigator.mimeTypes[ClassID].enabledPlugin != null) n = name+","; return n; }
pluginlist += navigator.javaEnabled() ? "Java," : "";
if (pluginlist.length > 0) pluginlist = pluginlist.substring(0,pluginlist.length-1);
var plugin = document.getElementById("plugin");
var noplugin = document.getElementById("noplugin");
plugin.style.display = "none";
noplugin.style.display = "none";
if(pluginlist.indexOf("Revolution")!=-1){ plugin.style.display = "block"; }else{ noplugin.style.display = "block"; }
</script>
</center>
</body>
</html>
Last edited by BarrySumpter on Fri Jul 01, 2011 4:43 am, edited 2 times in total.
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
-
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
Re: Web deployment does not work for me
DOES NOT WORK in FireFox - works ok in Internet Explorer:
http://barrysumpter.com/Splash%20Test%202.htm
http://barrysumpter.com/Splash%20Test%202.htm
Code: Select all
<center>
<h1>Test page for Splash Test</h1>
<p>
<!-- Embed your revlets using code like this, to automatically guide the user to install the plugin, if it is not already installed -->
<div id="plugin" style="display:none">
<object classid="CLSID:B2EC94AF-4716-4300-824A-3314BF23664A" width=480 height=800>
<param name="src" value="Splash%20Test.revlet"/>
<param name="stack" value="Splash Test"/>
<param name="requestedName" value=""/>
<param name="instanceID" value=""/>
<embed type="application/x-revolution"
src="Splash%20Test.revlet"
width=480 height=800
stack="Splash Test"
requestedName=""
instanceID=""
></embed>
</object>
</div>
<div id="noplugin" style="display:none">
<a href="http://revweb.runrev.com"><img src="http://www.runrev.com/revweb/images/revweb-noplugin.gif" border=0></a>
</div>
<!-- Revlet embedding code finishes above this line -->
</p>
<!-- This script determines if the plugin is installed, and if so shows the 'plugin' DIV, otherwise it shows the 'noplugn' DIV -->
<script type="text/javascript">
var agt=navigator.userAgent.toLowerCase();
var ie = (agt.indexOf("msie") != -1);
var ns = (navigator.appName.indexOf("Netscape") != -1);
var win = ((agt.indexOf("win")!=-1) || (agt.indexOf("32bit")!=-1));
var mac = (agt.indexOf("mac")!=-1);
if(ie && win){ pluginlist = detectIE("RunRev.RevWebPluginCtrl.1","Revolution"); }
if (ns || !win){ nse = ""; for(var i=0;i<navigator.mimeTypes.length;i++) nse += navigator.mimeTypes[i].type.toLowerCase(); pluginlist = detectNS("application/x-revolution","Revolution"); }
function detectIE(ClassID,name) { result = false; document.write('<SCRIPT LANGUAGE=VBScript>\n on error resume next \n result = IsObject(CreateObject("' + ClassID + '"))\</SCRIPT\>\n'); if (result) return name+','; else return ''; }
function detectNS(ClassID,name) { n = ""; if (nse.indexOf(ClassID) != -1) if (navigator.mimeTypes[ClassID].enabledPlugin != null) n = name+","; return n; }
pluginlist += navigator.javaEnabled() ? "Java," : "";
if (pluginlist.length > 0) pluginlist = pluginlist.substring(0,pluginlist.length-1);
var plugin = document.getElementById("plugin");
var noplugin = document.getElementById("noplugin");
plugin.style.display = "none";
noplugin.style.display = "none";
if(pluginlist.indexOf("Revolution")!=-1){ plugin.style.display = "block"; }else{ noplugin.style.display = "block"; }
</script>
<!-- Plugin detection script finishes above this line -->
</center>
</body>
</html>
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Re: Web deployment does not work for me
lol. Hmmm. Well, use one for IE and the other for FF.
I got the same results with your file. With mine, everything works except chrome. Of course, mine is database related and therefore is VERY simplistic on the graphics. Nothing major really going on. Just querying data.
Mike
I got the same results with your file. With mine, everything works except chrome. Of course, mine is database related and therefore is VERY simplistic on the graphics. Nothing major really going on. Just querying data.
Mike
Re: Web deployment does not work for me
Hi friends,
lets face the truth: The plugin is not ready for primetime in its current state yet!
So do yourself a favour and don't rely on it!
Best
Klaus
lets face the truth: The plugin is not ready for primetime in its current state yet!
So do yourself a favour and don't rely on it!
Best
Klaus
Re: Web deployment does not work for me
Klaus,
I kinda have to. However, I will let my clients know the state of things.
Mike
I kinda have to. However, I will let my clients know the state of things.
Mike
-
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
Re: Web deployment does not work for me
I think we've just proven it is ready.
And its just the HTML that surrounds it that we need to change get it to work.
Not the first work around - won't be the last.
Not a prob for me if it doesn't work under GC.
Now the only thnig we need to add is how to check which browser is being used and how to redirect.
And its just the HTML that surrounds it that we need to change get it to work.
Not the first work around - won't be the last.
Not a prob for me if it doesn't work under GC.
Now the only thnig we need to add is how to check which browser is being used and how to redirect.
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Re: Web deployment does not work for me
Good work getting this working on Internet Explorer!!BarrySumpter wrote:DOES NOT WORK in FireFox - works ok in Internet Explorer:
http://barrysumpter.com/Splash%20Test%202.htm
Confirmed: works in IE, does not work in Firefox.
Also, this particular example does not work in Chrome.
-
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
Re: Web deployment does not work for me
I'm sure if we spent more than just a few minute on it we'd come up with that same solution as admin12.
Just havn't had the time or needs at the mo.
Just havn't had the time or needs at the mo.
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.