阿西河

所有教程

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

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      插件 jQuery.Hub.me 中文API文档

      插件 jQuery.Hub.me 中文API文档 https://github.com/zenorocha/hub.me

      hub.me

      Let me guess!

      1. You’re a lazy programmer.
      2. You have a lot of cool projects here at Github.
      3. You want to show the world all your open source stuff.

      am I right? So guess what, I have the perfect thing to you.

      Let me introduce you hub.me, an alternative and responsive gallery to display all your projects on Github.

      Why?

      Discover it reading the history of my friend Clark Kent here. Portuguese version here.

      Getting Started

      Step 1:

      Just fork this repository.

      Step 2:

      Then you must change the repository name to yourUsername.github.com.

      Step 3:

      Now you have to open the index.html and put your username on it.

      <script>
          $('body').hubMe({'username': 'yourUsername'});
      </script>
      

      Easy, huh?

      *Just remember that may take up to 10 minutes to Github activate pages for your account.

      Options

      There are some nice features you can choose to create a even better gallery.

      Themes

      If you want another appearance just tell the plugin.

      $('body').hubMe({ 'theme': 'black' });
      

      For now you have 3 choices to customize it:

      • blue (default)
      • gray
      • black

      And, of course, you can create your own theme and then send to us :)

      Exclude

      You don’t want to display particular projects? Fine.

      $('body').hubMe({ 'exclude': ['wormz', 'cufon'] });
      

      Languages

      You want the ability to hide the language sections? No problem.

      $('body').hubMe({ 'languages': false });
      

      Browser Support

      We do care about it.

      IEChromeFirefoxOperaSafari
      IE 9+ ✔Latest ✔Latest ✔Latest ✔Latest ✔

      Credits

      License

      MIT License © Zeno Rocha

      目录
      目录