I have what I thought was a simple piece of jquery, but it's turning out to be a pain.
The slideUp part of this works fine, but it doesn't then slide down... It does work though if I take out the easing part of the slideUp.
Any ideas?
$('.clickableDiv').click(function() {
$("<div style='background-image:url(../images/properties/images/bk-01.jpg); width:965px; height:398px;'><img src='../images/properties/text/bk.gif' width='965' height='398' /></div>").prependTo("div.myDiv2");
$("div.myDiv1").slideUp(800, 'easeInOutSine', function() {
$("div.myDiv2").slideDown(800, 'easeInOutSine');
});
});
myDiv2 is hidden initially.
Changing the line to this works which is why I am finding it a little odd...
$("div.myDiv1").slideUp(800, function() {
I'm using Safari and firefox on a mac to test it...