Forum Moderators: open

Message Too Old, No Replies

Javascript Abnormality

Displaying an SSL icon using an external Javascript function

         

Weirfire

6:13 pm on Jan 23, 2009 (gmt 0)

10+ Year Member



I'm trying to display an SSL icon via a Javascript piece of code on another site. It appears to work on all my pages (SSL and non SSL) except the homepage. The Javascript code is called from just below the head tag and the call to the javascript function is done in the left column just below the paypal icon.

Please find below the code for the head and the icon itself. If anyone needs the URL please PM me. On the code below I have replaced the URL's as per the guidelines set out on the sticky message.

<!-- Head Code -->
<script language="JavaScript" src="http://www.ssl-icon-example-domain.com/trustlogo/javascript/trustlogo.js" type="text/javascript">
</script>
<!-- End of Head Code -->

<!-- Body COde -->

<a href="http://www.example-ssl-company.com" id="comodoTL">SSL</a>
<script type="text/javascript">TrustLogo("http://www.my-domain.com/images/tl_transp.gif", "SCAS", "none");</script>

<!-- End of Body Code -->

rocknbil

9:13 pm on Jan 23, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Did you try changing the protocol to https?

Weirfire

12:23 pm on Jan 24, 2009 (gmt 0)

10+ Year Member



I have tried using the https protocol as well yes and it doesn't work either. It appears the homepage is the only page which is not functioning correctly.

One thing which may help answer this problem is that it appears to work perfectly in firefox. I was testing with IE7 which is showing the errors.

[edited by: Weirfire at 12:23 pm (utc) on Jan. 24, 2009]