I need a slideshow with a loading message

This is a discussion on "I need a slideshow with a loading message" within the JavaScript Forum section. This forum, and the thread "I need a slideshow with a loading message are both part of the Program Your Website category.



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

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 25th, 2005, 19:34
Junior Member
Join Date: Jan 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
I need a slideshow with a loading message

Hi there,

I have a website http://www.freewaymedical.co.uk/productsindex.php
that has 5 slideshows that allow the user to browse through products. The site is in the process of a major overhaul and I want to change the way the slideshow works.

Currently, I preload every image (40+) for the slideshows. What I want to do now to improve loading speed, is just load the first image for each slideshow and then just retrieve each message from the server as it is requested. I want to show a loading image each time the user is waiting for an image to be retrieved.

Any ideas on how I could do this?

  #2 (permalink)  
Old Feb 26th, 2005, 06:25
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
So you're looking for something like this?

http://www.dynamicdrive.com/dynamici...loadimage2.htm
http://london-net.net/javascript/ima...tatus_bar.html

etc http://www.google.com/search?q=javas...h+progress+bar
  #3 (permalink)  
Old Feb 26th, 2005, 09:20
Junior Member
Join Date: Jan 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
That is a good example, but thats not exactly what i am looking for. Basically, each time a user clicks next, the script will retrieve the next image from the server.While the next image is being retrieved, the user will see a loading message/image in the actual slideshow. When the image has been loaded from the server, the slideshow will display the loaded image.

I hope I am making sense.
  #4 (permalink)  
Old Feb 26th, 2005, 14:34
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
Wouldnt it be better for the images to be pre-loading in the background (while the user is looking at the first image)

Why make the user wait, when there is no need?
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
  #5 (permalink)  
Old Feb 27th, 2005, 08:46
Junior Member
Join Date: Jan 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah OK, that sounds like a good idea. The way I have it at the moment, the page doesn't display fully until all the images have loaded. How could I get the first images to display and then preload the rest of the images?
  #6 (permalink)  
Old Feb 27th, 2005, 10:50
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
You can use javascript to preload the images:-
Code: Select all
<script language="javascript" type="text/javascript">
// create an image object
objImage = new Image();

// preload the image file
objImage.src='http://mydomain.com/myimage.jpg'; 
</script>
Obviously you need to do this for each image, or create an array of images.

Hope this helps.
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
  #7 (permalink)  
Old Feb 28th, 2005, 08:32
Junior Member
Join Date: Jan 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
That is what I am doing at the moment.

I think that perhaps I will just continue to do it this way, but also tell the user what is happening. So I could do this as you first mentioned, with the progress bar or some splash screen.

Thanks for your help.
Closed Thread

Tags
slideshow, loading, message

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
Slideshow help! crg1 Flash & Multimedia Forum 3 Jul 2nd, 2007 14:39
slideshow custom nav karloff Flash & Multimedia Forum 9 Mar 27th, 2007 12:15
Photo Slideshow millerrs Flash & Multimedia Forum 2 Jan 29th, 2007 08:10
A photo slideshow? millerrs Graphics and 3D 15 Jan 26th, 2007 21:27
Slideshow transition GarethWilliams JavaScript Forum 0 Mar 21st, 2006 10:43


All times are GMT. The time now is 00:02.


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