Hi all, I'm using PrettyPhoto on a site I'm building, but for some reason the google adsense code is killing it in IE, there's no js errors, but the prettyphoto frame doesnt load and the links open up in the main window instead, however if I remove the google adsense code, PrettyPhoto works fine.. Has anyone else come across this, or something similar? This only seems to die in IE, although I've only checked chrome and FF.. (but assuming it works fine in the other browsers)
Here's the code btw:
Google:
<script type="text/javascript" language="javascript">
google_ad_client = "pub-8487967187298044";
google_ad_slot = "1088799521";
google_ad_width = 250;
google_ad_height = 250;
</script>
<script type="text/javascript" language="javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
PrettyPhoto:
<script type="text/javascript" language="javascript">
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto({
animationSpeed: 'fast', /* fast/slow/normal */
padding: 0, /* padding for each side of the picture */
opacity: 0.35, /* Value betwee 0 and 1 */
showTitle: false, /* true/false */
allowresize: false, /* true/false */
counter_separator_label: ' / ', /* The separator for the gallery counter 1 "of" 2 */
theme: 'light_rounded', /* light_rounded / dark_rounded / light_square / dark_square */
callback: function(){}
});
});
</script>
PrettyPhoto Link example:
<a href="/fanzone-games?game=1&iframe=true&height=420&width=720" rel="prettyPhoto[games2]" class="red"><strong>Play Now [+]</strong></a>