Script problem
Autor: DENNIS S.
Visited 730,
Followers 1,
Udostępniony 0
I put this script in my website X5 Pro and it doesn't work? What am I doing wrong?
Please test to see if it works for you? I've tried all 3 ways of inserting in my website.
<script type="text/javascript" language="JavaScript" src="http://www.nflweather.com/widget/current_week_horizontal_full.js" ></script>
Thanks
Dennis
Posted on the
Hello Dennis,
If you have an SSL certificate installed on the site in which you are trying to embed this script, then that could be a problem.
Mixed content (non-secure and secure... http:// and https://) is no longer permitted by many of the popular browsers due to security issues.
The script itself works fine.
What is Mixed Content?
Kind regards,
Paul
Search the WebSite X5 Help Center
Autor
Yes, I have an SSL site. When I preview the script in X5, I can see the results correctly.
But when I look go to the page in my Firefox browser it is not showing at all.
That confirms my earlier explanation, Dennis.
The WebSite X5 preview browser does not utilise an SSL certificate. So your script (which is fetched over a non-secure http protocol) can be displayed without issue... i.e. there is no mixing of secure and non-secure content.
But the Firefox browser will not permit insecure scripts to be loaded over a secure connection. See the article I linked to above.