Current location: Hot Scripts Forums » General Web Coding » JavaScript » loading


loading

Reply
  #1 (permalink)  
Old 07-14-08, 10:41 PM
umarrana umarrana is offline
Newbie Coder
 
Join Date: Dec 2006
Location: Pakistan
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
loading

I'm looking for a way to make something like the loading screen in Plesk. When you click a link, it grey's out the entire page and places a Loading image on top while it loads the page. Does anyone know how to do this?
Reply With Quote
  #2 (permalink)  
Old 07-15-08, 12:52 AM
<?Wille?> <?Wille?> is offline
Junior Code Guru
 
Join Date: Jan 2004
Location: Helsinki, Finland
Posts: 666
Thanks: 0
Thanked 0 Times in 0 Posts
You might be able to do this with body onunload, if not then onclick on every link that leaves the page.
Make a javascript to create/show something similar to this
HTML Code:
<div style="opacity: 0;filter:alpha(opacity: 0);-moz-opacity: 0;-khtml-opacity: 0;background-color:#000;position:absolute;left:0px;top:0px;width:100%;height:100%;z-index:1000">Loading</div>
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Textfield, CSS stylesheet external loading Flash_Boi Flash & ActionScript 1 03-03-09 06:43 AM
Creating a loading screen. rwalter JavaScript 2 03-13-08 02:46 PM
Upload a image loading box. blinn_shade PHP 6 03-06-08 05:47 AM
speeding up the loading process donff Flash & ActionScript 2 07-30-07 06:30 AM
XML Config vs. Dynamic Loading Trevor PHP 0 09-12-05 09:45 PM


All times are GMT -5. The time now is 11:39 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.