Finetuning for Navigation

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
Post Reply
Marcel
Posts: 80
Joined: Sat 8. Jan 2005, 13:07

Finetuning for Navigation

Post by Marcel »

Hello

I've got problems with my navigation.

Image

The left screenshot shows the status quo, the right one shows how it should be (photoshop simulation) ;-)

Can anyone help me. Some people recommended "hack css" but i don't get how to do that.

Here's my conf.template_default.inc.php

// navigation table defaults
$template_default["nav_table_struct"]["table_border"] = "0";
$template_default["nav_table_struct"]["table_width"] = "100%";
$template_default["nav_table_struct"]["table_height"] = "";
$template_default["nav_table_struct"]["table_bgcolor"] = "#FFFFFF";
$template_default["nav_table_struct"]["table_bgimage"] = "";
$template_default["nav_table_struct"]["table_class"] = "";
$template_default["nav_table_struct"]["table_cspace"] = "0";
$template_default["nav_table_struct"]["table_cpad"] = "0";
//
$template_default["nav_table_struct"]["space_width"] = 0;
$template_default["nav_table_struct"]["space_left"] = 10;
$template_default["nav_table_struct"]["space_right"] = 10;
$template_default["nav_table_struct"]["space_celltop"] = 2;
$template_default["nav_table_struct"]["space_cellbottom"] = 2;
//
$template_default["nav_table_struct"]["cell_width"] = "100%";
$template_default["nav_table_struct"]["cell_height"] = "15";
$template_default["nav_table_struct"]["cell_bgcolor"] = "#FFFFFF";
$template_default["nav_table_struct"]["cell_bgimage"] = "";
$template_default["nav_table_struct"]["cell_class"] = "nav_table";
//
$template_default["nav_table_struct"]["cell_active_width"] = "100%";
$template_default["nav_table_struct"]["cell_active_height"] = "15";
$template_default["nav_table_struct"]["cell_active_bgcolor"] = "#FFFFFF";
$template_default["nav_table_struct"]["cell_active_bgimage"] = "";
$template_default["nav_table_struct"]["cell_active_class"] = "nav_table_active";
//
$template_default["nav_table_struct"]["js_over_effects"] = 1;
//
$template_default["nav_table_struct"]["linkimage_norm"] = '<img src="img/article/nav_link_0.gif" alt="" border="">';
$template_default["nav_table_struct"]["linkimage_over"] = '<img src="img/article/nav_link_1.gif" alt="" border="">';
$template_default["nav_table_struct"]["linkimage_active"] = '<img src="img/article/nav_link_2.gif" alt="" border="">';
//
$template_default["nav_table_struct"]["row_norm_bgcolor"] = "#FFFFFF";
$template_default["nav_table_struct"]["row_norm_bgimage"] = "";
$template_default["nav_table_struct"]["row_norm_class"] = "";
//
$template_default["nav_table_struct"]["row_over_bgcolor"] = "#FFFFFF"; //#AAB7C1
$template_default["nav_table_struct"]["row_active_bgcolor"] = "#FFFFFF";
$template_default["nav_table_struct"]["row_active_bgimage"] = "";
$template_default["nav_table_struct"]["row_active_class"] = "";
//
$template_default["nav_table_struct"]["row_space"] = 1;
$template_default["nav_table_struct"]["row_space_bgcolor"] = "#CCCCCC";


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

Post by pico »

Hi

enlarge your Bullet-Image more in the width with transparency
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

Hi Marcel,

like i told use transparent space for adding higher optical values.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
User avatar
Rainer G
Posts: 377
Joined: Wed 16. Feb 2005, 10:26
Location: Hannover - Germany
Contact:

Post by Rainer G »

Play with this parameter:

Code: Select all

$template_default["nav_table_struct"]["space_left"] = 10; 
Set the space_left = 0 - i think that is what you want.
Post Reply