Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 12-07-2011, 08:53 PM   #1
New Member
 
Join Date: Dec 2011
Location: Arizona
Posts: 4
Default Invoking JavaScript onUnload event

Hi,
I am currently trying to set up an JS event where, upon leaving a web page a loading spinner (http://fgnass.github.com/spin.js/#?l...l=65&speed=1.5) is displayed as the next page loads. I have tried several different positions and arrangements of the necessary code in order to make it happen and it just hasn't been working. How and where do I place the code from the above link in order for it to function?

Thanks

P.S. - I suspect that I may be misplacing the onUnload function so any insight on how to write the proper syntax for that would also be great.

Last edited by us0r; 12-08-2011 at 03:58 PM.
us0r is offline   Reply With Quote


Reply

Tags
java script, web design

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:35 AM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.