JQuery Animation doesn't work in Internet Explorer

前端 未结 2 844
执笔经年
执笔经年 2021-01-27 09:27

I\'m having a bit of trouble making this JQuery work in Internet Explorer, it works beautifully in FF, WebKit, etc, sliding up, bouncing and falling back into place, but in Inte

2条回答
  •  情书的邮戳
    2021-01-27 09:54

    I think you have some errors in your HTML. You've specified the id="shop" and id="blog" on both the a and img tags. Remove it from the img tags.

    And try this new Javascript code. The click actions weren't being executed and by adding the event.preventDefault(), the standard click event won't execute and the user will only be redirected once the window.location happens.

        
    

提交回复
热议问题