for sliding up/down divs:
$(document).ready(function(){
//Corners
$('#insideContainer').corner('20px');
$('p.link a').removeAttr('href');
$('p.link a').css('cursor','pointer');
$('p.link a').click(function(){
$('p.link a').css('color','#ffffff');
$(this).css('color','#dddddd');
var page = $(this).attr('id');
var contentDiv = $(this).attr('rel');
$('#'+contentDiv).load(page +' #toload');
$('.content').slideUp(1500);
$('#'+contentDiv).slideDown(500);
});
});
It works well until I open the 3rd unique div. (opening and closing 2
unique divs multiple times works perfectly :s). When the 3rd
individual div is opened it slides down approximately 5 pixels and
freezes
Any help would be great
No comments:
Post a Comment