I don't think you'd be able to do this with CSS, there might be a way to do it with JavaScript but depending on how many images there are on any one page, it might slow down the page rendering.
I don't think you'd be able to do this with CSS, there might be a way to do it with JavaScript but depending on how many images there are on any one page, it might slow down the page rendering.
Kris
There's not a way that I know of via CSS but using javascript you can put this into the header of the pagethen add onError='imgerr(this);' into any image tags. Then any images that fail to load will be replaced by errorimage.gif - just make sure that image does exist!Code:<script> function imgerr(img) { img.src='errorimage.gif'; } </script>
set the image as a background URL with css - thn if it doesn't appear it'll just be blank. Or set an error image as the lo-res alternative image.
Cheers Rich will probably go with this - I was just hoping that there would be a was f specifying another image than the little red cross - if only things were that simple.Originally Posted by Rich
Thanks to the other posters - some good ideas
Follow Me | Looking for Merchants Who Do Scifi Stuff
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks