codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Swapping image sources  Archive Import (pieman) at 03:39 on Tuesday, July 01, 2003
 

Hi everyone,

I would be massively grateful if anyone could tell me where I am going wrong with this.

First of all there is a demo of the site at http://www.fizzmedia.net/demo/chris/work/work.asp

What I wanted to have was a horizontal scroller at the bottom of the page and then when you click on one of the images it changes the source of the big image on the page to show a bigger picture.

When I was attempting to change the source I was just getting a blank large image instead, so after a bit of testing I realised that I had to preload the large images for them to work.

So I got a preloader off the internet with a progress bar, integrated that and it worked champion. The large images appeared everytime the thumbnail was clicked.

However, just gone on to another PC and the preloader seems to work fine, but the big image appears blank like it hasn`t been preloaded.

Also, if I let the page load, then click the back and then forward button it works Ok.

If anyone can shed any light on this it would be greatly appreciated.

Thankyou
Pie

  Re: Swapping image sources  Troy Wolf at 15:33 on Wednesday, July 16, 2003
 

You posted this 15 days ago. I guess you got it working because I followed your link, and it looks like the images load and display fine. Good job.
Troy Wolf: site expert
Shiny Solutions









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: onload event
•  Active Widgets
•  Re: onmouseover change image and text
•  Line Printer Interface
•  import contacts of msn/yahoo
•  Call windows apps from web apps
•  Re: ASP.NET web controls
•  netscape 6 browser problem
•  Re: Print .doc file from the website using System.Diagnostics.Process


Recent Articles
Communicating with the Database (Using ADO)
MagicGrid
Simple Thumbnail Browsing Solution
Type Anywhere
A Better Moustrap: FmtDate to replace FormatDateTime
ASP.NET Forum Source Code
Internal Search Engine
Javascript Growing Window
Simple date validation
Search engine friendly URLs using ASP.NET (C#.NET)


Site Survey
Help us serve you better. Take a five minute survey. Click here!

© Copyright codetoad.com 2001-2005