Finally got some time while waiting on Windows servers to do what they do best. Suck.<br><br>Using CSS the javascript menus stay in the top left corner this way:<br><br>vim server/web/bb_footer -- now add a div tag:<br><br>
<div id="menunomove"><br><!-- menu script itself. you should not modify this file --><br><script type="text/javascript" language="JavaScript" src="&BBMENUSKIN/menu.js"></script>
<br><!-- items structure. menu hierarchy and links are stored there --><br><script type="text/javascript" language="JavaScript" src="&BBMENUSKIN/menu_items.js"></script>
<br><!-- files with geometry and styles structures --><br><script type="text/javascript" language="JavaScript" src="&BBMENUSKIN/menu_tpl.js"></script><br><script type="text/javascript" language="JavaScript">
<br> new menu (MENU_ITEMS, MENU_POS);<br></script><br></div><br><br>(Note that bb2_footer was a symlink to bb_footer for me)<br><br>Now for the CSS to be included vim server/web/bb_header and bb2_header in the bottom inside of the HEAD add:
<br><br><style type="text/css" media="screen"><br> #menunomove<br> {<br> position: fixed;<br> left: 1px;<br> top: 1px;
<br> }<br></style><br><br>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.<br><br>This works perfectly for me! Note that the left: and top: were there from the tutorial, commenting them broke it.
<br><br>Josh<br><br><br><div><span class="gmail_quote">On 10/25/07, <b class="gmail_sendername">Galen Johnson</b> <<a href="mailto:gjohnson@trantor.org">gjohnson@trantor.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Look under the /path/to/hobbit/server/web folder. That's where the<br>files used to create the pages (in conjunction with the compiled in<br>stuff) are at. Most of the header/footer files are probably just<br>symlinks to bb_header or bb_footer.
<br><br>=G=<br><br>Josh Luthman wrote:<br>> If you open up menu.js the only thing I see is the declaration of a<br>> value for a variable. The little I know about programming and<br>> languages tells me that I don't modify this file to do what I
<br>> accomplish. What I'm looking for is what outputs the javascript to<br>> bb.html and bb2.html. If you open either of these two pages you'll<br>> see the javascript at the very bottom.<br>><br>> On 10/25/07, *Galen Johnson* <
<a href="mailto:gjohnson@trantor.org">gjohnson@trantor.org</a><br>> <mailto:<a href="mailto:gjohnson@trantor.org">gjohnson@trantor.org</a>>> wrote:<br>><br>> As I understand the menus, they are defined by the
menu.js<br>> file...since<br>> they are just javascript you'll probably have to modify each of the<br>> header files to do it but I don't know if it will work...it'd be<br>> interesting to see.
<br>><br>> Just create the CSS code and add it somewhere that has access from<br>> the<br>> web...probably under the hobbit server www directory somewhere and<br>> reference it using the <link rel="stylesheet"...> or some
<br>> such...I'd be<br>> curious about as I can see where that would be extremely<br>> beneficial for<br>> sites with lots of hosts on a single page.<br>><br>> =G=<br>><br>> Josh Luthman wrote:
<br>> > Before diving into this task and asking for help I'm willing to bet<br>> > that someone on this mailing list has already accomplished this<br>> task.<br>> > Let me know so I don't have to research all this stuff, if you
<br>> would =)<br>> ><br>> > I am interested in making is so that as I scroll down on the<br>> page the<br>> > menus in the top left corner keep their position anywhere on the<br>
> > page. I've been suggested the best way to do this was with CSS. To<br>> > begin with, where would the best place to be adding the CSS code<br>> to do<br>> > this?<br>> >
<br>> > --<br>> > Josh Luthman<br>> > Office: 937-552-2340<br>> > Direct: 937-552-2343<br>> > 1100 Wayne St<br>> > Suite 1337<br>> > Troy, OH 45373<br>
> ><br>> > Those who don't understand UNIX are condemned to reinvent it,<br>> poorly.<br>> > --- Henry Spencer<br>><br>><br>><br>> To unsubscribe from the hobbit list, send an e-mail to
<br>> <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a> <mailto:<a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a>><br>><br>><br>><br>><br>><br>
> --<br>> Josh Luthman<br>> Office: 937-552-2340<br>> Direct: 937-552-2343<br>> 1100 Wayne St<br>> Suite 1337<br>> Troy, OH 45373<br>><br>> Those who don't understand UNIX are condemned to reinvent it, poorly.
<br>> --- Henry Spencer<br><br><br><br>To unsubscribe from the hobbit list, send an e-mail to<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br><br><br></blockquote></div><br><br clear="all">
<br>-- <br>Josh Luthman<br>Office: 937-552-2340<br>Direct: 937-552-2343<br>1100 Wayne St<br>Suite 1337<br>Troy, OH 45373<br><br>Those who don't understand UNIX are condemned to reinvent it, poorly.<br>--- Henry Spencer