jQuery网站用户引导插件

所属分类:UI-工具提示,弹出层

 29862  424  查看评论 (10)
分享到微信朋友圈
X
jQuery网站用户引导插件 ie兼容9

使用方法

首先导入相关JS和CSS

<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<!-- EnjoyHint JS and CSS files -->
<script src="enjoyhint/enjoyhint.min.js"></script>
<link href="enjoyhint/enjoyhint.css" rel="stylesheet">
<link href="enjoyhint/enjoyhint.css" rel="stylesheet">
<!-- Bootstrap -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="bootstrap.min.js"></script>
<!-- My style -->
<link rel="stylesheet" href="style.css">

然后在js文件里面创建EnjoyHint对象:

var enjoyhint_instance = new EnjoyHint({});

指定蒙层弹出的位置,及内容:

var enjoyhint_instance = new EnjoyHint({});

var enjoyhint_script_steps = [
  {
  	'next .navbar-brand' : '欢迎来到我的搜索!让我来引导你了解它的特点。',
	'skipButton' : {className: "mySkip", text: "不了!"},
  	'nextButton' : {className: "myNext", text: "可以"}
  	
  },
  {
  	'key #mySearchButton' : "请输入关键词搜索,并按“Enter”进去下一步",
  	'keyCode' : 13
  },
  {
  	'click .btn' : '点击这个按钮,切换下拉菜单,进入下一步'
  },
  {
  	'next .about' : '检查可用的所有功能的列表',
  	'shape': 'circle'
  },
  {
  	'next .contact' : '您的反馈将不胜感激。',
  	'shape': 'circle',
  	'radius': 70,
  	'showSkip' : false,
  	'nextButton' : {className: "myNext", text: "知道了!"}
  }

];

enjoyhint_instance.set(enjoyhint_script_steps);
enjoyhint_instance.run();

然后将内容set进EnjoyHint对象:

enjoyhint_instance.set(enjoyhint_script_steps);

最后不要忘了使用EnjoyHint的run()方法:

enjoyhint_instance.run();
相关插件-工具提示,弹出层

jquery自动关闭消息通知插件izitoast.js

iziToast.js是一款跨浏览器响应式消息通知插件。该消息通知插件体积小,使用简单。消息显示时带CSS3动画效果,时尚大方。
  工具提示
 36558  449

超漂亮的placeholders提示

超漂亮的placeholders提示
  工具提示
 32515  393

jQuery网页新功能步骤引导

在网站上经常看到的网页新功能步骤引导
  工具提示
 25726  350

一款腾讯UED设计的提示插件

一款腾讯UED设计的提示插件
  工具提示
 42549  435

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

    wodiaonima 0
    2023/7/13 16:03:06
    ?? 0
    2022/4/12 17:19:09
    S?J 0
    2019/7/10 18:07:07
    点击body下一步怎么改啊
        myq1
        2019/10/28 10:36:41
        更换相应图即可,或者改变css所指的地址
    回复
    ? 0
    2019/5/27 22:40:48
    还挺不错的,可惜我没用到 回复
    易大师er 0
    2018/12/29 17:48:24
    j.enjoyhint is not a function 回复
    做不到就不改名 0
    2018/10/15 16:05:01
    矩形怎么给他设置圆角
        L0
        2018/11/23 12:20:44
        同问呢
    回复
    seny 0
    2018/9/6 15:45:57
    界面挺好的,对于网站的一些新功能,利用这个来为客户做引导很合适。
        churongchang0
        2018/12/25 17:24:25
        有代码吗同志
    回复
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
取消回复