forked from touchitvoid/wanna
-
Notifications
You must be signed in to change notification settings - Fork 0
/
friend.php
29 lines (28 loc) · 827 Bytes
/
friend.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
* 友链
*
* @package custom
*
*/
$this->need('header.php');
?>
<div class="mdui-container-fluid" style="margin: 0">
<!-- 在我后面添加代码 -->
<?php $this->content('Continue Reading...'); ?>
<!-- 在我上面添加代码 -->
<script>
if(!/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
var links = $('body').find('.linksCard');
setTimeout(function () {
for (var i = 0;i <links.length;i++){
var num = Math.floor(Math.random()*300)+30;
links.eq(i).animate({
marginLeft : num+'px'
})
}
},200);
}
</script>
</div>
<?php $this->need('footer.php'); ?>