bluehostforum.com  

Go Back   bluehostforum.com > BlueHost Related Help > Advanced Scripting, and Coding help!

Reply
 
Thread Tools Display Modes
  #1  
Old 11-06-2009, 04:16 PM
mblackwood mblackwood is offline
Junior Member
 
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.
Reply With Quote
  #2  
Old 11-06-2009, 05:01 PM
felgall's Avatar
felgall felgall is offline
Moderator
 
Join Date: Nov 2006
Location: Sydney, Australia
Posts: 3,830
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.
Reply With Quote
  #3  
Old 11-06-2009, 05:53 PM
mblackwood mblackwood is offline
Junior Member
 
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?
Reply With Quote
  #4  
Old 11-06-2009, 07:04 PM
redsox9's Avatar
redsox9 redsox9 is offline
Moderator
 
Join Date: Feb 2006
Location: North of Boston, MA
Posts: 1,280
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
Reply With Quote
  #5  
Old 11-06-2009, 07:13 PM
felgall's Avatar
felgall felgall is offline
Moderator
 
Join Date: Nov 2006
Location: Sydney, Australia
Posts: 3,830
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.
Reply With Quote
Reply

Tags
bluehost, ezs3, firefox, javascript

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:53 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.