I am trying to do a basic image swap using... $(imageID).src = remoteImageURL; This works fine in everything except IE 6. In IE 6 the request is being returned as aborted. I have attempted to prefetch the images, but that doesn''t seem to fix the issue 100% of the time. Any help is appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
How are you pre-fetching the images? On Jul 10, 2:40 pm, Soxfan <cris...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am trying to do a basic image swap using... > > $(imageID).src = remoteImageURL; > > This works fine in everything except IE 6. In IE 6 the request is > being returned as aborted. I have attempted to prefetch the images, > but that doesn''t seem to fix the issue 100% of the time. > > Any help is appreciated.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I''ve tried a couple different methods. Right now, I am using... newImage = new Image(); newImage.src = "remoteURL"; This bit is just in a script tag in the HTML. On Jul 10, 3:44 pm, Diodeus <diod...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> How are you pre-fetching the images? > > On Jul 10, 2:40 pm, Soxfan <cris...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I am trying to do a basic image swap using... > > > $(imageID).src = remoteImageURL; > > > This works fine in everything except IE 6. In IE 6 the request is > > being returned as aborted. I have attempted to prefetch the images, > > but that doesn''t seem to fix the issue 100% of the time. > > > Any help is appreciated.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I ran into the same problem. I fixed it by using an array for the images. It seems ie6 wasn''t always waiting for the image to load before loading the next one. newImage[x] = new Image(); newImage[x].src = "remoteURL"; ...then increment x, and loop. On Jul 10, 4:08 pm, Soxfan <cris...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve tried a couple different methods. Right now, I am using... > > newImage = new Image(); > newImage.src = "remoteURL"; > > This bit is just in a script tag in the HTML. > > On Jul 10, 3:44 pm, Diodeus <diod...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > How are you pre-fetching the images? > > > On Jul 10, 2:40 pm, Soxfan <cris...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > I am trying to do a basic image swap using... > > > > $(imageID).src = remoteImageURL; > > > > This works fine in everything except IE 6. In IE 6 the request is > > > being returned as aborted. I have attempted to prefetch the images, > > > but that doesn''t seem to fix the issue 100% of the time. > > > > Any help is appreciated.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---