首页 相关文章 预载Gif的2个JS代码(非常有用)

预载Gif的2个JS代码(非常有用)

script language=javascript
var Gif=[["images/smilies/","victory","sweat","loveliness","call","handshake","kiss","time","hug","lol","mad","funk"] , ["images/default/","reply","newtopic","newspecial","star_level2","star_level2","top","star_level3","star_level2"]];

// 第一个是路径,后面的名称,比如 ["talk/",129,130,501,502,503] ,就是talk/ 目录下的129.gif,130.gif ...... 如果是字符串,就要加引号

function LoadGif()
{
document.body.insertAdjacentHTML("beforeEnd",'div id="load" style="display=none"/div');<...[ 查看全文 ]

2016-02-19 标签:

预载Gif的2个JS代码(非常有用)的相关文章

手机页面
收藏网站 回到头部