Page 1 of 1

Horizontal CSS Menu :)

Posted: Thu Jul 21, 2005 11:39 pm
by urbieta
Hi there!

I managed to get bulletmenu plugin to look like css horizontally by simply getting rid of my own css, adding the external js and css files used by the website in this link:

http://www.onlinetools.org/tools/yadm/reldropdown.html

plus getting into the modul'es code and adding id=nav to the second in the source code.

So for them newbies out there it just:
a.- Edit:
/plugins/function.bulletmenu.php
b.- Find:
$menu .= "\n\n";
c.- Change to:
$menu .= "\n\n";
d.- Save file
e.- Put these files in your server:
http://www.onlinetools.org/tools/yadm/yadmnojs.css
http://www.onlinetools.org/tools/yadm/y ... opdown.css
http://www.onlinetools.org/tools/yadm/yadmmeta.css
http://www.onlinetools.org/tools/yadm/yadm.js
f.- remove your CSS and put this in your template, considering they are written into your dir where index.php is :P

@import "yadmmeta.css";
@import "yadmnojs.css";
@import "yadmreldropdown.css";
   

g.- Enjoy!

This thing supports a current id or something to mark exactly where you are within the menu, but that's just too advanced php for me :)

So the proof of concept is here, we have a vertical css module and this horizontal menu, both are pure CSS but still need a little js for IE!

yay!

I hope someone with the right skills put it together soon enough to make it into cms made simple .11 because phplayers is too big a bug to remain there just to keep biting newbies.

Re: Horizontal CSS Menu :)

Posted: Fri Jul 22, 2005 12:40 am
by ljbadenz
You should try out my CSSMenu!

Re: Horizontal CSS Menu :)

Posted: Fri Jul 22, 2005 6:58 pm
by urbieta
ok sure! but, how can I make it horizontal instead of vertical? :)

Re: Horizontal CSS Menu :)

Posted: Fri Jul 22, 2005 8:34 pm
by ljbadenz
Hmmm...

Well I'll be trying to work on that next week, gonna be away during the weekend.
Once that's done then well, it'll be the only menu you'll ever need!

Re: Horizontal CSS Menu :)

Posted: Sat Jul 23, 2005 8:21 pm
by urbieta
Im glad you say that because phplayers should no longer be even available in the defalt cms download

Re: Horizontal CSS Menu :)

Posted: Sat Jul 23, 2005 8:41 pm
by Ted
Yeah, I agree.  It's probably going to disappear in the next release.  That'll probably cut the # of forum posts in half.  :)  But horizontal has to be working perfectly first, of course.