themeypop - toolbox_pulldown.toggleClass('toolbox-hidden');

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
$(document).ready(function() { $('.toolboxer').show(); $('.toolbox-pulldown').hide(); $('.toolbox-pulldown').addClass('toolbox-hidden'); $('#search-widget-input').attr("value","Search"); $('#search-widget-input').addClass("grey"); $('.focus-on-me').focus(); $('.toolboxer').click(function() { toolbox_pulldown = $(this).next('.toolbox-pulldown'); $('.toolbox- pulldown:visible').not(toolbox_pulldown).slideUp('fast').toggleClass('toolbox- shown').toggleClass('toolbox-hidden'); $('.toolbox- pulldown:visible').not(toolbox_pulldown).parent().removeClass('active-link- container'); toolbox_pulldown.slideToggle('fast'); toolbox_pulldown.toggleClass('toolbox-shown');
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: toolbox_pulldown.toggleClass('toolbox-hidden'); $(this).parent().toggleClass('active-link-container'); }); $('#search-widget-input').focus(function(){ if ($(this).attr("value") == "Search") { $(this).attr("value",""); $(this).removeClass("grey"); } }); $('#search-widget-input').blur(function() { if ($(this).attr("value") == "") { $(this).attr("value", "Search"); $(this).addClass("grey"); } }); if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/Android/i))) { $("#mobile-msg").show(); } });...
View Full Document

Ask a homework question - tutors are online