shsram Posted April 16, 2011 Share Posted April 16, 2011 Hi Guys I need a little assistance in displaying the go daddy website protection and site scan images on my site. First i went to the banner section and paste the html code provided but it did not show. If i use the osc image provided it would show however the html snippet (where it indicates would take preference over an image) did not display. Can someone assist? I'm using osCommerce 2.3.1. thanks Link to comment Share on other sites More sharing options...
shsram Posted April 18, 2011 Author Share Posted April 18, 2011 Hi Guys, I've gotten through to add the godaddy website protection and site scanner. They were placed in the footer.php file. However, I have a small issue were one is placed on top the other. I would like to have displayed together and centered. When placed the "website protection seal" automatically went to the center of the page. I tried fiddling around with the code but I didn't get any success. Can someone assist? my site is My link Link to comment Share on other sites More sharing options...
NodsDorf Posted April 18, 2011 Share Posted April 18, 2011 You got the code from GoDaddy, and edited the right file. So should just be a simple HTML fix where you put the code. Your displayed code is <p><span id="siteseal"><div style="text-align:center;margin:0 auto;"> <script type="text/javascript" src="[url="view-source:https://seal.godaddy.com/getSeal?sealID=LbBMdN2NapNRbNieBk5CRckuR8mRhFjWtu62BQbi6ZYcPUgOKwj7WvjM"]https://seal.godaddy.com/getSeal?sealID=LbBMdN2NapNRbNieBk5CRckuR8mRhFjWtu62BQbi6ZYcPUgOKwj7WvjM[/url]"></script> <br/><a style="font-family: arial; font-size: 9px" href="[url="view-source:https://www.godaddyconnections.com/"]https://www.godaddyconnections.com[/url]" target="_blank">GoDaddy</a></div></span> <script type="text/JavaScript"> //<![CDATA[ var sealServer=document.location.protocol+"//seals.websiteprotection.com/sealws/4da607fa-9c64-4f6e-a354-75e20a0607d7.gif";var certServer=document.location.protocol+"//certs.websiteprotection.com/sealws/?sealId=4da607fa-9c64-4f6e-a354-75e20a0607d7";var hostName="desirablescents.biz";document.write(unescape('<div style="text-align:center;margin:0 auto;"> <a target="_blank" href="'+certServer+'&pop=true" style="display:inline-block;"><img src="'+sealServer+'" alt="Website Protection™Site Scanner protects this website from security threats." title="This Website Protection site seal is issued to '+ hostName +'. Copyright � 2010, all rights reserved."oncontextmenu="alert(\'Copying Prohibited by Law - Website Protection is a Trademark of GoDaddy.com\'); return false;" border="0" /> </a><div id="bannerLink"><a href="https://www.godaddy.com/" target="_blank">Go Daddy</a></div></div>')); //]]> </script></p> Take out the <br/> From the first seal and it should be fine Link to comment Share on other sites More sharing options...
shsram Posted April 18, 2011 Author Share Posted April 18, 2011 You got the code from GoDaddy, and edited the right file. So should just be a simple HTML fix where you put the code. Your displayed code is <p><span id="siteseal"><div style="text-align:center;margin:0 auto;"> <script type="text/javascript" src="[url="view-source:https://seal.godaddy.com/getSeal?sealID=LbBMdN2NapNRbNieBk5CRckuR8mRhFjWtu62BQbi6ZYcPUgOKwj7WvjM"]https://seal.godaddy.com/getSeal?sealID=LbBMdN2NapNRbNieBk5CRckuR8mRhFjWtu62BQbi6ZYcPUgOKwj7WvjM[/url]"></script> <br/><a style="font-family: arial; font-size: 9px" href="[url="view-source:https://www.godaddyconnections.com/"]https://www.godaddyconnections.com[/url]" target="_blank">GoDaddy</a></div></span> <script type="text/JavaScript"> //<![CDATA[ var sealServer=document.location.protocol+"//seals.websiteprotection.com/sealws/4da607fa-9c64-4f6e-a354-75e20a0607d7.gif";var certServer=document.location.protocol+"//certs.websiteprotection.com/sealws/?sealId=4da607fa-9c64-4f6e-a354-75e20a0607d7";var hostName="desirablescents.biz";document.write(unescape('<div style="text-align:center;margin:0 auto;"> <a target="_blank" href="'+certServer+'&pop=true" style="display:inline-block;"><img src="'+sealServer+'" alt="Website Protection™Site Scanner protects this website from security threats." title="This Website Protection site seal is issued to '+ hostName +'. Copyright � 2010, all rights reserved."oncontextmenu="alert(\'Copying Prohibited by Law - Website Protection is a Trademark of GoDaddy.com\'); return false;" border="0" /> </a><div id="bannerLink"><a href="https://www.godaddy.com/" target="_blank">Go Daddy</a></div></div>')); //]]> </script></p> Take out the <br/> From the first seal and it should be fine hi I tried your suggestion but it did not help. All it did was move the godaddy at the bottom of the screen to the side. Any more suggestions Link to comment Share on other sites More sharing options...
MrPhil Posted April 19, 2011 Share Posted April 19, 2011 I see some very long lines that got split in odd places. I don't know if that's how your code actual is (which is wrong) or it's just an artifact of cutting and pasting. Anyway, start with the code broken up like this: <p> <span id="siteseal"> <div style="text-align:center;margin:0 auto;"> <script type="text/javascript" src="[url="view-source:https://seal.godaddy.com/getSeal?sealID=LbBMdN2NapNRbNieBk5CRckuR8mRhFjWtu62BQbi6ZYcPUgOKwj7WvjM"] https://seal.godaddy.com/getSeal?sealID=LbBMdN2NapNRbNieBk5CRckuR8mRhFjWtu62BQbi6ZYcPUgOKwj7WvjM[/url]"> </script> <br/> <a style="font-family: arial; font-size: 9px" href="[url="view-source:https://www.godaddyconnections.com/"]https://www.godaddyconnections.com[/url]" target="_blank">GoDaddy</a> </div> </span> <script type="text/JavaScript"> //<![CDATA[ var sealServer=document.location.protocol+ "//seals.websiteprotection.com/sealws/4da607fa-9c64-4f6e-a354-75e20a0607d7.gif"; var certServer=document.location.protocol+ "//certs.websiteprotection.com/sealws/?sealId=4da607fa-9c64-4f6e-a354-75e20a0607d7"; var hostName="desirablescents.biz"; document.write(unescape('<div style="text-align:center;margin:0 auto;"> <a target="_blank" href="'+certServer+'&pop=true" style="display:inline-block;"> <img src="'+sealServer+'" alt="Website Protection™Site Scanner protects this website from security threats." title="This Website Protection site seal is issued to '+ hostName + '. Copyright � 2010, all rights reserved." oncontextmenu="alert(\'Copying Prohibited by Law - Website Protection is a Trademark of GoDaddy.com\'); return false;" border="0" /> </a> <div id="bannerLink"> <a href="https://www.godaddy.com/" target="_blank">Go Daddy</a> </div> </div>')); //]]> </script> </p> and start gluing lines back together as needed. Don't allow your editor to split any lines that I haven't split. Also, be sure to replace the ? character (invalid character code) between Copyright and 2010 with ©. Link to comment Share on other sites More sharing options...
shsram Posted April 19, 2011 Author Share Posted April 19, 2011 I see some very long lines that got split in odd places. I don't know if that's how your code actual is (which is wrong) or it's just an artifact of cutting and pasting. Anyway, start with the code broken up like this: <p> <span id="siteseal"> <div style="text-align:center;margin:0 auto;"> <script type="text/javascript" src="[url="view-source:https://seal.godaddy.com/getSeal?sealID=LbBMdN2NapNRbNieBk5CRckuR8mRhFjWtu62BQbi6ZYcPUgOKwj7WvjM"] https://seal.godaddy.com/getSeal?sealID=LbBMdN2NapNRbNieBk5CRckuR8mRhFjWtu62BQbi6ZYcPUgOKwj7WvjM[/url]"> </script> <br/> <a style="font-family: arial; font-size: 9px" href="[url="view-source:https://www.godaddyconnections.com/"]https://www.godaddyconnections.com[/url]" target="_blank">GoDaddy</a> </div> </span> <script type="text/JavaScript"> //<![CDATA[ var sealServer=document.location.protocol+ "//seals.websiteprotection.com/sealws/4da607fa-9c64-4f6e-a354-75e20a0607d7.gif"; var certServer=document.location.protocol+ "//certs.websiteprotection.com/sealws/?sealId=4da607fa-9c64-4f6e-a354-75e20a0607d7"; var hostName="desirablescents.biz"; document.write(unescape('<div style="text-align:center;margin:0 auto;"> <a target="_blank" href="'+certServer+'&pop=true" style="display:inline-block;"> <img src="'+sealServer+'" alt="Website Protection™Site Scanner protects this website from security threats." title="This Website Protection site seal is issued to '+ hostName + '. Copyright � 2010, all rights reserved." oncontextmenu="alert(\'Copying Prohibited by Law - Website Protection is a Trademark of GoDaddy.com\'); return false;" border="0" /> </a> <div id="bannerLink"> <a href="https://www.godaddy.com/" target="_blank">Go Daddy</a> </div> </div>')); //]]> </script> </p> and start gluing lines back together as needed. Don't allow your editor to split any lines that I haven't split. Also, be sure to replace the ? character (invalid character code) between Copyright and 2010 with ©. Hi tried your recommendation but none of the seals showed. The second batch of code (cdata) needs to be in one line if not, nothing is displayed. Any other recommendations? Link to comment Share on other sites More sharing options...
shsram Posted April 19, 2011 Author Share Posted April 19, 2011 look answer. thanks all Can you explain? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.