Anyone have ideas for solving the “n items remaining” problem on Internet Explorer?

前端 未结 7 1435
灰色年华
灰色年华 2021-01-30 17:22

In my ASP.Net app, which is javascript and jQuery heavy, but also uses master pages and .Net Ajax pieces, I am consistently seeing on the status bar of IE 6 (and occasionally IE

相关标签:
7条回答
  • 2021-01-30 18:09

    With regards to caching images, I had to use an HTTP handler to get the images to cache correctly. Specifically, there was a picture of an arrow in a CSS menu that would cause the exact behavior you're dealing with since it was used multiple times in each menu.

    Here is the code for the handler: http://www.groovybits.com/SrcViewer.aspx?inspect=~/PersistantImage.ashx

    You use it by adding an AppSetting in web.config:

    <add key="UniqueImageName" value="~/Images/image_name.gif"/>
    

    And reference the source of each image using the handler instead of the path to the image itself:

    ~/Handlers/PersistantImage.ashx?key=UniqueImageName
    
    0 讨论(0)
提交回复
热议问题