unterschiedliche darstellung der navigation

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
hofisoft
Posts: 23
Joined: Sat 10. Apr 2004, 00:17

unterschiedliche darstellung der navigation

Post by hofisoft »

Also ich versuche derzeit irgendwie ein interface einzufriemeln was auch die darstellung der navigation betrifft.
Habs dann irgendwie hinbekommen das es im IE so angezeigt wird wie ich mir das vorstelle, nur beim firefox passts überhaupt ned.
Hab ich da irgendwo nen denkfehler drin ?

hier ie:
Image


und hier die darstellung beim firefox:
Image


und hier der teil aus conf.template_default.inc.php:

Code: Select all

<?php
// predefine the default article/content values like space holder images, classes and so on

// simple navigation table defaults
$template_default["nav_table_simple_struct"]["width"]		= "100%";
$template_default["nav_table_simple_struct"]["border"]		= "0";
$template_default["nav_table_simple_struct"]["cellpadding"]	= "0";
$template_default["nav_table_simple_struct"]["cellspacing"]	= "0";

// row based navigation
$template_default["nav_row"]["before"]				= '';
$template_default["nav_row"]["after"]				= '';
$template_default["nav_row"]["between"]				= ' | ';
$template_default["nav_row"]["link_before"]			= '';
$template_default["nav_row"]["link_after"]			= '';
$template_default["nav_row"]["link_before_active"]	= '<span style="text-decoration:none;font-weight:bold;">';
$template_default["nav_row"]["link_after_active"]	= '</span>';

// 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"]			= "15";
$template_default["nav_table_struct"]["table_bgcolor"]			= "";
$template_default["nav_table_struct"]["table_bgimage"]			= "img/article/button.jpg";
$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"]			= 10;
$template_default["nav_table_struct"]["space_left"]				= 70;
$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"]			= "";
$template_default["nav_table_struct"]["cell_bgcolor"]			= "";
$template_default["nav_table_struct"]["cell_bgimage"]			= "";
$template_default["nav_table_struct"]["cell_class"]				= "nav_table";
//
$template_default["nav_table_struct"]["cell_active_width"]		= "";
$template_default["nav_table_struct"]["cell_active_height"]		= "";
$template_default["nav_table_struct"]["cell_active_bgcolor"]	= "";
$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/article/nav_link_0.gif";
$template_default["nav_table_struct"]["linkimage_over"]			= "img/article/nav_link_1.gif";
$template_default["nav_table_struct"]["linkimage_active"]		= "img/article/nav_link_2.gif";
//
$template_default["nav_table_struct"]["row_norm_bgcolor"]		= ""; // #D9DEE3
$template_default["nav_table_struct"]["row_norm_bgimage"]		= "img/article/button.jpg";
$template_default["nav_table_struct"]["row_norm_class"]			= "";
//	
$template_default["nav_table_struct"]["row_over_bgcolor"]		= ""; //#AAB7C1  #D3ED7D
$template_default["nav_table_struct"]["row_active_bgcolor"]		= ""; // #FFFFFF
$template_default["nav_table_struct"]["row_active_bgimage"]		= "img/article/button.jpg";
$template_default["nav_table_struct"]["row_active_class"]		= "";
//
$template_default["nav_table_struct"]["row_space"]				= 0;
$template_default["nav_table_struct"]["row_space_bgcolor"]		= ""; // #4A5966

// article listing with summary ...............................
vieleicht weis einer ne idee warum das unterschiedlich dargestellt wird


mfg hofisoft
Pappnase

Post by Pappnase »

hallo

mal ne dumme frage hast du die navi links noch in eine tabelle gemacht!? vielleicht ist da was was firefox nicht mag! :cry: hast du anderen browser auch schon probiert!?
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

would you post the template code you used surroundign the {NAV_TABLE..}
hofisoft
Posts: 23
Joined: Sat 10. Apr 2004, 00:17

