基于jQuery实现左右按钮tab选项卡切换



31 121 41



特效描述:基于jQuery实现 左右按钮 tab 选项卡切换,基于jQuery实现左右按钮tab选项卡切换

代码结构

1. 引入JS

<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script src="js/jquery.tools.min.js"></script>

2. HTML代码

<br>
	<div id="scrollWrapper">
		<div id="arrows">
			<a id="arrow-left" class="prev"></a>
			<a id="arrow-right" class="next"></a>
		</div>
		<div id="scrollBorder">
			<div id="scroll">
				<div id="boards">
					<!-- b1 -->
					<div class="board" id="b1">
						<h2 class="ir">Achieve New Highs with HyperX Internet Marketing</h2>
						<p>We provide a full spectrum of online advertising, design and development services. We specialize in designing custom solutions that fit the bill for small and large companies alike. We're fast, professional and reliable.
						<br><a class="GlobalButton" href="http://www.51qianduan.com//" target="_parent"><span>Tour Our Services</span></a></p>
					</div>
					<!-- b2 -->
					<div class="board" id="b2">
						<h2 class="ir">A Powerful Engine Behind Your Next Campaign</h2>
						<p>We are a team of new media gurus who help establish trends and best practices in the world of Internet marketing. Some say we like Internet marketing a bit much, but that's part of what makes our strategists, designers and developers so good.
						<br><a class="GlobalButton" href="http://www.51qianduan.com//" target="_parent"><span>Look Under the Hood</span></a></p>
					</div>
					<!-- b3 -->
					<div class="board"  id="b3">
						<h2 class="ir">Exceptional Service, Better Results</h2>
						<p>We are committed to exceptional service - both for clients and campaigns. That's why we go above and beyond to ensure that clients are happy at every stage of the process. Furthermore, we focus on maximizing a client's return on investment.
						<br><a class="GlobalButton" href="http://www.51qianduan.com//" target="_parent"><span>See Our Fan Club</span></a></p>
					</div>
					<!-- b4 -->
					<div class="board" id="b4">
						<h2 class="ir">We Build Great Campaigns One Pixel At A Time</h2>
						<p>The reason we survived the dot com bust - and are thriving today - is because we are willing to put in hard work, take on new challenges and do what it takes to make every client's campaign a success.
						<br><a class="GlobalButton" href="http://www.51qianduan.com//" target="_parent"><span>Let's Get to Work</span></a></p>
					</div>
			  </div> <!-- end boards -->
			  <!-- required for IE6/IE7 -->
			  <br clear="all" />
			  <!-- thumbnails -->
				<div id="thumbs" class="t">
					<div class="navi">
						<a id="t1" class="active">What We Do</a>
						<a id="t2" class="">Who We Are</a>
						<a id="t3" class="">Why Choose Us</a>
						<a id="t4" class="noborder">How We Work</a>
					</div>
				</div>
			</div> <!-- end scroll -->
		</div> <!-- end scrollBorder -->
	</div> <!-- end scrollWrapper -->
	<script type="text/javascript">
	  // initialize scrollable and return the programming API
	  $("#scroll").scrollable({
	  	items: '#boards',
	  	circular: true,
	  	speed: 500
	  // use the navigator plugin
	  }).navigator().data("scrollable");
	</script>
<div style="text-align:center;clear:both">
</div>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 图片叠加 图片层叠 图片翻转 图片旋转 图片拖动 图片拖拽 图片延迟加载 图片延迟 图片加载 图片淡出淡进 图片淡出 图片淡进 图片全屏 头像上传 图片上传 二维码 图片放大镜 h5图片动画 h5图标动画 html5图片动画 html5图标动画 带缩略图的幻灯片 地图 中国地图 世界地图 flash焦点图 flash幻灯片 flashbanner flash图片轮播 图片放大缩小 图片缩放 图片大小 图片放大 图片缩小 图片变大 图片变小 滚动切换 滚动条切换 图片广告 滑动选项卡 滑动切换 纯图片轮播 图片轮播 图片收缩展开 图片收缩 图片展开 图片滚动 图片滚动条 图片滑动 图片滑块 旋转木马 图片旋转木马 文字旋转木马 旋转木马插件 图片切换 图片选项卡 图标选项卡 图标导航 图标菜单 自动滚动图片轮播 滑动手风琴 背景切换 大图切换 选项卡切换 选项卡 切换 tab切换 页面切换 选项卡插件 切换插件 手风琴 水平手风琴 垂直手风琴 图片手风琴 文字手风琴 手风琴插件 切换按钮 表单 表单美化 表单插件 表单美化插件 图表 焦点图 幻灯片 轮播图 bar焦点图 图片 图片插件 头像截图 带标题的焦点图 图片切换 图片选项卡 图标选项卡 纯图片轮播 图片轮播 切换按钮 图片切换 切换图片 按钮控制

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到