.hide wont work when speed specified
Hi there,
This is realy frustrating me, i cant get the hide on this page
http://www.t-webdesign.co.uk/work.html
-
<!--
$(document).ready(function() {
var showText="Click to expand";
var hideText="Click to minimise";
$('#projecttextcontainer').hide();
$('a#toggle_link').click(function() {
if ($('#toggle_text').text()==showText) {
$('#toggle_text').text(hideText);
$('#projecttextcontainer').show(1000);
}
else {
$('#toggle_text').text(showText);
$('#projecttextcontainer').hide();
}
return false;
});
});
//-->
to work with an animation, using 'slow' or '1000' just wont work
ive tried all sorts, using separate bits of code on different test pages etc... but it wont happen, any ideas?
Thank you