1 replies
I've been working on this issue all day. for about 16 hours actually and it's really starting to drive me nuts, finally...

Ok, here's the deal. I joined Peerfly and they gave me a simple javascript to add a banner rotator to my site.

The problem was that my site is hosted with Google Sites and they do not support the javascript code that was given to me. So being the type of person that doesn't give up easily, I started researching. (STOOOPPPIT!)

I found that Google now supports javascript through the HTML Box that you can add to your page. I tried that and got this



I researched further and four hours later created a "Google Gadget" an XML file

Code:
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Peerfly" />
<Content type="html"><![CDATA[
<div class="PeerFly728x90"></div>
<script src="http://pixxur.com/rotator.js"></script>
<script>
$(document).ready()
{
new PFRotator({'width': '728', 'height': '90', 'adult': 'no', 'vertical': 'ALL, '}, 'PeerFly728x90', '140808', '', '', 'Yes');
}
</script>
]]></Content>
</Module>
2 hours later, I hosted the .xml file at https://googledrive.com/host/0ByB2oX...jQ/peerfly.xml

I then added the .xml file to the site as a Google Gadget using the URL given to me by Google Drive. It looked good to me so I added it to a bunch of pages.(This turned out to be a huge waste of time after doing further research.) :rolleyes:

I viewed the page as a visitor and noticed it was being blocked due to the fact that that the javascript that peerfly gave me(the one above) read "http://pixxur.com/rotator.js" NOT THEIR FAULT and it has to read "https://pixxur.com/rotator.js" to display correctly. An "insecure content" message was preventing the browser from presenting my gadget to visitors.

I removed the gadget from all of the pages I'd previously edited (about 50), added my revised .xml code to 1 page and it's working great!!!!

...in Google Chrome.

4 hours later, here I am. Does anyone know why this will not display in Firefox, Internet Explorer or any other browser? I'm seriously about to blow a gasket.

Peerfly's really simple code should not even be a topic for discussion. I'm going to switch hosts soon, but I'm not giving up on finding a solution to this right now. I will beat this thing!

Thanks for any help that you can provide.
#browsers #issue #security #xml
  • Profile picture of the author LukePeerFly
    It seems to just be an issue with using Google Sites. Our banner rotator works fine on all browsers.
    Signature

    ^ My Blog

    Are you an affiliate that runs PPV advertising? You need my PPV target scraper!
    Have a Facebook Page? FPTraffic, manages over 1,000,000,000 (BILLION) Likes! Check it out :)
    {{ DiscussionBoard.errors[8773128].message }}

Trending Topics