Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

FarCry Implementation of the Brain Jar menu

Contributors

Chris Kent; Jeff Coughlin (xCode fixes); David Whiterod

21 Dec 2005

Uses ObjectID (instead of objectName) as the ID of submenus. This allows duplicate navigation folder names and removed the need to clean non-XHTML characters from the menu name.

Download the zip from here: http://www.atlas.sa.gov.au/dropzone/files/bjMenu.zip

Installation

  1. Copy _bjmenu.cfm to your site's includes directory
  2. Copy bjmenu.css to your site's CSS directory (example CSS as used on http://www.atlas.sa.gov.au/go/about)
  3. Copy bjmenu.js to your site's JavaScript directory (Copyright 2000-2004 by Mike Hall. See http://www.brainjar.com for terms of use.)
  4. Add the CSS and JS files in the head section of you dmHeader.cfm file
<link rel="stylesheet" type="text/css" href="#application.url.webroot#/css/bjmenu.css" media="screen" />
<script language="en" type="text/javascript" src="#application.url.webroot#/js/bjmenu.js"></script>

<cfmodule> the _bmenu.cfm file where you would like the menu in your page:

<cfmodule template="/farcry/#application.applicationname#/webskin/includes/_bjmenu.cfm">

The (optional) arguments are:

  • startNavID default="#application.navid.home#"
  • includeHomeLink default="true"

Jen Looper

  • No labels