Sha256: e987efad3fd6a808489e251247f92c6c8823619a3ee0db67c64ebbd1acf28dd8
Contents?: true
Size: 990 Bytes
Versions: 6
Compression:
Stored size: 990 Bytes
Contents
function fixBoxInfoHeights() { $('dl.box dd.r1, dl.box dd.r2').each(function() { $(this).prev().height($(this).height()); }); } function searchFrameLinks() { $('#service_list_link').click(function() { toggleSearchFrame(this, relpath + 'service_list.html'); }); $('#file_list_link').click(function() { toggleSearchFrame(this, relpath + 'file_list.html'); }); } function toggleSearchFrame(id, link) { var frame = $('#search_frame'); $('#search a').removeClass('active').addClass('inactive'); if (frame.attr('src') == link && frame.css('display') != "none") { frame.slideUp(100); $('#search a').removeClass('active inactive'); } else { $(id).addClass('active').removeClass('inactive'); frame.attr('src', link).slideDown(100); } } function linkSummaries() { $('.summary_signature').click(function() { document.location = $(this).find('a').attr('href'); }); } $(fixBoxInfoHeights); $(searchFrameLinks); $(linkSummaries);
Version data entries
6 entries across 6 versions & 1 rubygems