Hi,
I have just developed a pretty basic page.
http://www.aerclothing.com/product
It has a small javascript slide down animation. The client has asked if I can get the bar to slide back up when another link is pressed.
If you view the source you will notice that I have the following code
Code:
onunload="return slide_out();"
Which calls the following function
Code:
function slide_out()
{
Effect.toggle('d1','slide');
return true;
}
As I said very simple... But it doesn't work. I just want the thing to slide back up when the page is left. Is it possible to do this?
Thanks!