Displaying 1 result from an estimated 1 matches for "loadmerch".
2006 Oct 29
1
scriptaculous: fade out then in.
..., and scriptaculous, but I know what I want
to do.
I want to make it so that when a person clicks a link, the previous
content of the div fades out, and the new content fades in.
This is what I''ve got for my function:
<script type="text/javascript">
//<![CDATA[
function loadmerch(im)
{
new Element.Fade(''full-merch'');
Element.hide(''full-merch'');
new Effect.Appear(''full-merch'');
ajaxpage(''merchpic.php?im=''+im, ''full-merch'');
}
//]]>
</script>
Then when the use clicks the link:...