jQuery响应式全屏切换页面插件Ascensor.js

所属分类:UI-滚动

 35449  360  查看评论 (1)
分享到微信朋友圈
X
jQuery响应式全屏切换页面插件Ascensor.js ie兼容8

使用方法

需引入文件

<script src="js/jquery.min.js" type="text/javascript"></script>
<script src="js/jquery.scrollTo.js" type="text/javascript"></script> 
<script src="js/jquery.ascensor.js" type="text/javascript"></script>
<script src="js/myscript.js" type="text/javascript"></script>

html内容

<div id="house">
	<div>
		<!-- Etage1-->
		<div id="ContentName">
		</div>
		<!-- Content of the floor 1-->
	</div>
	<div>
		<!-- Etage2-->
		<div id="ContentName">
		</div>
		<!-- Content of the floor 2-->
	</div>
	<div>
		<!-- Etage3-->
		<div id="ContentName">
		</div>
		<!-- Content of the floor 3-->
	</div>
	<div>
		<!-- Etage4-->
		<div id="ContentName">
		</div>
		<!-- Content of the floor 4-->
	</div>
	<div>
		<!-- Etage5-->
		<div id="ContentName">
		</div>
		<!-- Content of the floor 5-->
	</div>
</div>

调用方式

$('#house').ascensor();
$('#house').ascensor({
	AscensorName: 'house',
	//you can choose the name that will define id and class (default:'maison')
	WindowsFocus: true,
	//if you start on the first content(default:true)
	WindowsOn: '0',
	//if you can to start to the 0,1,2,3 etc.. content
	Direction: 'y',
	//What will be the direction of the ascensor
	NavigationDirection: 'xy',
	//what will be his navigation direction(par défaut:'xy')
});


相关插件-滚动

jquery模拟滚动条(未封装)

jquery模拟滚动条,支持自定义滚动条样式,兼容pad,web手机端未测试;支持同一网页多个滚动条;支持添加和删除(本人对封装不太了解,未封装)
  滚动
 39360  340

jQuery滚动堆叠插件jquery.stacked-strips.js

为您的一页滚动网站和单页应用程序创建堆叠滚动效果。当您向下滚动网页时,插件可以逐个滚动固定的页面部分。
  滚动
 29264  328

jQuery锚点带动跳转页面代码

jQuery锚点带动跳转页面代码
  滚动
 43970  369
  滚动
 38434  360

讨论这个项目(1)回答他人问题或分享插件使用方法奖励jQ币 评论用户自律公约

    . 0
    2018/2/24 15:41:57
    很不错的插件,刚好需要
    回复
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
取消回复