[Pmwiki-users] show style for right box
Hans Bracker
design
Wed Jan 19 08:20:06 CST 2005
For my new Gemini Two skin Opera7 and Netscape7 do not include into
the <!--HeaderText--> sections a css code line
#rightbar { background:#dfefff;}
which should be picked up from skin.php through this code:
## style rightbar box if not empty:
global $HTMLStylesFmt;
$rpage = ReadPage(FmtPageName('$Group.RightBar', $pagename));
if ($rpage['text'] == '') $rpage = ReadPage('Main.RightBar');
if ($rpage['text'] > '') {
if ($sc == 'blue') {$HTMLStylesFmt[] = "#rightbar { background:#dfefff;}\n"; }
elseif ($sc == 'lavender') {$HTMLStylesFmt[] = "#rightbar { background:#f0e3ff;}\n"; }
elseif ($sc == 'comic') {$HTMLStylesFmt[] = "#rightbar { background:#FDEDD8;}\n"; }
};
IE6 and Firefox pick this up fine and display the background color,
whereas the Netscape and opera do not, the code is not there looking
at the page source.
what is going wrong?
Best,
Hans
More information about the pmwiki-users
mailing list