{
    分享网正式开通,我们为大家提供免费资源,欢迎大家踊跃投稿!

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>


在线预览
资源均来自第三方,谨慎下载,前往第三方网站下载


米微资源分享网 , 版权所有丨本站资源仅限于学习研究,严禁从事商业或者非法活动!丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:jQuery分步流程插件
喜欢 ()分享 (0)