开发者

Prevent div from loading with javascript/jquery

开发者 https://www.devze.com 2023-02-19 02:33 出处:网络
I\'m trying to work around with the problem I have at Annoying IE6. Black screen with "loading" when youtube is added

I'm trying to work around with the problem I have at Annoying IE6. Black screen with "loading" when youtube is added

Basically, I'm thinking of:

  1. Javascript checks browser version when user enters.
  2. If MSIE version = 6.0, prevents browser from loading the div/object that holds the youtube (which is 开发者_开发技巧the cause of the full black background with "loading")

I'm able to get to checking browser version, but not for the part where the code prevents the object from being loaded.

help please..


You could insert the div into the body of the page depending on the version. eg ie MSIE < 7 then do nothing else insert object that contains youtube video.

0

精彩评论

暂无评论...
验证码 换一张
取 消