jQuery分步流程插件

jQuery分步流程插件-精品资源网
jQuery分步流程插件
此内容为免费资源,请登录后查看
0
免费资源

jQuery分步流程插件

这是一款非常简单的jQuery分步流程插件,适用于商城购物步骤流程显示,支持自定义当前步骤样式。

js代码

<script src=\"js/step.js\"></script>
<script>

  $(function () {
	initStep();
  });

  function initStep() {
	$(\".steps\").step({
	  stepNames: [\'购买\', \'付款\', \'发货\', \'收货\', \'评价\', \'完成\'],
	  initStep: 3
	})
  }

  function previousStep() {
	$(\".steps\").step(\"previous\");
  }

  function nextStep() {
	$(\".steps\").step(\"next\");
  }

  function gotoStep(step) {
	$(\".steps\").step(\"goto\", step)
  }

</script>

© 版权声明
THE END
点赞0 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容