Page 1 of 5

{NAV_MENUBAR} Dropdown menubar

Posted: Thu 9. Jun 2005, 14:06
by JensZ
Hello,

Another replacement tag for a menubar like the one on my site http://www.ikfrej.se. Please check out http://www.brainjar.com for the manufacturer of this great menubar.

Download at: http://www.ikfrej.se/phpwcms_filestorage/menubar.zip

Installation instructions:

* Unzip the package in your phpwcms root directory.
* Add the following to your <head> section:
<script type="text/javascript" src="/phpwcms_template/inc_js/menubar.js"></script>
<link href="/phpwcms_template/inc_css/menubar.css" rel="stylesheet" type="text/css" />
* Make adjustments to menubar.css to change the size and appearance of the menubar to fit your needs
* Use the {NAV_MENUBAR} replacement tag where you want the menubar to appear.

Enjoy,

Jens

Posted: Sat 11. Jun 2005, 18:57
by Oliver Georgi
I have patched it a bit and also integrated it - but there seems to be some problems I don't understand. Maybe you can check it - I have placed it in SourceForge CVS.

I have enhanced system a bit: now it's possible to enhance head area by script itself with neccessary CSS and JS information. And if same is used twice only used once there.

You can contact me if interested - and I will send you an link to my development account.

Oliver

Posted: Sun 12. Jun 2005, 12:28
by JensZ
Cool!

What seems to be the problem? The script has not been tested with all browsers, pagelayouts, etc, so there could potentially be some bugs. Let me know what I can do to help.

I have two commented lines in the code for the css and js files, but I wasn't sure it was valid html when the <link rel...> tag appears outside the <head> section. I am sure your enhancement takes care of that.

Cheers,

Jens

Posted: Mon 13. Jun 2005, 22:51
by JensZ
I have updated the script, and I think it works as it should.

Jens

Posted: Tue 14. Jun 2005, 08:46
by pico
Hi

nice Script - have installed it but I can't get the Top of a Structurlevel ( Level1 - Level2 and so on) only sub1.1, sub1.2 etc.

Code: Select all

home -|
      +-Level1 +
               +sub1.1
               +sub1.2 
      +-Level2 +
               +sub2.1
               +sub2.2

Posted: Wed 15. Jun 2005, 10:18
by JensZ

Posted: Wed 15. Jun 2005, 10:40
by pico
Hi

thanks - it's now closer to that what I need :D :wink:

but the link to a Top-Level only works when there is no Sub-Level,
if there is are one ore more Sub-Levels I still can't get the Top-Level

see at my Page

it works on "Texte" (no Sub's) but not on "phpwcms"
you understand what I mean?

Added
and the Roll-Down opens only if you Click on it - not by Mouse-Over ?!

Posted: Wed 15. Jun 2005, 10:50
by JensZ
Pico, I am going to try to fix it as soon as I get a moment. I don't have the same situation on my site structure, so I don't have the same problem. I'll make a post when I've fixed it...

Posted: Wed 15. Jun 2005, 11:34
by pico
:lol: :lol: :lol: :lol: :lol:

thanx - it's not urgent :wink:

Posted: Wed 15. Jun 2005, 16:56
by JensZ
About opening only when you click:

The whole idea is that it behaves like a windows menu. Personally, I like when things only happen when I request it to happen, not when I roll over something and all of a sudden a drop down comes down. Just personal preference. Maybe you can ask Oliver to make that an option when he integrates the menubar in the next release.

Check out http://www.brainjar.com to see what you can do to the menubar with the help of css. Pretty cool...

/Jens

Posted: Fri 17. Jun 2005, 21:54
by jsw_nz
Nice menu system....looking forward to revisions....and good link as well to brainjar...I will watch this thread with interest.

john
:D

Posted: Fri 4. Nov 2005, 02:28
by mstroz
Hi Jenz,

Thanks for the great work on this hack/enhancement.

Is there a way to use this menu vertical instead of horizontal? CSS edit or something?

Mark

Posted: Fri 4. Nov 2005, 09:09
by JensZ
Probably. It's not built in, but should be doable. Check out http://www.brainjar.com, there's a whole tutorial on how to build the menubar. Perhaps you can think of a way to make it vertical?!

How's Macon these days? I've been there a couple of times, playing soccer against Mercer University. I used to go to FAU.

Cheers,
Jens

Posted: Fri 4. Nov 2005, 15:14
by mstroz
Small world. Macon's good. Still a sleepy little town, but good all the same.

I'll check the Brainjar tutorial and see if I can get it to work.
Thanks,
Mark

Posted: Mon 7. Nov 2005, 16:48
by pendragon75
kann mir jemand helfen.... bei mir läuft die navigation einfach nicht... anstelle der navigation kommt lediglich der platzhalter.

habe das zip-file installiert und den head angepasst.

seite unter: http://panweb.ch/byfang/index.php?test

an was kann das liegen?