suehami Posted September 1, 2014 Share Posted September 1, 2014 (edited) Hi I hope someone can help me and has an idea about why the image for my trust logo isn't showing. On my test set up locally it works fine, however on the live site it's not showing up. this is the javascript which i can see clearly in the page source, i can also access the image directly using the background image url in use <script type="text/javascript">(function() { var comodo_COT = document.createElement("a"); comodo_COT.setAttribute("id","comodo_corner_of_trust"), comodo_COT.setAttribute("href", "http://www.trustlogo.com/ttb_searcher/trustlogo?v_querytype=W&v_shortname=CL1&v_search=:"+window.location.protocol+"//"+window.location.host+"&x=6&y=5"), comodo_COT.setAttribute("target","_blank"), comodo_COT.setAttribute("title","SSL Secure website"), comodo_COT.innerHTML = "SSL Secure website", comodo_COT.style.cssText="position:fixed;bottom:0;right:0;display:block;height:85px;width:100px;background:url(/100x85_cot.gif) no-repeat;text-indent:-999em;text-decoration:none;z-index:9999199", comodo_COT.setAttribute("onclick", "newwindow = window.open(this.href, 'comodo_COT', 'width=375, height=660'); if(window.focus) {newwindow.focus()} return false;"), document.body.insertBefore(comodo_COT,document.body.firstChild);})();</script> I've tried using a full path url to the image and that doesn't work either. I adjusted the z-index from 9999 I'd be grateful for any thoughts. Regards Sue Edited September 1, 2014 by suehami (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 1, 2014 Share Posted September 1, 2014 any chance to see page where you applied this code, please? Link to comment Share on other sites More sharing options...
suehami Posted September 1, 2014 Author Share Posted September 1, 2014 Hi vekia, Thank you for getting back to me. I'm afraid it's on maintenance mode at the moment but if you give me an IP I'll happily add it so you can take a look. Sue Link to comment Share on other sites More sharing options...
vekia Posted September 1, 2014 Share Posted September 1, 2014 ip address sent via PM system here :-) Link to comment Share on other sites More sharing options...
suehami Posted September 1, 2014 Author Share Posted September 1, 2014 Thank you so much Vekia. I've added the IP so hopefully you can take a look. Link to comment Share on other sites More sharing options...
vekia Posted September 1, 2014 Share Posted September 1, 2014 thank you i still see there maintenance page Link to comment Share on other sites More sharing options...
suehami Posted September 1, 2014 Author Share Posted September 1, 2014 I've removed my IP from the list so maybe it'll work now? Link to comment Share on other sites More sharing options...
suehami Posted September 12, 2014 Author Share Posted September 12, 2014 Turned out I was given the wrong code snippet by my host. The cert. supplier gave me the correct snippet and it all works now. Link to comment Share on other sites More sharing options...
PascalVG Posted September 13, 2014 Share Posted September 13, 2014 Marked as solved, then. Happy selling pascal. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now