[hobbit] Keeping menus viewable
josh at imaginenetworksllc.com
Thu Nov 1 07:08:35 CET 2007
Finally got some time while waiting on Windows servers to do what they do
vim server/web/bb_footer -- now add a div tag:
<!-- menu script itself. you should not modify this file -->
<!-- items structure. menu hierarchy and links are stored there -->
<!-- files with geometry and styles structures -->
new menu (MENU_ITEMS, MENU_POS);
(Note that bb2_footer was a symlink to bb_footer for me)
Now for the CSS to be included vim server/web/bb_header and bb2_header in
the bottom inside of the HEAD add:
<style type="text/css" media="screen">
After adding that section of code to the two header files and the tag wraps
in the footer give it some time to rewrite bb.html and bb2.html.
This works perfectly for me! Note that the left: and top: were there from
the tutorial, commenting them broke it.
On 10/25/07, Galen Johnson <gjohnson at trantor.org> wrote:
> Look under the /path/to/hobbit/server/web folder. That's where the
> files used to create the pages (in conjunction with the compiled in
> stuff) are at. Most of the header/footer files are probably just
> symlinks to bb_header or bb_footer.
> Josh Luthman wrote:
> > If you open up menu.js the only thing I see is the declaration of a
> > value for a variable. The little I know about programming and
> > languages tells me that I don't modify this file to do what I
> > bb.html and bb2.html. If you open either of these two pages you'll
> > On 10/25/07, *Galen Johnson* < gjohnson at trantor.org
> > <mailto:gjohnson at trantor.org>> wrote:
> > As I understand the menus, they are defined by the menu.js
> > file...since
> > header files to do it but I don't know if it will work...it'd be
> > interesting to see.
> > Just create the CSS code and add it somewhere that has access from
> > the
> > web...probably under the hobbit server www directory somewhere and
> > reference it using the <link rel="stylesheet"...> or some
> > such...I'd be
> > curious about as I can see where that would be extremely
> > beneficial for
> > sites with lots of hosts on a single page.
> > =G=
> > Josh Luthman wrote:
> > > Before diving into this task and asking for help I'm willing to
> > > that someone on this mailing list has already accomplished this
> > task.
> > > Let me know so I don't have to research all this stuff, if you
> > would =)
> > >
> > > I am interested in making is so that as I scroll down on the
> > page the
> > > menus in the top left corner keep their position anywhere on the
> > > page. I've been suggested the best way to do this was with
> CSS. To
> > > begin with, where would the best place to be adding the CSS code
> > to do
> > > this?
> > >
> > > --
> > > Josh Luthman
> > > Office: 937-552-2340
> > > Direct: 937-552-2343
> > > 1100 Wayne St
> > > Suite 1337
> > > Troy, OH 45373
> > >
> > > Those who don't understand UNIX are condemned to reinvent it,
> > poorly.
> > > --- Henry Spencer
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe at hswn.dk <mailto:hobbit-unsubscribe at hswn.dk>
> > --
> > Josh Luthman
> > Office: 937-552-2340
> > Direct: 937-552-2343
> > 1100 Wayne St
> > Suite 1337
> > Troy, OH 45373
> > Those who don't understand UNIX are condemned to reinvent it, poorly.
> > --- Henry Spencer
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
1100 Wayne St
Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xymon