Access Keys:
Skip to content (Access Key - 0)
My Area (Access Key - 2)


Toggle Sidebar
Your Rating: Results: PatheticBadOKGoodOutstanding! 2 rates
Labels:
primo primo Delete
interface interface Delete
jquery jquery Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

jQuery Menu (Scope) Hiding on Click

Tags: , ,
Last Updated: Oct 15, 2010 18:56


  • Description

    jQuery Menu Hiding on Left-Click


  • Author: Masud Khokhar
  • Additional author(s):
  • Institution: University of Oxford
  • Year: 2010
  • License: GPL v3 or above.
  • Skill required for using this code:
    basic

Problem Statement

Currently when you click the drop down menu for scopes, the menu remains in the drop down state even if you click anywhere on the body of the page. This was against our conventions of web design so we have added a small snippet of code to eradicate this behaviour.

State

Stable

Programming language

jQuery (JavaScript)

Software requirements

Notepad

Screen captures

None needed.

Author(s) homepage

http://www.masudk.com

Download

No need to download any code. The code and instructions are in "Installation instructions" section.

Working example

http://solo.bodleian.ox.ac.uk

Installation instructions

Add this code to your FE server(s) inside the function setupSearch(). The file to edit would be "fe_web/javascript/v3.js" where fe_web is the shortcut to your "primo_library-libweb.war" directory.

Known issues

None at the moment.

Page Attachments

No files have been attached to this page.

Added by Masud Khokhar on Jul 19, 2010 16:30, last edited by Masud Khokhar on Oct 15, 2010 18:56

Adaptavist Theme Builder Powered by Atlassian Confluence