You have to use a callback:
$("a").click(function () {$("div").fadeIn(3000, function () {
$("div").fadeOut(100);});return false; });
Look it up in the jQuery documentation. It's quite simple to use.
http://2whoa.com/dominate/
This should do it.
function swapDivs(oldDivId, newDivId) {
$("#" + oldDivId).fadeOut("slow",
function() {
$("#" + newDivId).fadeIn("slow");
} // swapDivs
);
[EMAIL PROTECTED] wrote:
> Hi,
>
> If you look at this page
>
[EMAIL PROTECTED] schrieb:
Hi,
If you look at this page
http://elearningrd.info/jrl/policies.php
and click on each of the links next to the arrow graphics, you'll see
the center text switches out. However, it is choppy. It seems that
as one div is fading out, the other is fading in at the s
3 matches
Mail list logo