var $info _b=$ (' Div.info_b '), $xiaoxi = $info _b.find (' Div.xt-xiaoxi ');
function DSQ () {
$ (' # ' +footid). Hide ();
$xiaoxi. css ({' position ': ' absolute ', ' bottom ': ' 0 '})
. Find ('. Xiaoxi '). css ({' width ': ' 75% '});
$info _b.css ({' position ': ' absolute ', ' bottom ': ' 0 ', ' bordertop ': ' 1px solid #efefef '})
. Find ('. xiaoxi-btn '). CSS ({' Display ': ' Inline-block '});
$ ('. Info_t_ul '). css ({' paddingbottom ': ' 20 '});
};
function udsq () {
$ (' # ' +footid). Show ();
$xiaoxi. css ({' Bottom ': ' + ', ' position ': ' Fixed '})
. Find ('. Xiaoxi '). css ({' width ': ' 100% '});
$info _b.css ({' Bottom ': ' $ ', ' position ': ' fixed ', ' left ': 0, ' right ': 0})
. Find ('. xiaoxi-btn '). CSS ({' Display ': ' None '});
$ ('. Info_t_ul '). css ({' paddingbottom ': ' 90 '});
};
$xiaoxi. Find ('. Xiaoxi '). On (' click ', Function (event) {
Event.stoppropagation ();
Event.preventdefault ();
This.focus ();
});
$xiaoxi. Find ('. Xiaoxi '). Focus (
function () {
var scrollheight=document.body.scrollheight;
var speed=200;//sliding speed
var odocheight=$ (document). Height ()
$ (' body,html '). Animate ({scrolltop:odocheight},speed);
SetTimeout (dsq,300);
});
$ (document). On (' Click Touchstart ', '. info_t ', function () {
UDSQ ();
$xiaoxi. Find ('. Xiaoxi '). blur ();
});
Lao Cai wrote the code, draw the next!