I posted earlier about 1 issue I was having. Got that fixed but it brought up another issue...
The code below...
When clicking "Yes" In every other browser The page will reload without SimpleModal coming back up.
But in IE8 it continuously loads SimplModal thereby denying access to the site...
Thanks for your help in advance guys!
<!-- Init Age Verification Content -->
<div class="age" id="verify">
<div><img src="white.png"></img></div>
<div id="noman">ARE YOU OVER 18?</div>
<div>
<p> If not, leave now and we wont tell your mom.
</br> By continuing you agree you're 18 or older.
</p>
</div>
<div id="YN">
<a href="javascript:window.location.href=window.location.href" id="old">Yes</a>
<a href="example.com" rel="nofollow" id="young">No</a>
</div>
</div>
<!-- If previous page wasn't from us... Verify -->
<script>
if ( document.referrer == null || document.referrer.indexOf(window.location.hostname) < 0 ) {
$("#verify").modal({opacity:85, position: ["20%",""], onOpen: function (dialog) {
dialog.overlay.fadeIn('slow', function () {
dialog.container.slideDown('slow', function () {
dialog.data.fadeIn('slow');
return false;
});
});
}});
}
</script>
IE doesn't set a document.referrer if the user didn't navegate to the page through a link
Simply change the link's href to your page's address or try this workaround.