基金会显示模态按钮重定向到网址

时间:2015-11-27 13:49:55

标签: angularjs zurb-foundation

我对基础揭示按钮有一些问题。当我点击弹出按钮时,它会移动网址而不是显示弹出窗口(例如.www.website.com/#)

这是我的代码:

<a href="#" data-reveal-id="firstModal" class="button succes">Popup</a>

<div id="firstModal" class="reveal-modal small" data-reveal>
        <h2>Some Title</h2>

</div>

在我的代码末尾

  <script src="bower_components/jquery/dist/jquery.min.js"></script>
  <script src="bower_components/jquery-ui/jquery-ui.js"></script>
  <script src="bower_components/modernizr/modernizr.js"></script>
  <script src="bower_components/angular/angular.js"></script>
  <script src="bower_components/angular-route/angular-route.js"></script>
  <script src="bower_components/foundation/js/foundation.min.js"></script>
  <script src="bower_components/foundation/js/foundation/foundation.reveal.js"></script>

0 个答案:

没有答案