Forum Moderators: open
This is the code I have:
<script type="text/javascript">
var $j = jQuery.noConflict();
$j(document).ready(function(){
$j("#whatsnew > ul > li:first").fadeOut("10000");
});
</script>
html
<div id="whatsnew">
<ul>
<li>Title 1</li>
<li>Title 2</li>
</ul>
</div>
As you can see i've set the fade out to 10000 milliseconds (10 secs). However, regardless of what duration I put the fadeOut always seems to last only 1-2 secs.
The code i'm using has come straight from the JQuery site.
I've stripped the page to its bare bones, i.e. removed all other JS and html, to see if this was causing the problem, but still the fadeOut is the same duration 1-2 secs.
any input would be much appreciated.