阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      插件 jQuery.HeapBox 中文API文档

      插件 jQuery.HeapBox 中文API文档 https://github.com/FilipBartos/heapbox

      HeapBox - jQuery <selectbox> (not only) replacement

      HeapBox is plugin for jQuery that replace native HTML selectboxes in your webpages. HeapBox supports themes, events, callbacks, ajax and much more. See more at heapbox website.

      Quick install

      Include the jquery and heapbox in your head:

      <script src="js/jquery.js" type="text/javascript"></script>
      <script src="js/heapbox.js" type="text/javascript"></script>
      

      Include one chosen heapbox theme style:

      <link rel="stylesheet" href="themes/dark/css/dark.css" type="text/css" media="screen" />
      

      Create selectbox:

      <select id="mySelect">
          <option value="value1">Value 1</option>
          <option value="value2">Value 2</option>
      </select>
      

      Init heapbox:

      $("#mySelect").heapbox();
      

      Using

      Basic heapbox without any configuration.

      $("#mySelect1").heapbox();
      

      See more examples at HeapBox website.

      About

      Heapbox is created by Filip Bartos and is licensed under MIT.

      目录
      本文目录
      目录