Javascript Preloader

This is a discussion on "Javascript Preloader" within the JavaScript Forum section. This forum, and the thread "Javascript Preloader are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 10th, 2007, 12:13
New Member
Join Date: May 2007
Location: Sri Lanka
Age: 25
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Javascript Preloader

Hey guys anyone know how to create a javascript preloader?
Please help me..
Thnxxx
Reply With Quote

  #2 (permalink)  
Old May 10th, 2007, 12:31
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Javascript Preloader

What do you want to preload? There could be a CSS way instead (depending on your answer)
Reply With Quote
  #3 (permalink)  
Old May 10th, 2007, 13:02
New Member
Join Date: May 2007
Location: Sri Lanka
Age: 25
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Javascript Preloader

Quote:
Originally Posted by karinne View Post
What do you want to preload? There could be a CSS way instead (depending on your answer)
Ya it's ok the css way...
But how do it do?

Did you see the gmail loading msg on right top of the window when it loads....?
That's what i want to do....
Reply With Quote
  #4 (permalink)  
Old May 10th, 2007, 13:14
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Javascript Preloader

No idea what you are talking about.
Reply With Quote
  #5 (permalink)  
Old May 10th, 2007, 13:22
New Member
Join Date: May 2007
Location: Sri Lanka
Age: 25
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Javascript Preloader

Quote:
Originally Posted by karinne View Post
No idea what you are talking about.
Ok ok... just forget about what i told..
Just tell me how to make a Preloader using CSS and HTML...
Thnx in advanced!
Reply With Quote
  #6 (permalink)  
Old May 10th, 2007, 14:14
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Javascript Preloader

Like I said ... it depends what you are trying to do ... if you're loading images for a rollover menu. Usually ... this means you have 2 images. 1 for the normal link state and 1 for the hover. Instead of using JS to preload the 2 nd image, just combine both and use CSS to display in the proper position.

Pure CSS rollovers without Javascript

But ... again ... this might have nothing to do with what you are doing so .. be more specific. Explain it better. Give us an example.
Reply With Quote
  #7 (permalink)  
Old May 11th, 2007, 04:48
New Member
Join Date: May 2007
Location: Sri Lanka
Age: 25
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Javascript Preloader

Quote:
Originally Posted by karinne View Post
Like I said ... it depends what you are trying to do ... if you're loading images for a rollover menu. Usually ... this means you have 2 images. 1 for the normal link state and 1 for the hover. Instead of using JS to preload the 2 nd image, just combine both and use CSS to display in the proper position.

Pure CSS rollovers without Javascript

But ... again ... this might have nothing to do with what you are doing so .. be more specific. Explain it better. Give us an example.
Ok.........
What i want to is......
Just think that u type http://www.mypage.com in your web browser....
Then until it finished loading to your web browser, I want show a message "Loading Please wait"....
Reply With Quote
  #8 (permalink)  
Old May 11th, 2007, 12:15
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Javascript Preloader

Ugh! Have a look at hotscripts or something ... But I would advise against it tho. It's very rare that you get a website that takes forever to load ... and if it does, it's because of poor coding.
Reply With Quote
  #9 (permalink)  
Old May 28th, 2007, 04:10
New Member
Join Date: May 2007
Location: india
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Javascript Preloader

I don't know javascript much but can't u display a text message in div like "Loading page please wait" and onLoad event simply hide the div...
Reply With Quote
  #10 (permalink)  
Old May 29th, 2007, 00:08
TheSealPortalTeam's Avatar
User of Users

SuperMember
Join Date: May 2007
Location: Buffalo
Posts: 290
Blog Entries: 15
Thanks: 6
Thanked 1 Time in 1 Post
Re: Javascript Preloader

well then this pages code needs a little work, mabe just have it load or 'render' in layers, I don't know how that works but most sites have that, this site has the effect, IMVU has it Myspace has it, I guess its in a css style sheet.

Just have a page that calls upon all the required images and things, or send a 'prerender' text or image
Last Blog Entry: Planning Ahead (Yesterday)
Reply With Quote
  #11 (permalink)  
Old May 29th, 2007, 01:32
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,620
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
Re: Javascript Preloader

Quote:
Originally Posted by nitinmukesh123 View Post
I don't know javascript much but can't u display a text message in div like "Loading page please wait" and onLoad event simply hide the div...
Yep. That's the way.
Something like this...
Code: Select all
<html>
<head>
<script>
var HideLoadingMessage = function(){
 document.getElementById('WAIT').display='none';
};
window.onload=HideLoadingMessage;
</script>
</head>
<body>
<div id='WAIT'>Please wait, I'm loading...</div>
PAGE CONTENT
</body>
</html>
For future reference, if you want people to help you must take the time to at least explain what you're trying to do. Saying "I want a preloader, how do I do it?" doesn't get anyone wanting to help you. I actually think it's very insulting. You sound like a newbie though so I thought I should give you a 'heads up'...

Next time,
1. Search on Google (you would have found the following)
'Loading - Please wait' Message Display Script - Javascript


Add a 'Loading - Please wait' Message Display Script to your site ideal for sites ... to customize the script, then copy and paste it into your HTML editor. ...
rainbow.arch.scriptmania.com/scripts/preload_wait.html - 9k

While the page is loading, a PLEASE WAIT message by PIAZZA Stephane

with the height and width set correctly in the html. the progress bar is just a ... I get the message, "please wait..." when attempting to use the Oklahoma ...
www.aspin.com/func/goto?id=1606910 - 105k

2. If Google can't help you, ask somebody to help. But try to explain exactly what you want to do, with examples (if possible)
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Reply With Quote
Reply

Tags
preloader

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with preloader tcpodg Flash & Multimedia Forum 2 Dec 6th, 2007 13:57
preloader crazytyler34 Flash & Multimedia Forum 3 Oct 28th, 2007 17:27
preloader help jpixel Flash & Multimedia Forum 3 Sep 27th, 2007 20:35
Help with preloader huminuh83 Flash & Multimedia Forum 4 Jan 6th, 2007 20:10
animated preloader? moomin82 Flash & Multimedia Forum 1 Mar 19th, 2006 14:47


All times are GMT. The time now is 10:48.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43