leahcim_dach wrote:
[code
Thanks Chad, the problem is where exactly I have to put this code (of course code which suits to my flash...) because I don't want to replace a logo which should be on the left top corner but picture which name is
header1.jpg. Here is my index.php:
Code:
";*/
global $ja_color_themes, $ja_header_images, $ja_width_default, $ja_color_default, $ja_font_size_default, $ja_tool, $ja_menutype, $ja_template_path, $ja_template_absolute_path, $ja_headerimg, $ja_color, $ja_width, $ja_font_size, $ja_template_name;
global $jaMainmenuLastItemActive;
$jaMainmenuLastItemActive = false;
$ja_template_name = 'ja_mageia';
# BEGIN: TEMPLATE CONFIGURATIONS ##########
####################################
#support extra color themes
$ja_color_themes = array('default','red','orange','cyan'); // You can add more color array if needed
$ja_header_images_wide = array ('header1.jpg','header2.jpg','header3.jpg','header4.jpg','header5.jpg');
$ja_header_images_narrow = array ('header1-n.jpg','header2-n.jpg','header3-n.jpg','header4-n.jpg','header5-n.jpg');
####################################
# Change the width of the template
$ja_width_default = 'wide'; // 'narrow': 800x600; 'wide': 1024x768
# default color
$ja_color_default = 'default'; //blank for default, else pick one of in extra color themes $ja_color_themes
#font size default
$ja_font_size_default = 3;
# Enable users option
$ja_tool = 0; // 0: 0: disable all; 1: Screen tool; 2: font tool; 3: screen + font; 4: color tool; 5: screen + color; 6: font + color; 7: all;
# Choose your prefer Menu Type
$ja_menutype = 4; // 1: Split Menu; 2: Son of Suckerfish Dropdown Menu; 3: Transmenu; 4: Moomenu
# END: TEMPLATE CONFIGURATIONS ##########
# Define the template path ##########
$ja_template_path = $mosConfig_live_site.'/templates/'.$ja_template_name;
$ja_template_absolute_path = $mosConfig_absolute_path.'/templates/'.$ja_template_name;
include ($ja_template_absolute_path."/ja_templatetools.php");
$topnav = "";
$subnav = "";
if ($ja_menutype == 1) {
require($ja_template_absolute_path."/ja_splitmenu.php");
$subnav = $jasplmenu->hasSubMenu (1);
}
# Auto Collapse Divs Functions ##########
$ja_left = mosCountModules('left') || ($ja_menutype == 1 && $jasplmenu->hasSubMenu (2));
$ja_right = mosCountModules('right');
if ( $ja_left && $ja_right ) {
$divid = '';
} elseif ( $ja_left ) {
$divid = '-fr';
} elseif ( $ja_right ) {
$divid = '-fl';
} else {
$divid = '-f';
}
$curidx = getCurrentMenuIndex();
if ($curidx) $curidx--;
$ja_header_img = 'header.jpg';
$ja_header_images = ($ja_width=='narrow')? $ja_header_images_narrow:$ja_header_images_wide;
if (count($ja_header_images)) {
$curidx = $curidx % count($ja_header_images);
$ja_header_img = $ja_header_images[$curidx];
}
$msie='/msie\s(5\.[5-9]|[6]\.[0-9]*).*(win)/i';
$supported_browsers = !isset($_SERVER['HTTP_USER_AGENT']) ||
!preg_match($msie,$_SERVER['HTTP_USER_AGENT']) ||
preg_match('/opera/i',$_SERVER['HTTP_USER_AGENT']);
?>
" />
/css/template_css.css" rel="stylesheet" type="text/css" />
/scripts/ja.script.js">
id ) { initEditor(); } ?>
.clearfix {height: 1%;}
#ja-pathwaywrap {
background: none;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/opaque-.png',sizingMethod='scale');
}
.clearfix {display: inline-block;}
/css/colors/.css" rel="stylesheet" type="text/css" />
">
#ja-content" title="Skip to content">Skip to content
#ja-mainnav" title="">Skip to main navigation
#ja-col1" title="">Skip to 1st column
#ja-col2" title="">Skip to 2nd column
genMenu (0);
break;
case 2:
case 4:
include($ja_template_absolute_path."/ja_cssmenu.php");
break;
case 3:
echo "";
include($ja_template_absolute_path."/ja_transmenu.php");
echo "";
break;
}
?>
) no-repeat top right;">
">
">
tyle="width: ;">
" style="width: ;">
hasSubMenu (1)) {
echo '';
echo ''.$jasplmenu->getParentText (1).' Menu';
$jasplmenu->genMenu (1);
echo '';
} ?>
#Top" title="Go to top" style="text-decoration: none;">/images/top.gif" title="Goto top" alt="Goto top" />