uBrowser Settings

The following list of settings is a quick overview of all that the uBrowser can do. There are several ways to add uBrowser to your pages and modules, and they all rely on some method of getting these settings to the main uBrowser display function. Acceptable values are listed below each setting:

  • div - CSS selector of the div in which the uBrowser is displayed.
    String, CSS selector. Example: '#ubrowser' (For more info, see HTML Dog - 1, 2, 3.)
  • class - Class to add to the div when it the uBrowser is displayed in it.
    Optional string specifying the CSS class name.
  • vid - Vocabulary ID you want to browse.
    Integer of a valid taxonomy vocabulary.
  • filter - Only display nodes of certain node types.
    Optional string, comma delimited list of node type names.
  • multi - Specify whether to allow the selection of multiple nodes in the node select box.
    Optional string 'true' or 'false'.
  • nids - Specify whether to display the node IDs with the titles.
    Optional string 'true' or 'false'.
  • search - Specify whether to display a search form below the category select box.
    Optional string 'true' or 'false'.
  • close - Specify whether to display a close button that empties the div.
    Optional string 'true' or 'false'.
  • view - Specify whether to display a view button that browses to the selected node.
    Optional string 'true' or 'false'.
  • window - Specify whether to display nodes in the current window or a new window.
    Optional string 'current' or 'new'.
  • categ - Supply replacement text for the word category in the display.
    Optional string to use.
  • nodesg - Supply replacement text for the word node in the display.
    Optional string to use.
  • nodepl - Supply replacement text for the word nodes in the display.
    Optional string to use.
  • select - Display a select button that executes a string of Javascript.
    Double clicking a node in the select box will have the same effect as clicking the select button.
    Optional string of Javascript. I wouldn't let users specify their own...

The next page covers the various ways to pass these settings to uBrowser display functions.