Displaying 1 result from an estimated 1 matches for "ajaxpage".
Did you mean:
abadpage
2006 Oct 29
1
scriptaculous: fade out then in.
...ntent 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: <a onclick="loadmerch(''ep.jpg'');"
href="#"> it will fade out previous content (if any), and fade in the
new content....