I have a portfolio page with multiple slideshows (there are four tabs
and each tab displays a different slideshow). All is well in Mozilla,
but after a couple of clicks to change the tabs in IE, it chrashes. I
have tried placing the code in the body of HTML, but still get the
same crash!! Would appreciate some help in this matter!
Here is my jQuery code:
HEAD code:
<SCRIPT type="text/javascript">
$(function() {
$('ul.pics').cycle({
fx: 'fade',
pause: 1
});
});
</SCRIPT>
BODY code:
$(function() {
// on load show tab1
$('div.gallery').hide();
$('#imgTab1').show();
$.each( [1,2,3,4], function(a, obj) {
$('#imgLink' + obj).click(function() {
$('div.gallery').hide();
$('#imgTab' + obj).show();
});
});
});