Forum Moderators: open

Message Too Old, No Replies

Navigation bar location

         

chrman

5:02 pm on Jun 6, 2001 (gmt 0)



Is there a command that can be used to anchor a javascript navigation bar at the top of the page so that it remains visable at all times?
Alternatively, is there another way to create a multitiered navigation bar other than javascript that will allow you to anchor at the top of the page? (no frames allowed)

Thanks

mivox

6:26 pm on Jun 6, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There isn't a simple "command" to anchor a top nav bar, but there are somewhat complex scripts that will do it...

I saw one once, while looking for a script that would handle a similar nav bar effect... I think I searched on Google for "scrolling menu" The script I'm thinking of was in the first three pages of search results, I believe. (Not too specific, eh? Sorry...)

However, most "dynamic" effects like that have serious compatibility problems. I've gotten my version to work on IE 5 and NN 4.X, but can't figure out how to get it working with Opera or NN 6...

chrman

12:02 am on Jun 7, 2001 (gmt 0)



I went through the first pile of pages but did not find the one you mentioned.

I have seen and used a CSS menu but that does not allow sub-levels so it won't work for me.

Guess i'll have to keep looking for an alternative

mivox

12:06 am on Jun 7, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Good luck, and please do report back when you find something! I don't think the one I mentioned did not allow for cascading/drop-down style multi-tired menus anyway... Check out GlassDog.com's menu. The script is utterly huge, but if you can do your own scripting, it may give you some ideas.

I'm anxiously awaiting the day when all the major browsers are all standards compliant with CSS1 & 2. It will make stuff like this SO much easier...

mivox

12:29 am on Jun 7, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Speak of the devil! There I was looking for battery hydrometer info, and lookee what I found! Here [batterystuff.com] is a site with the sort of menu you're talking about...

Their script needs work... The "hot spots" for each link in the menu bar seem to be limited to about one pixel in IE 5/Mac, and the movement isn't smooth at all, but you should be able to dissect their code and smooth it out a bit, perhaps?

chrman

2:55 am on Jun 7, 2001 (gmt 0)



this would be perfect EXCEPT that they are using CSS which does not allow for nested levels (at least that's what i've been led to beleive).

the nav bar i have has 6 headings, the first one has 3 subs, and that also has subs and one more level of subs...it was a bitch to do let me tell you. All told there are 4 sublevels and well over 250 links altogther

knighty

7:57 am on Jun 7, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well i have some good news for you

If you use layers you can create any kind of menu system which can have sub layers etc. It will work on all the major +4 browsers. quite small script too

Or

you could use Flash for the naviagation and do pretty much anything you wanted ;)

chrman

1:17 pm on Jun 7, 2001 (gmt 0)



knightly, could you be a bit more specific on what you mean by layers? I am not familiar with that term, might be something i have already tried, but hopefully it's something new. For an idea of what i am using go to this link

[javascript.internet.com...]

My biggest thing is to make that nav bar stick to the top so when someone scrolls, it stays visable.

Flash is something i have looked at briefly, but i'm not sure i can justify the time required to learn it versus sticking with what i have.

thanks

knighty

1:30 pm on Jun 7, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



chrman,

to see the sort of thing i mean check out www.projectseven.com, they have some examples of what you can do with layers.

chrman

2:22 pm on Jun 7, 2001 (gmt 0)



that is exactly what i am looking for IF i can anchor it like you can with simple CSS.
now that i know what to look for though hopefully i can dig up more information on HOW to do it.
If i was looking for a book, what topic would that be classified under? DHTML, Java, Javascript?

Thanks again, you guys are awesome

knighty

2:32 pm on Jun 7, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



chrman,

Do you have Dreamweaver? If so you can download extensions to do drop down menus etc then you dont have to worry about the code ;)

there are even DW extensions to anchor layers to objects so that an image no matter where it appears will have the layer popping up in the same place evrytime.

This sort of stuff is DHTML - basically using JavaScript and Layers together.

chrman

2:55 pm on Jun 7, 2001 (gmt 0)



I do not have dreamweaver but i think i will be buying it very soon since it appears that it has more funtionality than frontpage. Is there a minimum version i need. I know where i can get a cheap copy of 3.

Do you happen to have one of those places where you can download extension packs? I'd love to browse through them and see if there exists one that does everything i need.

knighty

3:43 pm on Jun 7, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



V3 should be fine but get 4 if you can

if you go to dreamweaver.com go to the 'exchange' section you can browse all the extensions