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.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


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 »
  • WebsiteBaker Website Showcase »
  • Compact Web Applications
  • Print
Pages: [1]   Go Down

Author Topic: Compact Web Applications  (Read 5513 times)

Offline cito

  • Posts: 5
Compact Web Applications
« on: October 25, 2009, 06:23:33 PM »
Our company homepage: http://www.cwa-web.de

Made with WB 2.6, now running on WB 2.8.

Thanks to the makers of WebsiteBaker.
Logged

LordDarkman

  • Guest
Re: Compact Web Applications
« Reply #1 on: October 25, 2009, 07:06:30 PM »
Nice Solution with the 2 menus. How You did this?

I like the "Stoffbörse" now I know where I can get mine from. *joking

CU Moritz
Logged

Offline Luckyluke

  • Posts: 556
  • Gender: Male
  • Let's Rock
Re: Compact Web Applications
« Reply #2 on: October 25, 2009, 08:18:50 PM »
Quote from: LordDarkman on October 25, 2009, 07:06:30 PM
Nice Solution with the 2 menus. How You did this?

Yeah, and what template did you use?

Grtz,
Luc
Logged

Offline cito

  • Posts: 5
Re: Compact Web Applications
« Reply #3 on: October 25, 2009, 09:23:30 PM »
It's a very simple custom template designed only for this website. The main menu is displayed with show_menu(1,0,1), the submenu with show_menu(1,1,1) inside its own div, the rest is CSS.
Logged

LordDarkman

  • Guest
Re: Compact Web Applications
« Reply #4 on: October 25, 2009, 11:34:27 PM »
Easy but great solution. I was first thinking about global block, some if clause or something else...

Really like it and thanks for the solution.

CU Moritz
Logged

Offline cito

  • Posts: 5
Re: Compact Web Applications
« Reply #5 on: October 26, 2009, 06:47:29 PM »
Since somebdoy requested the template code for the navigation section, I decided to make it public here. But please don't copy our complete corporate design 1:1 for your own homepage...

So here is the relevant section from the index.php file:

Code: [Select]
<div id="navigation">
<div id="mainnavigation">
<?php show_menu(1,0,1); ?>
</div>
<?php ob_start();
show_menu(1,1,1);
$submenu=ob_get_contents();
ob_end_clean();
if (
$submenu<>"") {
  echo &
#39;<div id="subnavigation">&#39;;
  
echo $submenu;
  echo &
#39;</div>&#39;;
} ?>

</div>
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • WebsiteBaker Website Showcase »
  • Compact Web Applications
 

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