Results 1 to 5 of 5

Thread: EZS3 Javascript not working on bluehost, but exact same script works fine elsewhere

  1. #1
    Join Date
    Nov 2009
    Posts
    2

    Default EZS3 Javascript not working on bluehost, but exact same script works fine elsewhere

    Here is the script:

    Code:
    <script type="text/javascript">
    var playerhost = (("https:" == document.location.protocol) ? "https://www.ezs3.com/secure/" : "http://www.ezs3.com/players/");
    document.write(unescape("%3Cscript src='" + playerhost + "flv/prestoncrown/BCFCE8C7-9819-A896-43967F73FC4ABC0E.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    Here is the page that is not working in Firefox:
    http://betterthanshortsale.com/avoidshortsale.html

    Here is exact same script on a page not hosted on bluehost that does work in Firefox:
    http://www.ezs3.com/public/28.cfm
    Last edited by redsox9; 11-06-2009 at 07:05 PM.

  2. #2
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    4,944

    Default

    JavaScript runs in the web browser and so in both cases with what you are looking at the scripts are running in the same place - your browser. Where they came from is irrelevant.

  3. #3
    Join Date
    Nov 2009
    Posts
    2

    Default

    Felgall,

    The script is for launching a flash player. And what i see is a message telling me that I have to get the latest version of the flash player, which I already have.

    If you go to the link on bluehost using Firefox, what do you see?

  4. #4
    Join Date
    Feb 2006
    Location
    North of Boston, MA
    Posts
    1,657

    Default

    I tried with both IE and with FireFox. I got the BH site to work with IE but not with Firefox. The other site works regardless of the browser selected.

    However, the code you show in your original post does not match what is sourced from the BH page, while the EZS3 code does match. Is that your problem, perhaps?
    redsox9 - Go Red Sox!!! 2004 and 2007 World Series Champions!
    Visit FenwayFanatics.com, home to Boston Red Sox baseball fans everywhere... now on Facebook and Twitter!

  5. #5
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    4,944

    Default

    The script at http://www.ezs3.com/public/28.cfm contains JavaScript, the one at http://betterthanshortsale.com/avoidshortsale.html doesn't.

    JavaScript that is not in the web page will not run.

    There are plenty of differences between those two pages that might explain why they work differently that have nothing to do with where they are hosted.

Tags for this Thread

Posting Permissions

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