PHP Classes

File: docs/js/sidebar.js

Recommend this page to a friend!
  Classes of TJ Webb  >  Clico PHP CLI Color Text Output  >  docs/js/sidebar.js  >  Download  
File: docs/js/sidebar.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Clico PHP CLI Color Text Output
Format text to display on a CLI console
Author: By
Last change:
Date: 2 years ago
Size: 1,307 bytes


Class file image Download
jQuery.expr[':'].Contains = function(a, i, m) {
    return jQuery(a).text().toUpperCase().indexOf(m[3].toUpperCase()) >= 0;

$(function() {
        autoHeight: false,
        navigation: true,
        collapsible: true
    }).accordion("activate", false)
            function(ev) {
                ev.cancelBubble = true; // IE
                if (ev.stopPropagation) {
                    ev.stopPropagation(); // the rest

                return true;

    $("#sidebar-nav>h3").click(function() {
        if ($(this).attr('initialized') == 'true') return;

            collapsed: true,
            persist: "cookie"
        $(this).attr('initialized', true);

function tree_search(input) {
    treeview = $(input).parent().parent().next();

    // Expand all items

    // make all items visible again

    // hide all items that do not match the given search criteria
    if ($(input).val()) {
        treeview.find('li').not(':has(a:Contains(' + $(input).val() + '))').hide();
For more information send a message to info at phpclasses dot org.