I have the following code working just fine, however I cannot get the .show('slow') on the "myDiv" content to "slow" down when displaying. Actually I can remove the .show('slow') all together and everything still works just fine. It is as if it is ignoring the .show() completely on that line.
Any help is much appreciated!
<script language="JavaScript" type="text/javascript">
<!--
function swapContent(cv) {
$("#myDiv").html('<img src="loader.gif"/>').show();
var url = "loadtruck.php";
$.post(url, {contentVar: cv} ,function(data) {
$("#myDiv").html(data)[B].show('slow')[/B];
});
}
//-->
</script>
<div id="myDiv">
<a href="#" onClick="return false" onmousedown="javascript:swapContent('780');">780</a><br>
<a href="#" onClick="return false" onmousedown="javascript:swapContent('379');">379</a><br>
<a href="#" onClick="return false" onmousedown="javascript:swapContent('9400i');">9400i</a>
</div>