Tips --- front-end to record their stepped pit

<Script type = "text / JavaScript" the src = "/ static / JS / floatingAd.js"> </ Script>
<Script type = "text / JavaScript">
$ (function () {
$ .floatingAd ({
// frequency
Delay: 60,
// float is closed after the hyperlink
isLinkClosed: to false,
// float content
AD: [{
// Close background transparency region (0.1-1)
'IMG': '{} {} IMG',
'imgHeight' : 108,
'imgWidth': 235,
'linkUrl': '{} {} URL',
'Z-index': 101,
'title': 'title {} {}',
// Close button image
'closed-icon ':' /static/images/close.png '
}],
// event close
the onClose: function (elem) {
// Alert (' off ');
}
});
$("#").floatingAd({
onClose: function(elem){
}
});

var tt='{{ title }}';
if (tt=='不忘初心'){
$(".ad img").height("250px");
$(".ad img").width("270px");
}
});
</script>

Papa Pa fan really want to own ears! Remember that the top-down program execution !!!

Figure two sliding plug

Manual written

html 

js

 

Guess you like

Origin www.cnblogs.com/Smoredemo/p/11953274.html