Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 12 of 12
  1. #1
    New Coder
    Join Date
    Jan 2011
    Posts
    51
    Thanks
    18
    Thanked 0 Times in 0 Posts

    Browser Compatibility Issues

    The code below is showing in IE, Firefox, and Google Chrome but not Safari. Anybody know why?

    Here's the link to the actual page: http://proobject.com/Capabilities/ta...6/Default.aspx

    Code:
    <table border="0"> <tbody> <tr> <td width="115">&#160;</td> <td align="center"> 
    <table border="0" width="776"> 
    <tbody id="capabilitiesTable"> <tr> <td valign="top"> 
    <div id="capabilityFile" scrolltop="2">
    	<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="776" align="absBottom" height="500" valign="bottom"> <param name="wmode" value="transparent" /> 
    	<param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="/Portals/0/capabilities/capabilities_2013.swf" /> <param name="quality" value="high" /></object>
    </div> 
    </td> </tr> </tbody> 
    </table> 
    </td> <td width="115">&#160;</td> </tr> </tbody> </table> 
    
    <p><input type="hidden" name="VITCoord" value="0" /><input type="hidden" name="PTCoord" value="0" /></p> 
    <script> //<![CDATA[//>
    var qsParm = new Array(); 
    qsParm['capabilityId'] = null; 
    qs();  /**
    alert('qsParm[capabilityId] = ' + qsParm['capabilityId']); 
    if (qsParm['capabilityId'] != null) { alert('qsParm[capabilityId] = ' + qsParm['capabilityId']); 
    } 
    else { 
    alert('qsParm[capabilityId] = ' + 'null'); } */ 
    
    if (qsParm['capabilityId'] == null) { 
    qsParm['capabilityId'] = 'main'; displayCapabilitiesTableNow(qsParm['capabilityId']); 
    } 
    else { displayCapabilitiesTableNow(qsParm['capabilityId']); 
    } 
    
    function displayCapabilitiesTableNow(capabilityId) { 
    if (capabilityId == 'Cyber') { 
    var x = document.getElementById('capabilityFile'); 
    var s = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="776" height="500" hspace="0" vspace="0" align="absbottom" valign="bottom"> <param name="wmode" value="opaque" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="/Portals/0/capabilities/practiceCyber_2013.swf" /> <param name="quality" value="high" /><embed src="/Portals/0/capabilities/practiceCyber_2013.swf" width="776" height="500" quality="high" hspace="0" vspace="0" align="absbottom" allowScriptAccess="sameDomain" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="opaque"><param name="wmode" value="opaque" /></embed></object>'; 
    x.innerHTML = s; 
    } 
    else if (capabilityId == 'Enterprise') { 
    var x = document.getElementById('capabilityFile'); 
    var s = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="776" height="500" hspace="0" vspace="0" align="absbottom" valign="bottom"> <param name="wmode" value="opaque" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="/Portals/0/capabilities/practiceEnterpriseSoft_2013.swf" /> <param name="quality" value="high" /><embed src="/Portals/0/capabilities/practiceEnterpriseSoft_2013.swf" width="776" height="500" quality="high" hspace="0" vspace="0" align="absbottom" allowScriptAccess="sameDomain" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="opaque"><param name="wmode" value="opaque" /></embed></object>'; 
    x.innerHTML = s; 
    } 
    else if (capabilityId == 'HLT') { 
    var x = document.getElementById('capabilityFile'); 
    var s = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="776" height="500" hspace="0" vspace="0" align="absbottom" valign="bottom"> <param name="wmode" value="opaque" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="/Portals/0/capabilities/practiceHumanLang_2013.swf" /> <param name="quality" value="high" /><embed src="/Portals/0/capabilities/practiceHumanLang_2013.swf" width="776" height="500" quality="high" hspace="0" vspace="0" align="absbottom" allowScriptAccess="sameDomain" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="opaque"><param name="wmode" value="opaque" /></embed></object>'; 
    x.innerHTML = s; 
    } 
    else if (capabilityId == 'PM') { 
    var x = document.getElementById('capabilityFile'); 
    var s = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="776" height="500" hspace="0" vspace="0" align="absbottom" valign="bottom"> <param name="wmode" value="opaque" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="/Portals/0/capabilities/practicePM_2013.swf" /> <param name="quality" value="high" /><embed src="/Portals/0/capabilities/practicePM_2013.swf" width="776" height="500" quality="high" hspace="0" vspace="0" align="absbottom" allowScriptAccess="sameDomain" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="opaque"></embed><param name="wmode" value="opaque" /></object>'; 
    x.innerHTML = s; 
    } 
    else if (capabilityId == 'RealTime') { 
    var x = document.getElementById('capabilityFile'); 
    var s = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="776" height="500" hspace="0" vspace="0" align="absbottom" valign="bottom"> <param name="wmode" value="opaque" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="/Portals/0/capabilities/practiceRealTime_2013.swf" /> <param name="quality" value="high" /><embed src="/Portals/0/capabilities/practiceRealTime_2013.swf" width="776" height="500" quality="high" hspace="0" vspace="0" align="absbottom" allowScriptAccess="sameDomain" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="opaque"><param name="wmode" value="opaque" /></embed> </object>'; x.innerHTML = s; 
    } 
    else if (capabilityId == 'Requirements') { 
    var x = document.getElementById('capabilityFile'); 
    var s = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="776" height="500" hspace="0" vspace="0" align="absbottom" valign="bottom"> <param name="wmode" value="opaque" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="/Portals/0/capabilities/practiceReqMan_2013.swf" /> <param name="quality" value="high" /><embed src="/Portals/0/capabilities/practiceReqMan_2013.swf" width="776" height="500" quality="high" hspace="0" vspace="0" align="absbottom" allowScriptAccess="sameDomain" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="opaque"><param name="wmode" value="opaque" /></embed> </object>'; x.innerHTML = s; 
    } 
    else if (capabilityId == 'Support') { 
    var x = document.getElementById('capabilityFile'); 
    var s = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="776" height="500" hspace="0" vspace="0" align="absbottom" valign="bottom"> <param name="wmode" value="opaque" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="/Portals/0/capabilities/practiceSoftSup_2013.swf" /> <param name="quality" value="high" /><embed src="/Portals/0/capabilities/practiceSoftSup_2013.swf" width="776" height="500" quality="high" hspace="0" vspace="0" align="absbottom" allowScriptAccess="sameDomain" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="opaque"><param name="wmode" value="opaque" /></embed> </object>'; x.innerHTML = s; 
    } 
    else if (capabilityId == 'Deployment') { 
    var x = document.getElementById('capabilityFile'); 
    var s = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="776" height="500" hspace="0" vspace="0" align="absbottom" valign="bottom"> <param name="wmode" value="opaque" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="/Portals/0/capabilities/practiceSysInt_2013.swf" /> <param name="quality" value="high" /><embed src="/Portals/0/capabilities/practiceSysInt_2013.swf" width="776" height="500" quality="high" hspace="0" vspace="0" align="absbottom" allowScriptAccess="sameDomain" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="opaque"><param name="wmode" value="opaque" /></embed> </object>'; x.innerHTML = s; 
    } 
    else if (capabilityId == 'Web') { 
    var x = document.getElementById('capabilityFile'); 
    var s = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="776" height="500" hspace="0" vspace="0" align="absbottom" valign="bottom"> <param name="wmode" value="opaque" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="/Portals/0/capabilities/practiceWebTech_2013.swf" /> <param name="quality" value="high" /><embed src="/Portals/0/capabilities/practiceWebTech_2013.swf" width="776" height="500" quality="high" hspace="0" vspace="0" align="absbottom" allowScriptAccess="sameDomain" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="opaque"><param name="wmode" value="opaque" /></embed> </object>'; x.innerHTML = s; 
    } 
    else if (capabilityId == 'main') { 
    var x = document.getElementById('capabilityFile'); 
    var s = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="776" height="500" hspace="0" vspace="0" align="absbottom" valign="bottom"> <param name="wmode" value="opaque" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="/Portals/0/capabilities/capabilities_2013.swf" /> <param name="quality" value="high" /><embed src="/Portals/0/capabilities/capabilities_2013.swf" width="776" height="500" quality="high" hspace="0" vspace="0" align="absbottom" allowScriptAccess="sameDomain" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="opaque"><param name="wmode" value="opaque" /></embed> </object>'; x.innerHTML = s; 
    } 
    } 
    function qs() { 
    var query = window.location.search.substring(1); 
    var parms = query.split('&'); 
    for ( var i = 0; i < parms.length; i++) { 
    var pos = parms[i].indexOf('='); 
    if (pos > 0) { 
    var key = parms[i].substring(0, pos); 
    var val = parms[i].substring(pos + 1); 
    qsParm[key] = val; 
    } 
    } 
    } //<!]]> 
    </script>

  • #2
    Senior Coder xelawho's Avatar
    Join Date
    Nov 2010
    Posts
    2,930
    Thanks
    56
    Thanked 550 Times in 547 Posts
    the actual page seems to work fine for me in Safari. Maybe you could elaborate on what "not showing" means?

    Have you checked the error console?

  • #3
    New Coder
    Join Date
    Jan 2011
    Posts
    51
    Thanks
    18
    Thanked 0 Times in 0 Posts
    Hmm..ok so my boss declared that the page wasn't working and handed me her IPad. I assumed it was a Safari issue because of that... But basically the Capabilities box is an big empty gray box when you look at it from this IPad.

    EDIT: And no, I have not checked the error console..not sure how to do that with an IPad....
    Last edited by hunter1611; 09-11-2013 at 05:07 PM.

  • #4
    Senior Coder xelawho's Avatar
    Join Date
    Nov 2010
    Posts
    2,930
    Thanks
    56
    Thanked 550 Times in 547 Posts
    ah. Well, it works fine on safari desktop for windows, which is obviously a different thing.

    Don't have an iPad, and have sworn off everything "i" forever, so can't help you, sorry.

  • #5
    Regular Coder hdewantara's Avatar
    Join Date
    Aug 2009
    Location
    Jakarta, Indonesia.
    Posts
    350
    Thanks
    9
    Thanked 51 Times in 50 Posts
    Try check the iOS version of your boss' iPad. Maybe it's the latest version that supports shockwave's Flash? AFAIK all iOS devices don't

    If it doesn't then, all you can see there is probably one line of menu: Home/ Company/ Capabilities/ etc; the slideshow on top and content on middle would probably be replaced with gray blank spaces.

  • #6
    New Coder
    Join Date
    Jan 2011
    Posts
    51
    Thanks
    18
    Thanked 0 Times in 0 Posts
    If it was the latest version of iOS wouldn't it show the entire thing?

    Regardless, I see a completely gray box and that's it... Like the application isn't there at all.

  • #7
    Regular Coder hdewantara's Avatar
    Join Date
    Aug 2009
    Location
    Jakarta, Indonesia.
    Posts
    350
    Thanks
    9
    Thanked 51 Times in 50 Posts
    For that question, have you tried searching in the Apple Community forum? I believe they have better answer than mine

  • #8
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,301
    Thanks
    10
    Thanked 586 Times in 567 Posts
    ipad doesn't run flash. never has, never will, at least not in safari of all places...
    i doubt it like any of the <objects> at all, but i don't know that for sure like i do about flash.
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/5/28) IE7:0.1, IE8:5.3, IE11:8.4, IE9:3.2, IE10:3.2, FF:18.2, CH:46, SF:7.9, NON-MOUSE:32%

  • #9
    New Coder
    Join Date
    Jan 2011
    Posts
    51
    Thanks
    18
    Thanked 0 Times in 0 Posts
    So, basically, you're saying that I didn't actually break the page. It just never worked on an IPad to begin with. Correct?

  • #10
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,042
    Thanks
    0
    Thanked 251 Times in 247 Posts
    Try using Flowplayer.

  • #11
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,301
    Thanks
    10
    Thanked 586 Times in 567 Posts
    Quote Originally Posted by hunter1611 View Post
    So, basically, you're saying that I didn't actually break the page. It just never worked on an IPad to begin with. Correct?
    anything that needs flash never worked on the iPad's safari in any version of iOS.
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/5/28) IE7:0.1, IE8:5.3, IE11:8.4, IE9:3.2, IE10:3.2, FF:18.2, CH:46, SF:7.9, NON-MOUSE:32%

  • Users who have thanked rnd me for this post:

    hunter1611 (09-16-2013)

  • #12
    New Coder
    Join Date
    Jan 2011
    Posts
    51
    Thanks
    18
    Thanked 0 Times in 0 Posts
    Ok, awesome, thank you.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •