Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 1.0-beta-10
-
Fix Version/s: 1.0-beta-10
-
Component/s: documentation
-
Labels:None
Description
Attached is a patch to add a small google site-search field
to the navbar. The spacing between the google logo and
the input field is a little large, but I'm at a loss as how
to fix it (jsl is replacing <br/> with <br></br> which increases
the spacing).
To include the search field, add a <search/> element to navigation.xml,
in the <body>. E.g:
<body>
<links/>
<menu name="foo"/>
<search/>
</body>
It will appear in the navbar above the Project Documention
menu i.e:
Menu 1
.
.
Search ${pom.name}
<google logo>
[ text field ] <go>
Project Documentation
While this is pretty cool (I'm biased
, it isn't
much use for intranets - YMMV.
Cheers,
Tim
Updates for site.jsl