Documents

Title
jQuery Searcher
Description
jQuery Searcher is jQuery search/filtering plugin that supports various markups.
Category
Form
Library
jQuery Searcher
jQuery
Include Files
<!-- Add jQuery and jQuery Searcher -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-searcher/0.3.0/jquery.searcher.min.js"></script>
Basic markup

        <script>
            $(function () {
                $(".table").searcher({
                    // Specify search form.
                    inputSelector: "#tableSearch",
                    option
                });
            });
        </script>
        <input id="tableSearch" placeholder="Search..." /> 
    
Attachment Table

jQuery Searcher Options

PropertyTypeDefaultDescription
itemSelectorSelector"tbody > tr"jQuery selector for the data item element (e.g. tr, li).
textSelectorSelector"td"jQuery selector for the element which contains the text within the item element.
If not specified the data item element is used instead.
inputSelectorSelector""jQuery selector for the input element which is used to filter the data.
caseSensitiveBooleanfalseDetermines whether the search should be case sensitive or not.
togglefunctionfunction(item, containsText) { $(item).toggle(containsText);this function is called for each data item element when the text in the input changes.
it is called with the data item element and a boolean value indicating whether the item contains the text or not.
Related

Source Code

<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- Add jQuery and jQuery Searcher -->
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-searcher/0.3.0/jquery.searcher.min.js"></script>
    <title>jQuery Searcher</title>
    <style>
        .section {
            background: #fff;
            border: 1px solid #ccc;
            padding: 1em;
        }
        .search {
            margin: 0 0 1em 0;
            padding: .5em;
        }
        .table {
            width: 100%;
        }
        .table th,
        .table td {
            padding: .5em;
        }
        .list {
            overflow-y: auto;
            height: 350px;
        }
        .cards {
            display: grid;
            grid-column-gap: 5px;
            grid-row-gap: 5px;
            grid-template-columns: 1fr 1fr;
        }
        .card {
            background: #e7e7e7;
            display: grid;
            grid-column-gap: 5px;
            grid-row-gap: 5px;
            grid-template: 'thumbnail title' 100% 'thumbnail excerpt' 100% / 150px 1fr;
        }
        .card img {
            grid-area: thumbnail;
            padding: 5px;
            width: 150px;
            box-sizing: border-box;
        }
        .card h4 {
            grid-area: title;
            margin: 0;
            padding: .5em
        }
        .card p {
            grid-area: excerpt;
            margin: 0;
            padding: .5em
        }
        @media screen and (max-width: 768px) {
            .cards {
                grid-template-columns: 1fr;
            }
        }
        @media screen and (max-width: 420px) {
            .card {
                grid-template: 'thumbnail' 100% 'title' 100% 'excerpt' 100% / 100%;
            }
            .card img {
                width: 100%;
                height: auto;
            }
        }
    </style>
</head>
<body>
    <header>
        <h1 class="dlw-title">jQuery Searcher</h1>
        <p class="dlw-description">jQuery Searcher is jQuery search/filtering plugin that supports various markups.</p>
    </header>
    <section>
        <h2 class="dlw-subtitle">[1] Table Search</h2>
        <script>
            $(function () {
                $(".table").searcher({
                    inputSelector: "#tableSearch"
                });
            });
        </script>
        <div class="section">
            <input id="tableSearch" class="search" placeholder="Search..." />
            <table class="table">
                <thead>
                    <tr>
                        <th>Number</th>
                        <th>Name</th>
                        <th>Phone</th>
                        <th>Date</th>
                        <th>Company</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>16910227-3118</td>
                        <td>Holmes</td>
                        <td>(420) 462-6063</td>
                        <td>2005/12/08</td>
                        <td>Scelerisque Corp.</td>
                    </tr>
                    <tr>
                        <td>16350601-7627</td>
                        <td>Randall</td>
                        <td>(845) 567-4878</td>
                        <td>2010/10/09</td>
                        <td>Pretium Et Rutrum Industries</td>
                    </tr>
                    <tr>
                        <td>16970730-2619</td>
                        <td>Vincent</td>
                        <td>(818) 509-2903</td>
                        <td>2014/06/17</td>
                        <td>Elit Dictum Inc.</td>
                    </tr>
                    <tr>
                        <td>16111213-5809</td>
                        <td>Brenden</td>
                        <td>(492) 783-8892</td>
                        <td>2001/08/26</td>
                        <td>Leo Elementum Company</td>
                    </tr>
                    <tr>
                        <td>16520608-1829</td>
                        <td>Cody</td>
                        <td>(182) 681-8933</td>
                        <td>2016/04/27</td>
                        <td>Eu Odio Ltd</td>
                    </tr>
                    <tr>
                        <td>16430718-1323</td>
                        <td>Emery</td>
                        <td>(741) 687-8269</td>
                        <td>2007/04/29</td>
                        <td>Nulla Limited</td>
                    </tr>
                    <tr>
                        <td>16850111-9047</td>
                        <td>Allistair</td>
                        <td>(753) 841-4140</td>
                        <td>2004/12/31</td>
                        <td>Euismod Est Arcu PC</td>
                    </tr>
                    <tr>
                        <td>16601201-7973</td>
                        <td>Michael</td>
                        <td>(138) 652-2400</td>
                        <td>2001/09/18</td>
                        <td>In Consectetuer Ipsum PC</td>
                    </tr>
                    <tr>
                        <td>16321225-0488</td>
                        <td>Carter</td>
                        <td>(455) 949-1753</td>
                        <td>2003/09/21</td>
                        <td>Dolor Quisque Tincidunt Company</td>
                    </tr>
                    <tr>
                        <td>16230626-1823</td>
                        <td>Salvador</td>
                        <td>(674) 692-0833</td>
                        <td>2001/07/16</td>
                        <td>Suspendisse Institute</td>
                    </tr>                        
                </tbody>
            </table>
        </div>
    </section>    
    <section>
        <h2 class="dlw-subtitle">[2] List Search</h2>
        <script>
            $(function () {
                $(".list").searcher({
                    itemSelector: "li",
                    textSelector: "",
                    inputSelector: "#listSearch"
                });
            });
        </script>
        <div class="section">
            <input id="listSearch" class="search" placeholder="Search..." />
            <ul class="list">
                <li>1476 Lorem Ave</li>
                <li>8727 Fringilla, Rd.</li>
                <li>P.O. Box 393, 3189 Velit. Rd.</li>
                <li>389-2090 Rutrum, Road</li>
                <li>Ap #987-2752 Congue, Ave</li>
                <li>Ap #814-5102 Sed Ave</li>
                <li>Ap #150-1036 Donec Av.</li>
                <li>1625 Lacus. Rd.</li>
                <li>P.O. Box 845, 3248 Tristique Avenue</li>
                <li>P.O. Box 887, 6997 Cursus, Road</li>
                <li>P.O. Box 456, 6786 In St.</li>
                <li>P.O. Box 324, 254 Risus. Av.</li>
                <li>5439 Nec, St.</li>
                <li>9934 Hendrerit Road</li>
                <li>P.O. Box 865, 3083 Mi Ave</li>
                <li>Ap #439-3485 Taciti Rd.</li>
                <li>9426 Imperdiet Street</li>
                <li>275-2960 Erat Av.</li>
                <li>Ap #523-5605 Ultrices Ave</li>
                <li>Ap #557-5366 Lobortis Street</li>
                <li>Ap #766-4976 Laoreet Street</li>
                <li>P.O. Box 292, 7466 Aliquam Road</li>
                <li>Ap #924-9406 Nec St.</li>
                <li>P.O. Box 372, 6872 Leo Av.</li>
                <li>830-1607 Eget, Rd.</li>
                <li>Ap #764-4251 Ridiculus Avenue</li>
                <li>Ap #676-2402 Semper Rd.</li>
                <li>Ap #540-699 Auctor Road</li>
                <li>Ap #340-6679 Varius. St.</li>
                <li>916-7106 Pretium Ave</li>
                <li>6173 Libero. Rd.</li>
                <li>P.O. Box 944, 248 Morbi Road</li>
                <li>P.O. Box 646, 104 Ligula Rd.</li>
                <li>P.O. Box 706, 5166 Ac St.</li>
                <li>829-1430 Quisque Avenue</li>
                <li>543-7581 Ut Avenue</li>
                <li>Ap #453-737 Et, Av.</li>
                <li>Ap #266-7211 Curabitur Avenue</li>
                <li>Ap #399-9577 Metus. Street</li>
                <li>P.O. Box 194, 6971 Eros. Ave</li>
                <li>Ap #985-6423 Blandit Street</li>
                <li>P.O. Box 997, 9703 Taciti Av.</li>
                <li>P.O. Box 458, 5386 Enim Rd.</li>
                <li>3572 Velit. Av.</li>
                <li>693-349 At, St.</li>
                <li>Ap #251-2013 Curabitur Rd.</li>
                <li>565-3138 Mi. Ave</li>
                <li>6459 Velit St.</li>
                <li>485-3654 Pellentesque Rd.</li>
            </ul>
        </div>
    </section>   
    <section>
        <h2 class="dlw-subtitle">[3] Card Search</h2>
        <script>
            $(function () {
                $(".cards").searcher({
                    itemSelector: ".card",
                    // Separate by commas if there are multiple objects
                    textSelector: "h4, p",
                    inputSelector: "#cardSearch"
                });
            });
        </script>
        <div class="section">
            <input id="cardSearch" class="search" placeholder="Search..." />
            <div class="cards">
                <div class="card">
                    <img src="images/photo01-t.jpg">
                    <h4>Card 01</h4>
                    <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>
                </div>
                <div class="card">
                    <img src="images/photo02-t.jpg">
                    <h4>Card 02</h4>
                    <p>Aenean commodo ligula eget dolor. Aenean massa.</p>
                </div>
                <div class="card">
                    <img src="images/photo03-t.jpg">
                    <h4>Card 03</h4>
                    <p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>
                </div>
                <div class="card">
                    <img src="images/photo04-t.jpg">
                    <h4>Card 04</h4>
                    <p>Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.</p>
                </div>
                <div class="card">
                    <img src="images/photo05-t.jpg">
                    <h4>Card 05</h4>
                    <p>Nulla consequat massa quis enim.</p>
                </div>
                <div class="card">
                    <img src="images/photo06-t.jpg">
                    <h4>Card 06</h4>
                    <p>Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.</p>
                </div>
                <div class="card">
                    <img src="images/photo07-t.jpg">
                    <h4>Card 07</h4>
                    <p>In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.</p>
                </div>
                <div class="card">
                    <img src="images/photo08-t.jpg">
                    <h4>Card 08</h4>
                    <p>Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus.</p>
                </div>
                <div class="card">
                    <img src="images/photo09-t.jpg">
                    <h4>Card 09</h4>
                    <p>Vivamus elementum semper nisi. Aenean vulputate eleifend tellus.</p>
                </div>
                <div class="card">
                    <img src="images/photo10-t.jpg">
                    <h4>Card 10</h4>
                    <p>Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus
                        in, viverra quis, feugiat a.</p>
                </div>
            </div>
        </div>
    </section>
</body>
</html>

Comment

Search

Style Design
Text Style DesignCSS

Here, design samples of various effects to text are posted.

Headline (Heading) Style DesignCSS

The headline is the text indicating the nature of the article below it.
Here, design samples of headline using style sheets are posted.

OL (Ordered List) Style DesignCSS

The HTML <ol> element represents an ordered list of items.
Here, design samples of ol using style sheets are posted.

HR (Separator Line) Style DesignCSS

The HTML <hr> element represents a thematic break between paragraph-level elements.
Here, design samples of hr using style sheets are posted.

Box Shadow Style DesignCSS

The box-shadow CSS property is used to add shadow effects around an element's frame.
Here, design samples of box-shadow property using style sheets are posted.

Layout
How to specify a breakpoint and switch imagesJS

Using <picture> and srcset, it is a method of switching images according to screen size. It also corresponds to retina.
In this example, Picturefill is added for IE.

Grid LayoutCSS

Grid is the value of the CSS display property.
Here, layout samples of grid property are posted.

FlexCSS

Flex is the value of the CSS display property.

Link & Button
Bootstrap ButtonCSS

It is a standard button design of Bootstrap Framework.

Hover.cssCSS

Hover.css is a style-sheet collection of hover effects.

Button.cssCSS

Button.css is collection of CSS3 button animations.

Card
Bootstrap CardCSS

It is a standard Card design of Bootstrap Framework.

Text
Arctext.jsjQuery

Arctext.js is a jQuery plugin that causes a string to curve along a specified circle radius.

Lettering.jsjQuery

Lettering.js is a jQuery plugin that encloses a specified character string with one character, one word, one column by <span> tag.

Textillate.jsjQuery

Textillate.js is a jQuery plugin that adds In / Out animation effects to text.

FitText.jsjQuery

FitText.js is jQuery plugin that fits the font size according to the width of the parent element.

Media
FeedEkjQuery

FeedEk is a jQuery plugin that parses RSS and Atom feeds and displays them.

YouTube Embed

Introduction of various embedment methods of YouTube.

FitVids.jsjQuery

FitVids is a jQuery plug-in that converts YouTube videos embedded with iframe into responsive.

xZoomjQuery

xZoom is a jQuery plug-in that shows a zoom preview of the image.
It is possible to customize the preview position and zoom.

Instagram.cssCSS

Instagram.css is a stylesheet set that filters photos like instagram.

Date
Moment.jsJS

Moment.js is a javascript that processes and displays date and time.

Bootstrap Material DatePickerjQuery

Bootstrap Material DatePicker is jQuery data picker plugin using Moment.js.

Table
MultifilterjQuery

Multifilter is jQuery Table Filtering Plugin.

Flex TableCSS

Responsive table using "display: flex;".
Not supported for rowspan.

Grid TableCSS

Responsive table using "display: grid;".
Not supported for rowspan.

Bootstrap TableCSS

It is a standard Table design of Bootstrap Framework.

Form
jQuery Mask PluginjQuery

jQuery Mask Plugin is jQuery plugin that make mask (validation) on form field.

Select2 #1. Basic SettingjQuery

Select2 is a jquery plugin that makes select form more advanced.
Here is the basic usage of Select2.

jQuery SearcherjQuery

jQuery Searcher is jQuery search/filtering plugin that supports various markups.

Slider
Bootstrap CarouseljQuery

It is a standard Carousel of Bootstrap Framework.

FlexSlider #1. Single SliderjQuery

FlexSlider is responsive jQuery slider plugin.
Here, basic single slider setting of Flexslider are posted.

FlexSlider #2. Carousel SliderjQuery

FlexSlider is responsive jQuery slider plugin.
Here, basic carousel slider setting of Flexslider are posted.

slick #1. Single SliderjQuery

slick is responsive jQuery slider plugin.
Here, basic single slider setting of slick are posted.

slick #2. Carousel SliderjQuery

slick is responsive jQuery slider plugin.
Here, carousel slider setting of slick are posted.

Lightbox
fancyBox #1. basic image lightboxjQuery

fancyBox is jQuery lightbox plugin.
Here, basic image lightbox setting of fancyBox are posted.

fancyBox #2. media lightboxjQuery

fancyBox is jQuery lightbox plugin.
Here, YouTube, Vimeo, Instagram, Google Maps, inline HTML, iframe lightbox setting of fancyBox are posted.

Magnific Popup #1. basic image lightboxjQuery

Magnific Popup is jQuery lightbox plugin.
Here, basic image lightbox setting of Magnific Popup are posted.

Magnific Popup #2. media lightboxjQuery

Magnific Popup is jQuery lightbox plugin.
Here, YouTube, Vimeo, Google Maps, inline HTML lightbox setting of Magnific Popup are posted.

Magnific Popup #3. CSS3-based animation effectsjQuery

Since Magnific Popup does not incorporate animation effects by standard, you need to set it yourself.
Here we summarize the CSS3-based animation settings.

Navigation
animsitionjQuery

animsition is a jQuery plugin that adds an in/out animation effect at the time of page transition.

GreedyNavjQuery

GreedyNav is a responsive navigation menu using jQuery which switches over the items that protruded when the screen was scaled down to dropdown.

GridTabjQuery

GridTab is a lightweight jQuery plugin to create grid based responsive tabs.

jQuery.NiceScrolljQuery

jQuery.NiceScroll is a jQuery plugin that extends scroll display and functions.

metisMenujQuery

metisMenu is a jQuery plugin that expands vertical and vertical menus.

fullPage.js #1. basic fullscreen scrollingjQuery

fullPage.js is jQuery Fullscreen Scrolling plugin.
Here, basic fullscreen scrolling of fullPage.js are posted.

fullPage.js #2. fullscreen scrolling with menujQuery

fullPage.js is jQuery Fullscreen Scrolling plugin.
Here, navigation menu is displayed..

Offside.js #1. Basic Off-canvasJS

Offside.js is a JavaScript kit that expands off-canvas.
This is a sample where the left side off-canvas expands.

Offside.js #2. Multiple Off-canvasJS

Offside.js is a JavaScript kit that expands off-canvas.
This is a sample that expands multiple off-canvases.

Filterizr #1. Basic FilteringjQuery

Filterizr is a jQuery plugin that sorts, shuffles, searches for the items in the container.
This is a basic sample without setting options.

Filterizr #2. Advanced FilteringjQuery

Filterizr is a jQuery plugin that sorts, shuffles, searches for the items in the container.
This is a sample of more advanced setting of Filterizr.

Animation
animsitionjQuery

animsition is a jQuery plugin that adds an in/out animation effect at the time of page transition.

Textillate.jsjQuery

Textillate.js is a jQuery plugin that adds In / Out animation effects to text.

ScrollajQuery

Scrolla is jQuery scroll animation plugin.

Hover.cssCSS

Hover.css is a style-sheet collection of hover effects.

Animate.cssCSS

Animate.css is a style-sheet collection of animation effects.

jQuery Easing PluginjQuery

jQuery Easing Plugin is a plugin to extend the easing (animation effect) of jQuery.
The easing of element is posted.

Background
fullPage.js #1. basic fullscreen scrollingjQuery

fullPage.js is jQuery Fullscreen Scrolling plugin.
Here, basic fullscreen scrolling of fullPage.js are posted.

fullPage.js #2. fullscreen scrolling with menujQuery

fullPage.js is jQuery Fullscreen Scrolling plugin.
Here, navigation menu is displayed..

jquery.mb.YTPlayerjQuery

jQuery.mb.YTPlayer is jQuery Background player plugin.

Modal / Tooltip
Hint.cssCSS

Hint.css is a style sheet set for tooltip.
You can display tooltip just by adding class name.

ProtipjQuery

Protip is a jQuery plugin that generates tooltips.
Set the position, size, etc. of the tooltip only with data attribute.

Social
Framework
Bootstrap CarouseljQuery

It is a standard Carousel of Bootstrap Framework.

Bootstrap CardCSS

It is a standard Card design of Bootstrap Framework.

Bootstrap ButtonCSS

It is a standard button design of Bootstrap Framework.

Bootstrap TableCSS

It is a standard Table design of Bootstrap Framework.

Cheat Sheet
HTML5 Cheat Sheet

HTML5 Cheat Sheet by Make A Website Hub

CSS3 Cheat Sheet

CSS3 Cheat Sheet by Smashing Magazine

Visual Studio Code Keyboard Shortcuts

This is the Visual Studio Code default keyboard shortcut list.

GreenSock Cheat Sheet

Cheese sheet of TweenMAX, TweenLite, TimelineLite, TimelineMax by GreenSock.

Other
Google Search

On this page you can search for codes collectively.

Design News

It is a news feed about design.