Neighborhood Navigation™ Demo

Intro | Example 1 | Example 2 | Example 3 | Example 4 | Example 5 | Readme

Sample Header #00 | Example 3

Here in Example 3 we've just gone with Neighborhood Navigation's default behavior which only sets up the Neighborhood Navigation environment for our later use.

We may have done it this way because for this page we still need access to the environment but don't need to automatically generate the nnDirectory.

In this case however, we did want the Neighborhood Tour, so we called the class function nnDoActivNeighborhood() which sets up the nnTourItems array, then we coded a wrapper container on the page and called nnDoNeighborhoodTour() to prepare the and return to us the Neighborhood Tour inside of it.

If the container is empty, then the selected neighborhood had no tour elements defined in the $nnNavItems array.

Here is a bonus inline link called with nnDoSingleNavItem().

ahr's Neighborhood Navigation™

Get it (core files) » .zip .tar.gz

Get it (with full demo) » .zip .tar.gz

You may also find ahr scripts on:

Scripts.com

Rate our program!