Shadowbox not working in IE

Posted by kielie on Stack Overflow See other posts from Stack Overflow or by kielie
Published on 2010-05-06T08:33:39Z Indexed on 2010/05/06 8:38 UTC
Read the original article Hit count: 251

Hi guys, I have a bit of a problem with my shadowbox, it works fine in FF, but it refuses to work in IE 7 or 8.

I am using these scripts,

<script type="text/javascript" src="scripts/jquery-1.4.2.js"</script>
<link rel="stylesheet" type="text/css" href="scripts/shadowbox/shadowbox.css">
<script type="text/javascript" src="scripts/shadowbox/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init();
</script>

and I am also using this jQuery to assign the rel attribute to all the a tags inside of my calendar, and it works fine in FF, but not at all in IE.

$(function() {
   $('#wp-calendar').find('a').each( function() {
       $(this).attr( 'rel', 'shadowbox[Mixed];width=520;height=390');
   });
});

but for some reason it just refuses to work in any IE.

I really am at the end of my rope here, any help would be appreciated, thanx!

© Stack Overflow or respective owner

Related posts about shadowbox

Related posts about jQuery