Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  
    I am attempting to embed a Flash nav bar into an HTML site. I utilized the SWFObject workaround to make sure this nav bar displays in IE without any warnings. I have written the code correctly and all directory links are accurate. The site displays perfectly in Safari, Firefox, and Opera on Mac OS X and Firefox on Windows XP. However, the active content warning still displays when I attempt to view the site in Internet Explorer on XP. The pertinent portion of my code is below. Thanks a million for your support!


    <html>
    <head>
    <title>Travel</title>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <script type="text/javascript" src="swfobject.js"></script>
    <style type="text/css" media=all>

    body {
    background-color: #ffffcc;
    }

    #navigation_bar {
    background: #FFFFCC;
    width: 323px;
    height: 1016px;
    }

    #navigation_bar p {
    font-size: 200%;
    text-align: center;
    }

    </style>
    </head>
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <div align="center">
    <table id="Table_01" width="948" height="1852" border="0" cellpadding="0"cellspacing="0">
    <tr>
    <td colspan="2" rowspan="3">

    <div id="navigation_bar">
    <p>You need to <a href="http://www.adobe.com/go/getflashplayer/">upgrade your Flash Player</a> to view this site's navigation bar.</p>
    </div>

    <script type="text/javascript">
    var so = new SWFObject("button_bar.swf", "Flash Navigation Bar", "323", "1016", "8", "#FFFFCC");
    so.write("navigation_bar");
    </script>

    </td>
    <td colspan="2" rowspan="2">
    <img src="images/index_12.jpg" width="94" height="991" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="1" height="10" alt=""></td>
    </tr>
    </table>
    </div>
    </body>
    </html>
    • CommentAuthorphilip
    • CommentTimeAug 1st 2007
     
    the code you posted works fine for me in IE6, WinXP. no click to activate message.

    are you doing anything else to the page besides what's listed here?

    - philip
  2.  
    Thanks Philip. I tried opening just this code snippet on IE on a WinXP PC and it still gave me the warning. It's almost as if it's not reading the Javascript. I've experienced this problem on two WinXP PCs too. Maybe Javascript is disabled. I'll check.
  3.  
    Here's my full code:

    <html>
    <head>
    <title>Travel</title>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <script type="text/javascript" src="swfobject.js"></script>
    <style type="text/css" media=all>

    body {
    background-color: #ffffcc;
    }

    #navigation_bar {
    background: #FFFFCC;
    width: 323px;
    height: 1016px;
    }

    #navigation_bar p {
    font-size: 200%;
    text-align: center;
    }

    </style>
    </head>
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <div align="center">
    <table id="Table_01" width="948" height="1852" border="0" cellpadding="0"cellspacing="0">
    <tr>
    <td colspan="11">
    <img src="images/index_01.jpg" width="947" height="27" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="1" height="27" alt=""></td>
    </tr>
    <tr>
    <td colspan="2">
    <img src="images/index_02.jpg" width="35" height="155" alt=""></td>
    <td colspan="3"> <a href="index.html"><img src="images/index_03.jpg" alt="" width="416" height="155" border="0"></a></td>
    <td colspan="5"> <a href="index.html"><img src="images/index_04.jpg" alt="" width="472" height="155" border="0"></a></td>
    <td rowspan="12">
    <img src="images/index_05.jpg" width="24" height="1824" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="1" height="155" alt=""></td>
    </tr>
    <tr>
    <td rowspan="11">
    <img src="images/index_06.jpg" width="34" height="1669" alt=""></td>
    <td colspan="4" rowspan="2"> <a href="index.html"><img src="images/index_07.jpg" alt="" width="417" height="323" border="0"></a></td>
    <td colspan="5"> <a href="index.html"><img src="images/index_08.jpg" alt="" width="472" height="298" border="0"></a></td>
    <td>
    <img src="images/spacer.gif" width="1" height="298" alt=""></td>
    </tr>
    <tr>
    <td colspan="5" rowspan="3"><a href="index.html"><img src="images/index_09.jpg" alt="" width="472" height="82" border="0"></a></td>
    <td>
    <img src="images/spacer.gif" width="1" height="25" alt=""></td>
    </tr>
    <tr>
    <td colspan="4"> <a href="index.html"><img src="images/index_10.jpg" alt="" width="417" height="47" border="0"></a></td>
    <td>
    <img src="images/spacer.gif" width="1" height="47" alt=""></td>
    </tr>
    <tr>
    <td colspan="2" rowspan="3">

    <div id="navigation_bar">
    <p>You need to <a href="http://www.adobe.com/go/getflashplayer/">upgrade your Flash Player</a> to view this site's navigation bar.</p>
    </div>

    <script type="text/javascript">
    var so = new SWFObject("button_bar.swf", "Flash Navigation Bar", "323", "1016", "8", "#FFFFCC");
    so.write("navigation_bar");
    </script>

    </td>


    continued on next post...
  4.  
    <td colspan="2" rowspan="2">
    <img src="images/index_12.jpg" width="94" height="991" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="1" height="10" alt=""></td>
    </tr>
    <tr>
    <td colspan="5">Home Page</td>
    <td>
    <img src="images/spacer.gif" width="1" height="981" alt=""></td>
    </tr>
    <tr>
    <td>
    <img src="images/index_14.jpg" width="44" height="25" alt=""></td>
    <td colspan="4" rowspan="3">
    <img src="images/index_15.jpg" width="200" height="185" alt=""></td>
    <td rowspan="2">
    <img src="images/index_16.jpg" width="65" height="161" alt=""></td>
    <td rowspan="2">
    <img src="images/index_17.jpg" width="257" height="161" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="1" height="25" alt=""></td>
    </tr>
    <tr>
    <td rowspan="5">
    <img src="images/index_18.jpg" width="1" height="283" alt=""></td>
    <td colspan="2" rowspan="4">
    <img src="images/index_19.jpg" width="366" height="258" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="1" height="136" alt=""></td>
    </tr>
    <tr>
    <td colspan="2" rowspan="4">
    <img src="images/index_20.jpg" width="322" height="147" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="1" height="24" alt=""></td>
    </tr>
    <tr>
    <td colspan="3">
    <img src="images/index_21.jpg" width="193" height="42" alt=""></td>
    <td rowspan="3">
    <img src="images/index_22.jpg" width="7" height="123" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="1" height="42" alt=""></td>
    </tr>
    <tr>
    <td colspan="2">
    <img src="images/index_23.jpg" width="172" height="56" alt=""></td>
    <td rowspan="2">
    <img src="images/index_24.jpg" width="21" height="81" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="1" height="56" alt=""></td>
    </tr>
    <tr>
    <td colspan="4">
    <img src="images/index_25.jpg" width="538" height="25" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="1" height="25" alt=""></td>
    </tr>
    <tr>
    <td>
    <img src="images/spacer.gif" width="34" height="1" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="1" height="1" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="322" height="1" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="44" height="1" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="50" height="1" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="122" height="1" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="21" height="1" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="7" height="1" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="65" height="1" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="257" height="1" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="24" height="1" alt=""></td>
    <td></td>
    </tr>
    </table>
    </div>
    </body>
    </html>
  5.  
    Just checked. Javascript is enabled, but the problem persists. Thanks for your help.
  6.  
    Additionally, not even the Flash elements on the SWFObject test HTMLs that download along with the swfobject.js file display without receiving the IE WinXP active content warning. I've tested this now on three WinXP PCs that have javascript enabled, and the active content warning still persists despite the javascript workaround. I appreciate the forum's continued assistance. Thanks so much!
    • CommentAuthorphilip
    • CommentTimeAug 1st 2007
     
    hmm... weird. i don't have any issues here on my PC. anyone else?
  7.  
    OK. So I did some more research. Apparently the problem I am having is a local machine zone preview issue. Everytime I have tested my site in IE on WinXP PCs I have done so from the local root drive and not http. I heard adding a "mark of the web" should solve even this local preview problem. However, this has not worked for me either. Nonetheless, can I assume that my page will work, Flash and all, when published to the server? Thank you for your patience with my inquiry!
    • CommentAuthorphilip
    • CommentTimeAug 1st 2007
     
    yes, the mark of the web should eliminate some local security issues. (see http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19542&sliceId=1)

    the mark:
    <!-- saved from url=(0013)about:internet -->

    but again, i have no idea what's causing your issue, so i can't say one way or the other that the mark of the web hack will help you. am i correct when in saying this issue only happens when you're testing locally, and happens on multiple computers testing the same local files?
  8.  
    Thanks for the help again. Yeah, the problem occurs when I am testing copies of the files off the local hard drives of multiple PCs. So indeed I would be in the local machine zone when doing this testing. I'm a Mac guy so all of this is new to me.
    • CommentAuthorAran
    • CommentTimeAug 2nd 2007
     
    You need to set your security preferences for the flash player to allow communication from local and internet zones. Go to the below location and add the folder(s) you want. I just allow a top level folder I want all content under to work such as c:\dev\. If you set this once, it appears to apply the settings to BOTH IE and FF plugins.

    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

    Cheers,
    Aran
  9.  
    Cool! That helps a lot. Thanks!
    • CommentAuthorzhangsisi
    • CommentTimeOct 1st 2007
     
    find love best www.ConnectAsia.info/en/lang104082about_sisi11 welcome you