Parašė betmenas· 2009 Rugp. 3 13:08:56
#1
Laba. Susidūriau su tokia problema, kad firefoxas nerodo headerio. IE ir Opera normaliai parodo svetainę, o užėjus į ją per firefox headerio nėra. Headerio kodas toks :
function render_header() {
global $theme_width, $rtNavbar, $rtHeader, $settings;
if ((isset($rtHeader['logo_url'])) && (!empty($rtHeader['logo_url'])))
$url = $rtHeader['logo_url'];
else
$url = false;
if ((isset($rtHeader['logo_url_title'])) && (!empty($rtHeader['logo_url_title'])))
$title = $rtHeader['logo_url_title'];
else
$title = false;
echo "<script language='javascript' src='".THEME."includes/revision.js' type='text/javascript'></script>\n"
."<table align='center' border='0' cellpadding='0' cellspacing='0' width='920'>\n"
."<tr><td class='pageLeft'></td><td width='100%' class='pageCenter' valign='top'>\n"
."<table border='0' cellpadding='0' cellspacing='0' id='header' width='100%'><tr>\n"
."".($title ? " alt='".$title."'" : " ")."
<param name='movie' value='http://www.saulessmiltys.lt/themes/Dominus/headeris.swf'>
<embed src='http://www.saulessmiltys.lt/themes/Dominus/headeris.swf' width='920' height='280'>
</embed></a>".($title ? " title='".$title."'" : "").""
.($url ? "</a>" : "")
.((isset($rtHeader['slogan']) && !empty($rtHeader['slogan'])) ? "<br><span class='slogan'>".$rtHeader['slogan']."</span>" : "")."</td>\n";
echo "</tr></table>\n";
$rtNavbar->generate();
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>\n";
}
O pati svetainė saulessmiltys.lt/news.php
Dėkui už pagalbą. :)
Redagavo betmenas· 2009 Rugp. 14 16:08:31
Parašė And2s· 2009 Rugp. 3 13:08:09
#2
function render_header() {
global $theme_width, $rtNavbar, $rtHeader, $settings;
if ((isset($rtHeader['logo_url'])) && (!empty($rtHeader['logo_url'])))
$url = $rtHeader['logo_url'];
else
$url = false;
if ((isset($rtHeader['logo_url_title'])) && (!empty($rtHeader['logo_url_title'])))
$title = $rtHeader['logo_url_title'];
else
$title = false;
echo "<script language='javascript' src='".THEME."includes/revision.js' type='text/javascript'></script>\n"
."<table align='center' border='0' cellpadding='0' cellspacing='0' width='920'>\n"
."<tr><td class='pageLeft'></td><td width='100%' class='pageCenter' valign='top'>\n"
."<table border='0' cellpadding='0' cellspacing='0' id='header' width='100%'><tr>\n"
."".($title ? " alt='".$title."'" : " ")."
<object width=\"920\" height=\"280\">
<param name=\"movie\" value=\"http://www.saulessmiltys.lt/themes/Dominus/headeris.swf\">
<embed src=\"http://www.saulessmiltys.lt/themes/Dominus/headeris.swf\" width=\"920\" height=\"280\">
</embed>
</object>
</a>".($title ? " title='".$title."'" : "").""
.($url ? "</a>" : "")
.((isset($rtHeader['slogan']) && !empty($rtHeader['slogan'])) ? "<br><span class='slogan'>".$rtHeader['slogan']."</span>" : "")."</td>\n";
echo "</tr></table>\n";
$rtNavbar->generate();
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>\n";
}