【翰书天下·周刊】第10期 翰书天下周年庆
<div id="banner_tabs" class="flexslider"><ul class="slides">
<li style="position: absolute; left: 0px; top: 0px; list-style: none;">
<img src="http://img2.ph.126.net/9C2q2whGJHYzcEB732WlkA==/6631304160701446385.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/6tlMse1tGWy1ae3QUFn_WA==/6631274473887489309.png" width="90%">
</li>
<li style="position: absolute; left: 0px; top: 0px; list-style: none; display: none;">
<img src="http://img1.ph.126.net/jr3wWH111SkCFfQR3ILvZw==/6631304160701446363.png" width="90%">
</li>
<li style="position: absolute; left: 0px; top: 0px; list-style: none; display: none;">
<img src="http://img0.ph.126.net/01VF4dP1LFmXVjHWCoZ0LA==/6631304160701446371.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>
<div><br></div><div><br></div><div style="text-align: center;"><a href="http://tx3.netease.com/viewthread.php?tid=4641847&extra=">阅读小奖励</a><br></div><div style="text-align: center;"><br></div><div style="text-align: center;"><a href="http://tx3.netease.com/viewthread.php?tid=4640505&extra=page%3D1">【翰书天下·周年庆】活动连翻天给你不一样的翰书天下</a><br></div><div style="text-align: center;"><br></div><div style="text-align: center;"><a href="http://tx3.netease.com/viewthread.php?tid=4640574&extra=page%3D1">【翰书天下·周年庆】传媒组发来贺电!</a><br></div><div style="text-align: center;"><br></div><div style="text-align: center;"><a href="http://tx3.netease.com/viewthread.php?tid=4641503">【翰书天下·掠影】周年庆视频</a><br></div><div style="text-align: center;"><br></div><div style="text-align: center;"><br></div><div style="text-align: center;"><br></div>
<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;"><br></div>
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width="330" height="86" src="http://music.163.com/outchain/player?type=2&id=413018&auto=1&height=66"></iframe> {:9_542:}{:9_542:}我抢~~~ 4444444444444444 qqqqqqqqqqqqqq 666666666666 {:9_548:} 咳咳,必须前排有分分 {:9_542:} 222222222 11111112222222 22222222222222222222 {:9_538:}对不起,您两次发表间隔少于 60 秒,请不要灌水! 为了任务 打卡做任务 打卡任务 一环#xieshi {:9_538:} {:9_548:}恭喜周年庆 1111111111111111111111111111111111 轻轻飘过