Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-27-2012, 05:08 PM   PM User | #1
filmmaker1996
New to the CF scene

 
Join Date: Oct 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
filmmaker1996 is an unknown quantity at this point
DIV Background isn't loading immediately

I am working on fixing up a website that another web designer had made, and I have encountered a problem. They background of my #content-container, takes longer to load than the rest of the site. If you need, I can put the styles and source code up, but the website is http://www.bswake.com
filmmaker1996 is offline   Reply With Quote
Old 10-27-2012, 08:52 PM   PM User | #2
DanInMa
Senior Coder

 
DanInMa's Avatar
 
Join Date: Nov 2010
Location: Salem,Ma
Posts: 1,336
Thanks: 13
Thanked 207 Times in 207 Posts
DanInMa is on a distinguished road
it's not your background, it's your product pictures. whoever coded it, used High resolution images and forced them to show smaller using css. so they essentially are having users download very large images when they should be tiny thumbnails.
__________________
- Firebug is a web developers best friend! - Learn it, Love it, use it!
- Validate your code! - JQ/JS troubleshooting
- Using jQuery with Other Libraries - Jslint for Jquery/other JS library users
DanInMa is offline   Reply With Quote
Old 10-27-2012, 08:55 PM   PM User | #3
DanInMa
Senior Coder

 
DanInMa's Avatar
 
Join Date: Nov 2010
Location: Salem,Ma
Posts: 1,336
Thanks: 13
Thanked 207 Times in 207 Posts
DanInMa is on a distinguished road
you are also loading items.js, menu.js and template.js twice. the html code is very messy :|
You also have a ton of validation errors you might want to look at : http://validator.w3.org/check?uri=ht...Inline&group=0

Oh an also the back ground image, you could easily apply a little jpg compression and cut the file size almost in half.
__________________
- Firebug is a web developers best friend! - Learn it, Love it, use it!
- Validate your code! - JQ/JS troubleshooting
- Using jQuery with Other Libraries - Jslint for Jquery/other JS library users
DanInMa is offline   Reply With Quote
Old 10-28-2012, 01:58 AM   PM User | #4
henryc06
New Coder

 
Join Date: Oct 2012
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
henryc06 is an unknown quantity at this point
its possible that your thumbnail images size are too big that's why it needs time load.
henryc06 is offline   Reply With Quote
Old 10-28-2012, 03:27 AM   PM User | #5
filmmaker1996
New to the CF scene

 
Join Date: Oct 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
filmmaker1996 is an unknown quantity at this point
What background image should I compress?
filmmaker1996 is offline   Reply With Quote
Reply

Bookmarks

Tags
background, css, loading, slow

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 11:11 AM.


Advertisement
Log in to turn off these ads.