Go Back   CodingForums.com > :: Client side development > JavaScript programming

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 09-04-2007, 03:12 AM   PM User | #1
negativeground
New to the CF scene

 
Join Date: Sep 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
negativeground is an unknown quantity at this point
JAVA - Multiple Images loading too slow

All,

Newbie to the JAVA world. Would appreciate any help I can get here. I've just updated my website to include a cool java slide-show pop up:

http://www.cohanweb.com/home.html

This works great! Except, if you click on an image before all the thumbnails are loaded, it just opens it full-size in a new window, bypassing the slideshow. Now, I know I can use a "pre-load script" to load all the images prior to arriving at this page. But, is there an alternate method? Perhaps it's possible just to have the slideshow start regardless of whether or not the images have been loaded? I can post all the code HTML / CSS / JAVA if necessary. Guess I was hoping there would be an easy answer. Thanks!

-Evan
negativeground is offline   Reply With Quote
Old 09-04-2007, 04:41 AM   PM User | #2
rwedge
Regular Coder

 
Join Date: Feb 2005
Posts: 679
Thanks: 0
Thanked 16 Times in 15 Posts
rwedge is on a distinguished road
Your 60 75x75 thumbnail images weighing in at ~20k is quite a load. Around 1121139 bytes. Reduce their size to speed up the loading.

By the way, its JavaScript , not Java

Last edited by rwedge; 09-04-2007 at 04:46 AM..
rwedge is offline   Reply With Quote
Old 09-04-2007, 05:54 AM   PM User | #3
negativeground
New to the CF scene

 
Join Date: Sep 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
negativeground is an unknown quantity at this point
Thanks, good advice. I just got them down to about 2KB each, but it's still not loading as quickly as I'd like. Perhaps it's my Internet connect though. Any other JAVASCRIPT tips? (sorry about the mis-usage of the term!)

-Evan
negativeground is offline   Reply With Quote
Reply

Bookmarks

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 07:37 AM.


Advertisement
Log in to turn off these ads.