Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1690 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Other Programming Languages :

onunload Question

Thread title: onunload Question
     
    Thread tools Search this thread Display Modes  
Prev Previous Post   Next Post Next
05-10-2007, 07:35 AM
#1
Sketch is offline Sketch
Sketch's Avatar
Status: Member
Join date: Aug 2005
Location: Melbourne, Australia
Expertise:
Software:
 
Posts: 419
iTrader: 0 / 0%
 

Sketch is on a distinguished road

  Old  onunload Question

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!

     


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed