{NAV_MENUBAR} Dropdown menubar

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
JensZ
Posts: 136
Joined: Wed 16. Feb 2005, 12:18
Location: Stockholm, Sweden
Contact:

{NAV_MENUBAR} Dropdown menubar

Post 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
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
JensZ
Posts: 136
Joined: Wed 16. Feb 2005, 12:18
Location: Stockholm, Sweden
Contact:

Post 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
JensZ
Posts: 136
Joined: Wed 16. Feb 2005, 12:18
Location: Stockholm, Sweden
Contact:

Post by JensZ »

I have updated the script, and I think it works as it should.

Jens
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post 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
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
JensZ
Posts: 136
Joined: Wed 16. Feb 2005, 12:18
Location: Stockholm, Sweden
Contact:

Post by JensZ »

User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post 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 ?!
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
JensZ
Posts: 136
Joined: Wed 16. Feb 2005, 12:18
Location: Stockholm, Sweden
Contact:

Post 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...
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

:lol: :lol: :lol: :lol: :lol:

thanx - it's not urgent :wink:
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
JensZ
Posts: 136
Joined: Wed 16. Feb 2005, 12:18
Location: Stockholm, Sweden
Contact:

Post 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
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Post 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
mstroz
Posts: 53
Joined: Wed 13. Apr 2005, 18:38
Location: Macon, Georgia USA
Contact:

Post 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
JensZ
Posts: 136
Joined: Wed 16. Feb 2005, 12:18
Location: Stockholm, Sweden
Contact:

Post 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
mstroz
Posts: 53
Joined: Wed 13. Apr 2005, 18:38
Location: Macon, Georgia USA
Contact:

Post 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
pendragon75
Posts: 5
Joined: Tue 22. Feb 2005, 11:07

Post 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?
Post Reply