Post by hofisoft »

also in der vorlage is keine tabelle:
Image


die einzige tabelle is im layout:

Image
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Probiere es einfach mal ohne die Navigation. Möglicherweise solltest Du Deine Hintergrund-Tabelle mit fixen Breiten ausstatten.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

Code: Select all

$template_default["nav_table_struct"]["table_width"]         = "100%";
maybe you should give this a pixel value to force the width
hofisoft
Posts: 23
Joined: Sat 10. Apr 2004, 00:17

Re: unterschiedliche darstellung der navigation

Post by hofisoft »

hab den fehler gefunden, alles paletti :D
hofisoft wrote:......

Code: Select all

<?php
// predefine the default article/content values like space holder images, classes and so on

// simple navigation table defaults
$template_default["nav_table_simple_struct"]["width"]		= "100%"; <- hab hier auf 200 pixel geändert
$template_default["nav_table_simple_struct"]["border"]		= "0";
$template_default["nav_table_simple_struct"]["cellpadding"]	= "0";
$template_default["nav_table_simple_struct"]["cellspacing"]	= "0";

// row based navigation
$template_default["nav_row"]["before"]				= '';
$template_default["nav_row"]["after"]				= '';
$template_default["nav_row"]["between"]				= ' | ';
$template_default["nav_row"]["link_before"]			= '';
$template_default["nav_row"]["link_after"]			= '';
$template_default["nav_row"]["link_before_active"]	= '<span style="text-decoration:none;font-weight:bold;">';
$template_default["nav_row"]["link_after_active"]	= '</span>';

// navigation table defaults
$template_default["nav_table_struct"]["table_border"]			= "0";
$template_default["nav_table_struct"]["table_width"]			= "100%"; <- hier auch auf 200 pixel
$template_default["nav_table_struct"]["table_height"]			= "15";
$template_default["nav_table_struct"]["table_bgcolor"]			= "";
$template_default["nav_table_struct"]["table_bgimage"]			= "img/article/button.jpg";
$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"]			= 10;
$template_default["nav_table_struct"]["space_left"]				= 70;
$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"]			= "";
$template_default["nav_table_struct"]["cell_bgcolor"]			= "";
$template_default["nav_table_struct"]["cell_bgimage"]			= "";
$template_default["nav_table_struct"]["cell_class"]				= "nav_table";
//
$template_default["nav_table_struct"]["cell_active_width"]		= "";
$template_default["nav_table_struct"]["cell_active_height"]		= "";
$template_default["nav_table_struct"]["cell_active_bgcolor"]	= "";
$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/article/nav_link_0.gif";
$template_default["nav_table_struct"]["linkimage_over"]			= "img/article/nav_link_1.gif";
$template_default["nav_table_struct"]["linkimage_active"]		= "img/article/nav_link_2.gif";
//
$template_default["nav_table_struct"]["row_norm_bgcolor"]		= ""; // #D9DEE3
$template_default["nav_table_struct"]["row_norm_bgimage"]		= "img/article/button.jpg"; <- diesen eintrag leer gemacht
$template_default["nav_table_struct"]["row_norm_class"]			= "";
//	
$template_default["nav_table_struct"]["row_over_bgcolor"]		= ""; //#AAB7C1  #D3ED7D
$template_default["nav_table_struct"]["row_active_bgcolor"]		= ""; // #FFFFFF
$template_default["nav_table_struct"]["row_active_bgimage"]		= "img/article/button.jpg"; <- und diesen hier auch gelöscht
$template_default["nav_table_struct"]["row_active_class"]		= "";
//
$template_default["nav_table_struct"]["row_space"]				= 0;
$template_default["nav_table_struct"]["row_space_bgcolor"]		= ""; // #4A5966

// article listing with summary ...............................
zumindest stellt firefox jetzt richtig dar :)
Thxs für die hilfe


mfg hofisoft
Post Reply