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

所属分类:UI-滚动

 35851  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元素滚动监听插件xRoll.js

xRoll.js 元素滚动监听插件 元素出现在窗口的时候在执行自定义的函数
  滚动
 25265  324

jQuery全屏视差滚动效果

jQuery全屏视差滚动效果
  滚动
 45941  434

jQuery简单的文字跑马灯特效

这是一款非常简单的jQuery文字跑马灯特效插件。该跑马灯特效使文本从右向左不停循环,当鼠标放到跑马灯上的文字时,跑马灯会暂停运动。
  滚动
 215291  358

jQuery美化滚动条插件mCustomScrollbar

mCustomScrollbar 是个基于 jQuery UI 的自定义滚动条插件,它可以让你灵活的通过 CSS 定义网页的滚动条,并且垂直和水平两个方向的滚动条都可以定义
  滚动
 34334  335

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

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