【翰书天下·周刊】第2期 带你走进翰书天下·战报组
本帖最后由 ◇◆七宝 于 2015-10-18 00:31 编辑<div id="banner_tabs" class="flexslider">
<ul class="slides">
<li style="position: absolute; left: 0px; top: 0px; list-style: none;">
<img src="http://img0.ph.126.net/bzE4Q4Cufbailv04xiQdfA==/6631244787072110766.png" width="90%" id="e_f_img_0.8289040557574481">
</li>
<li style="position: absolute; left: 0px; top: 0px; list-style: none; display: none;">
<img src="http://img0.ph.126.net/qxcc2OdEkB4bEennaYMpxg==/6631348141165145652.png" width="90%">
</li>
<li style="position: absolute; left: 0px; top: 0px; list-style: none; display: none;">
<img src="http://img2.ph.126.net/2D9l_I_teORQ7UrzcHiYog==/6619484410701189827.png" width="90%">
</li>
<li style="position: absolute; left: 0px; top: 0px; list-style: none; display: none;">
<img src="http://img0.ph.126.net/0xVOA0FVrXsUJOKfLzDOrg==/6630656548352468397.png" width="90%">
</li>
</ul>
<ul class="flex-direction-nav">
<li style=" list-style: none;"><a class="flex-prev" href="javascript:;">Previous</a></li>
<li style=" list-style: none;"><a class="flex-next" href="javascript:;">Next</a></li>
</ul>
<ol id="bannerCtrl" class="flex-control-nav flex-control-paging">
<li style=" list-style: none;" class="active"><a>1</a></li>
<li style=" list-style: none;"><a>2</a></li>
<li style=" list-style: none;"><a>2</a></li>
<li style=" list-style: none;"><a>2</a></li>
</ol>
</div>
<br>
<br>
<style type="text/css">
.flexslider {
margin: 0px auto 20px;
position: relative;
width: 80%;
height: 1000px;
overflow: hidden;
zoom: 1;
}
.flexslider .slides li {
width: 100%;
height: 100%;
text-align:center;
}
.flex-direction-nav a {
width: 70px;
height: 70px;
line-height: 99em;
overflow: hidden;
margin: -35px 0 0;
display: block;
background: url(http://img0.ph.126.net/GdGsnYRWQflm_KCXbsY_xQ==/6631377827979033267.png) no-repeat;
position: absolute;
top: 50%;
z-index: 10;
cursor: pointer;
opacity: 1;
filter: alpha(opacity=1);
-webkit-transition: all .3s ease;
border-radius: 35px;
}
.flex-direction-nav .flex-next {
background-position: 0 -70px;
right: 0;
}
.flex-direction-nav .flex-prev {
left: 0;
}
.flexslider:hover .flex-next {
opacity: 0.8;
filter: alpha(opacity=25);
}
.flexslider:hover .flex-prev {
opacity: 0.8;
filter: alpha(opacity=25);
}
.flexslider:hover .flex-next:hover,
.flexslider:hover .flex-prev:hover {
opacity: 1;
filter: alpha(opacity=50);
}
.flex-control-nav {
width: 100%;
position: absolute;
bottom: 10px;
text-align: center;
}
.flex-control-nav li {
margin: 0 2px;
display: inline-block;
zoom: 1;
*display: inline;
}
.flex-control-paging li a {
background: url(http://img0.ph.126.net/IIg8sOjHMAvUEpsj1qM2hQ==/6631285469002289700.png) no-repeat 0 -16px;
display: block;
height: 16px;
overflow: hidden;
text-indent: -99em;
width: 16px;
cursor: pointer;
}
.flex-control-paging li a.flex-active,
.flex-control-paging li.active a {
background-position: 0 0;
}
</style>
<script src="http://res.nie.netease.com/comm/js/jquery(mixNIE).last.js"></script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(function($){
var bannerSlider = new Slider($('#banner_tabs'), {
time: 5000,
delay: 400,
event: 'hover',
auto: false,
mode: 'fade',
controller: $('#bannerCtrl'),
activeControllerCls: 'active'
});
$('#banner_tabs .flex-prev').click(function() {
bannerSlider.prev()
});
$('#banner_tabs .flex-next').click(function() {
bannerSlider.next()
});
})
/**
* slider插件可悬停控制 下面这一段基本不用管,这个是插件
插件没地方上传,只能粗暴地放在帖子里面了ORZ
*/
; $(function ($, window, document, undefined) {
Slider = function (container, options) {
/*
options = {
auto: true,
time: 3000,
event: 'hover' | 'click',
mode: 'slide | fade',
controller: $(),
activeControllerCls: 'className',
exchangeEnd: $.noop
}
*/
"use strict"; //stirct mode not support by IE9-
if (!container) return;
var options = options || {},
currentIndex = 0,
cls = options.activeControllerCls,
delay = options.delay,
isAuto = options.auto,
controller = options.controller,
event = options.event,
interval,
slidesWrapper = container.children().first(),
slides = slidesWrapper.children(),
length = slides.length,
childWidth = container.width(),
totalWidth = childWidth * slides.length;
function init() {
var controlItem = controller.children();
mode();
event == 'hover' ? controlItem.mouseover(function () {
stop();
var index = $(this).index();
play(index, options.mode);
}).mouseout(function () {
isAuto && autoPlay();
}) : controlItem.click(function () {
stop();
var index = $(this).index();
play(index, options.mode);
isAuto && autoPlay();
});
isAuto && autoPlay();
}
//animate mode
function mode() {
var wrapper = container.children().first();
options.mode == 'slide' ? wrapper.width(totalWidth) : wrapper.children().css({
'position': 'absolute',
'left': 0,
'top': 0
})
.first().siblings().hide();
}
//auto play
function autoPlay() {
interval = setInterval(function () {
triggerPlay(currentIndex);
}, options.time);
}
//trigger play
function triggerPlay(cIndex) {
var index;
(cIndex == length - 1) ? index = 0 : index = cIndex + 1;
play(index, options.mode);
}
//play
function play(index, mode) {
slidesWrapper.stop(true, true);
slides.stop(true, true);
mode == 'slide' ? (function () {
if (index > currentIndex) {
slidesWrapper.animate({
left: '-=' + Math.abs(index - currentIndex) * childWidth + 'px'
}, delay);
} else if (index < currentIndex) {
slidesWrapper.animate({
left: '+=' + Math.abs(index - currentIndex) * childWidth + 'px'
}, delay);
} else {
return;
}
})() : (function () {
if (slidesWrapper.children(':visible').index() == index) return;
slidesWrapper.children().fadeOut(delay).eq(index).fadeIn(delay);
})();
try {
controller.children('.' + cls).removeClass(cls);
controller.children().eq(index).addClass(cls);
} catch (e) { }
currentIndex = index;
options.exchangeEnd && typeof options.exchangeEnd == 'function' && options.exchangeEnd.call(this, currentIndex);
}
//stop
function stop() {
clearInterval(interval);
}
//prev frame
function prev() {
stop();
currentIndex == 0 ? triggerPlay(length - 2) : triggerPlay(currentIndex - 2);
isAuto && autoPlay();
}
//next frame
function next() {
stop();
currentIndex == length - 1 ? triggerPlay(-1) : triggerPlay(currentIndex);
isAuto && autoPlay();
}
//init
init();
//expose the Slider API
return {
prev: function () {
prev();
},
next: function () {
next();
}
}
};
}(jQuery, window, document));
</script>
<br><div style="text-align: center;"><a href="http://tx3.netease.com/viewthread.php?tid=4562669&pid=61122139&page=1&extra=#pid61122139"><font size="4">【翰书天下·浸墨】如梦回——by芷瑾</font></a></div><div style="text-align: center;"><font size="4"><br></font></div><div style="text-align: center;"><font size="4"><a href="http://tx3.netease.com/viewthread.php?tid=4555586">【翰书天下·绘世】凤雏儿之碧海珠&小红帽拟人——by天籁和光</a><br></font></div><div style="text-align: center;"><font size="4"><br></font></div><div style="text-align: center;"><a href="http://tx3.netease.com/viewthread.php?tid=4562054&page=1&extra=#pid61114708"><font size="4">天下3同人曲——月影诀[秋千七夜虐恋]</font></a><br></div><div style="text-align: center;"><br></div><div style="text-align: center;"><br></div><div style="text-align: center;"><hr class="solidline"><font face="微软雅黑" size="6"><br></font></div><div style="text-align: center;"><font face="微软雅黑" size="6"><p align="center"></p><div class="t_msgfontfix" style="min-height: 80px; background-color: rgb(250, 250, 250);"><font face="微软雅黑" style="font-size: 12px;"><b></b></font><span style="font-size: 12px;"><b></b></span><div style="width: 900px; padding: 0px; margin-left: 0px; float: left; background-image: url(http://img0.ph.126.net/x-1KDFW1RIN2VRPQA1y9vA==/6631438301118600210.png);" 1"="" =""="" color="#000000" >="" <p=""><p style="text-align: center;"><br></p><p><b style="font-size: x-large; font-family: 微软雅黑;"><font color="#c0c0c0"> </font></b></p><p><b style="font-size: x-large; font-family: 微软雅黑;"><br></b></p><p><b style="font-size: x-large;"><font color="#c0c0c0"><a href="http://tx3.netease.com/viewthread.php?tid=4554491&highlight=">【翰书天下·招新】</a></font></b></p><p><b style="font-size: x-large;"><font color="#c0c0c0"><a href="http://tx3.netease.com/viewthread.php?tid=4554491&highlight=">翰书·行者组第3次全服招新啦~~~</a></font></b></p><p><br></p><p><b style="font-size: x-large; font-family: 微软雅黑;"><br></b></p><p><b style="font-size: x-large; font-family: 微软雅黑;"><br></b></p><p><b style="font-size: x-large; font-family: 微软雅黑;"><font color="#c0c0c0"><br></font></b></p><p><b style="font-size: x-large; font-family: 微软雅黑;"><font color="#c0c0c0"><br></font></b></p></div></div></font></div><div style="text-align: center;"><br></div><object width="10" height="10" id="FPlayer" data="http://v.163.com/swf/video/NetEaseFlvPlayerV3.swf" type="application/x-shockwave-flash"><param value="true" name="allowFullScreen"><param value="always" name="allowscriptaccess"><param value="http://v.163.com/swf/video/NetEaseFlvPlayerV3.swf" allownetworking="all" name="movie"><param value="topicid=1000&vid=VB549REBN&sid=V95AIQOLD&coverpic=http://vimg1.ws.126.net/image/snapshot/2015/10/B/O/VB549REBO.jpg&autoplay=true" name="flashvars"></object> 迅速抢个一环 (╯3╰)(>﹏<) 抢个前排 啊???????? 2222222222222222222222 前排前排#T22 23333333333 {:9_545:} {:9_550:} 11111111111111111111 {:9_546:} {:9_538:} {:9_534:}需要做点什么? 1111111111111 {:9_538:}前排 前排前排前排~~ 7baby 快给分~ 111111111111111111111111111111111111 打卡混分分