2 posts
  • Has been part of the Envato Community for over 5 years
  • Has collected 10+ items on Envato Market
pschutter says

I’ve been designing websites for customers for the past year. I’ve noticed that few of the sites I’ve created have background images that are over a 1meg in size and when loading takes a considerable amount of time to load. I’ve tried Javascript which helps, but I would love to have a cool preloader to do this instead of watching teh HTML page slowly load.

Can someone please help me on how I can have a preloader once complete launch the first page of my site or something like this….

Thanks

Patrick

8303 posts Community Moderator
  • Has referred 10+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Attended one of our Meetups around the world
+9 more
MSFX Moderator says

why not save your images for web so they’re smaller?

for js preloaders you’d be better asking at codecanyon…

2206 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+5 more
Nitro_Themes says

Hi there

There is a jquery loader that you can use that preloads.

It would be the queryLoader.js and you would have to include it in to your html like so

<script src="scripts/queryLoader.js" type="text/javascript">

then add this under to your included js files to initialize the loader.

<script type='text/javascript'>
    $(function(){
        QueryLoader.init();
    });
    </script>

Also the loader comes with a css file that styles the loader line, size and background color that you would also have to include where you have included your other style sheets like so.

<link href="css/queryLoader.css" rel="stylesheet" type="text/css" />

That should be it, you can find the loader at http://jquery.com/

cheers

Lester

2 posts
  • Has been part of the Envato Community for over 5 years
  • Has collected 10+ items on Envato Market
pschutter says

Thanks for the response…...

I will try jquery adn see if this helps…..

Patrick

3256 posts
  • Has referred 100+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+9 more
ParkerAndKent says

1 MB bg image = a crazy way to waste the server bandwidth. 1000 page loads = 1GB!!!

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by