HideSeek

默认用法

$('#search-1').hideseek();
                            
  • C
  • Java
  • PHP
  • JavaScript
  • C++
  • Python
  • Shell
  • Ruby
  • Objective C
  • C#

高亮

$('#search-highlight').hideseek({
  highlight: true
});
                            
  • Chrome
  • Firefox
  • Internet Explorer
  • Safari
  • Opera

没有结果提示

$('#search-nodata').hideseek({
  nodata: '暂无数据'
});
                            
  • The Godfather
  • Schindler's List
  • Raging Bull
  • The Shawshank Redemption
  • Casablanca
  • One Flew Over the Cuckoo's Nest
  • Gone with the Wind
  • Citizen Kane

自定义事件

自定义方法 "_after"

$('.after_event').hideseek();
$('.after_event').on("_after", function() {
  alert('This alert comes after the search is finished!')
});
                            
  • Russia
  • The Philippines
  • Colombia
  • Dominican Republic
  • Ukraine
  • Thailand
  • India
  • China
  • Brazil
  • Vietnam

自定义方法 "_after_each"

$('.after_each_event').hideseek();
$('.after_each_event').on("_after_each", function() {
  alert('This alert comes after the procession of each element!')
});
                            
  • House made from Lego’s
  • Gigantic Aircraft Carrier model
  • Enormous replica of A380 Airbus

load的data属性用法

属性 "data-toggle"

  • Bootstrap
  • Fbootstrapp
  • BootMetro
  • Kickstrap
  • Foundation
  • GroundworkCSS
  • Gumby
  • HTML KickStart
  • IVORY
  • Kube