ad_navbar (public)

 ad_navbar [ args... ]

Defined in packages/acs-tcl/tcl/navigation-procs.tcl

Produces a navigation bar. Notice that navigation bar is different than context bar, which displays packages in the site map. Navbar will only generate HTML for those links passed to it.

Returns:
HTML fragment
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 test_ad_html_bars ad_html_bars (test acs-tcl) ad_navbar ad_navbar test_ad_html_bars->ad_navbar

Testcases:
ad_html_bars
Source code:
    set counter 0
    foreach arg $args {
        lappend link_list [subst {<a href="[ns_quotehtml [lindex $arg 0]]">[ns_quotehtml [lindex $arg 1]]</a>}]
        incr counter
    }
    if { $counter } {
        return "\[[join $link_list { | }]\]"
    } else {
        return ""
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: