Meta-refresh doesn't work?

后端 未结 7 1545
心在旅途
心在旅途 2020-12-24 01:11

I have a page using something along the lines of


but for certa

7条回答
  •  一向
    一向 (楼主)
    2020-12-24 01:40

    The problem is that when IE sees this:

    
    

    it expects the contents attribute to contain a number. The only time IE will check for a URL is if the content attribute contains "URL=" so the redirect that is most usable in all browsers is this:

    
    

    The above example would redirect immdetiately but if you changed the 0 for another number it would wait that many seconds. Hope this all makes sense, it should work just fine but I still think my first idea was the better one.

提交回复
热议问题