WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • Off-Topic »
  • A class in show_menu2
  • Print
Pages: [1]   Go Down

Author Topic: A class in show_menu2  (Read 5759 times)

Gerben de G.

  • Guest
A class in show_menu2
« on: August 20, 2008, 09:21:03 PM »
For the menu i use the code snippet show_menu2.
Works nice, but i have a little problem and i dont know how to solve it (or is it just because i'm a noob? :roll:)

Anyway, the links on my menu are the standard links, but how can i use another class so that my links are different from the rest of the website? show_menu2 don't has a function for this, or i can't find it.

Thanx for your help,
Gerben.
Logged

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: A class in show_menu2
« Reply #1 on: August 20, 2008, 09:49:46 PM »
Hi Gerben,

the easiest way is to "wrap" the different menu in a different container and then style the subclasses of that container like css.maxdesign.com.a u does ...

Code: [Select]
<div id="menu1">
  <?php show_menu(1); ?>
</div>

<div id="menu2">
  <?php show_menu(2); ?>
</div>

the rest is done within the css ... will work with show_menu2() as well.

cheers

Klaus
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • Off-Topic »
  • A class in show_menu2
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2