navigation tree bar for direct subforum access?

Any feedback to improve the content of this site is appreciated!
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

navigation tree bar for direct subforum access?

Post by HaWe »

hi,
I don't know if I can explane it right:
Could it be possible to have sort of a navigation tree bar for direct subforum access?
E.g., you read a posting in * Board index ‹ LEGO MINDSTORMS ‹ Mindstorms Software and you click on Board index ‹ LEGO MINDSTORMS ‹ Mindstorms Projects link fixed at the left side of the forum edge to jump there immediately.
Imagine what I mean?
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: navigation tree bar for direct subforum access?

Post by mightor »

Helmut,

You mean this:
Image

- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: navigation tree bar for direct subforum access?

Post by HaWe »

Xander,
thanks, that's indeed what I've been missing so far. It rellay makes it already much easier.
But if it was actually at the left edge (fixed) you won't have to scroll down before jumping... :)
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: navigation tree bar for direct subforum access?

Post by mightor »

Helmut,

I had a quick look and the position of the jump box cannot be set; it can only be enabled or disabled. I'm afraid you're stuck with it being at the bottom. Hit ctrl-end to get to it quickly :)

- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: navigation tree bar for direct subforum access?

Post by HaWe »

ok, it's fine, thx for your reply!
spillerrec
Posts: 358
Joined: 01 Oct 2010, 06:37
Location: Denmark
Contact:

Re: navigation tree bar for direct subforum access?

Post by spillerrec »

You can do this youself by creating a custom stylesheet. I can only give direction on how to set up a stylesheet for a page in Opera though, if you use Firefox, Chrome or whatever you will have to ask someone else. (AFAIK this isn't possible at all in IE.)

Once you have created a custom stylesheet, add this:

Code: Select all

#jumpbox{
	position: absolute !important;
	top: 10px !important;
	right: 20px !important;
}
#jumpbox fieldset{ margin-top: 0px !important }
#jumpbox + h3{
	clear:both !important;
	padding-top: 10px !important;
}
This should place it at the top of the screen.
If you want to avoid scrolling completely, you could change the second line from "position: absolute !important" to "position: fixed !important". When you scroll down now, the box will stay at the same spot at the screen, ignoring that you just scrolled down.

Notice the "#jumpbox + h3" rule. This was added because the "Who is online" thing screwed up when removing the jumpbox from the flow. So I fixed that, but I would guarantee that it will work everywhere since the layout might be a little different on other pages, who knows...


I also added some more to change the sourceforge thingy at the top, since I found it too big.

Code: Select all

#sf_header{
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}
#sf_logo{ display:none !important }
#sf_header p a{
	display: inline !important;
	margin-right: 10px !important;
}
My blog: http://spillerrec.dk/category/lego/
RICcreator, an alternative to nxtRICeditV2: http://riccreator.sourceforge.net/
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: navigation tree bar for direct subforum access?

Post by afanofosc »

I googled a bit and found that with Chrome you can do the same thing if you start Chrome with the command line parameter "-enable-user-stylesheet". I added that switch to my Chrome desktop shortcut.

In C:\Documents and Settings\<user>\Local Settings\Application Data\Google\Chrome\User Data\Default\User StyleSheets\ there should be created a Custom.css stylesheet.

I added this content:

Code: Select all


#jumpbox{
   position: absolute !important;
   top: 10px !important;
   right: 20px !important;
}
#jumpbox fieldset{ margin-top: 0px !important }
#jumpbox + h3{
   clear:both !important;
   padding-top: 10px !important;
}

#sf_header{
   padding-top: 10px !important;
   padding-bottom: 10px !important;
}
#sf_logo{ display:none !important }
#sf_header p a{
   display: inline !important;
   margin-right: 10px !important;
}

#fad1{
   display: none !important;
}
The #fad1 bit at the bottom hides the Google ad div.

Thanks for sharing this very useful information!

John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: navigation tree bar for direct subforum access?

Post by afanofosc »

To use a custom stylesheet in IE you choose Tools->Internet Options->Accessibility (General tab). Check the "Format documents using my style sheet" and browse to a .css file (such as the Custom.css that Chrome uses).

John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
nxtboy
Posts: 29
Joined: 29 Sep 2010, 18:15
Location: Cambridge, UK
Contact:

Re: navigation tree bar for direct subforum access?

Post by nxtboy »

I can build a chrome extension that creates a tree somewhere else on the page, if there's a demand for one.
gloomyandy
Posts: 323
Joined: 29 Sep 2010, 05:03

Re: navigation tree bar for direct subforum access?

Post by gloomyandy »

Is it possible to remove the sourceforge bar from the top of the forum pages? The leJOS forums (that also use the sourceforge phpBB software), don't have this bar. Having to load that on every page seems to slow things up a little...

Andy
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest