image reload

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • simon2x1
    New Member
    • Dec 2008
    • 123

    image reload

    i do not what my image to reload when every you click on the links
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Could you explain the problem in more detail? Do you mean that you want the images to be cached?

    Comment

    • simon2x1
      New Member
      • Dec 2008
      • 123

      #3
      yes am talking about using cache for image reload and also
      asking if there is another way i can reload image without using cache
      whether passing the image through css in other not to reload

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        I think you mean image preload. Browsers will usually cache images for later reuse if possible. You can use CSS for this by preloading images at the bottom of the page and keeping them hidden:
        Code:
        div#preload {
          display:none;
        }
        Code:
        <div id="preload">
          <img src="http://bytes.com/topic/html-css/answers/...">
          <img src="http://bytes.com/topic/html-css/answers/...">
        </div>

        Comment

        Working...