1 joachim Aug 22, 2006 16:26
3 joachim Aug 22, 2006 19:47
sorry for posting in the wrong thread.
anyway this rotation already worked in my skin @ version 0.9.2 and it also works in version 1.8 but I with a "bad" border see URL http://www.snigles.de and a a grey line under the header
<?php if( $disp != 'single' ) {
echo '<div id="wrapper">';
} else {
echo '<div id="wrapperWide">';
}
?>
<div id="header">
<?
srand(microtime()*1000000);
$bild= rand(1,25);
?>
<img src="http://www.snigles.de/skins/kubrick2evo/img/header/<? echo $bild; ?>.jpg" alt="Die grosse Blog-Community. Blog, Blogger, Blogs" width="760" height="200"></a>
</div>
<div align="center">
<center>
<table border="0" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111" width="727" id="AutoNumber3">
<tr>
<td>
<img border="0" src="http://www.snigles.de/img/werbung.gif" width="9" height="60"></td>
<td>
<?php
if (@include(getenv('DOCUMENT_ROOT').'/ads/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('', 2, '_blank', '', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>
</td>
<td>
<?php
if (@include(getenv('DOCUMENT_ROOT').'/ads/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('', 4, '_blank', '', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>
</td>
</tr>
</table>
</center>
</div>
maybe something to change in kubrick2evo.css?
so long
joachim
4 edb Aug 22, 2006 23:41
Or maybe your _main.php is the issue? Your page doesn't allow skin switching and the default skin is nifty_corners, but changing it myself then checking validation of xhtml gave me a handful of errors. I therefore could not test the style sheet. If it was me I'd start by cleaning up the validation issues, as it is likely that will eventually make the visual problem go away.
The problem is different in FF, and doesn't show up here: http://wonderwinds.com/18demo/index.php?blog=1&skin=Kubrick2evo
5 joachim Aug 23, 2006 06:59
ups sorry edb. I changed it to kubrick2evo with rotation now.
see the grey line under the header :( it is a little bit longer than the template (760 px)
also get a layout problem when I click to permalink example http://www.snigles.de/index.php/2006/07/13/vorlesung :'(
6 yabba Aug 23, 2006 11:25
joachim wrote:
also get a layout problem when I click to permalink example http://www.snigles.de/index.php/2006/07/13/vorlesung :'(
Assuming you're on about your textarea, add this to the end of your css
#p{
width:28em;
}
¥
7 joachim Aug 23, 2006 11:37
@ ¥åßßå:
this:
#p{
width:28em;
}
helped :o
wondering where my navigation is gone in the permalink ???? http://www.snigles.de/index.php/2006/07/13/vorlesung
8 yabba Aug 23, 2006 11:47
Which navigation do you mean?
¥
9 joachim Aug 23, 2006 11:57
the complete navigation of the sidebar is gone when you click to the permalink
10 yabba Aug 23, 2006 11:59
Ahh, that would appear to be a skin feature?
¥
11 joachim Aug 23, 2006 14:17
found this thread http://forums.b2evolution.net/viewtopic.php?t=3127 :)
sidebar is always there :)
only this small grey line under the header makes me crazy :(
12 yabba Aug 24, 2006 07:30
<div id="header"><a href="/"><img src="img/header/8.jpg" alt="Die grosse Blog-Community. Blog, Blogger, Blogs" width="760" height="200"></a></div>
;)
¥
13 joachim Aug 24, 2006 08:49
<div id="header"><a href="/"><img src="img/header/8.jpg" alt="Die grosse Blog-Community. Blog, Blogger, Blogs" width="760" height="200"></a></div>
this shows only header 8.jpg
I want to rotate my headers and it already works but I do not want to see this grey line under the header >:( [/quote]
14 yabba Aug 24, 2006 09:12
Your problem is that your <div><img><div> should all be on one line, so you need to amend your php to suit :-
<?
srand(microtime()*1000000);
$bild= rand(1,25);
?>
<div id="header"><a href="/"><img src="http://www.snigles.de/skins/kubrick2evo/img/header/<? echo $bild; ?>.jpg" alt="Die grosse Blog-Community. Blog, Blogger, Blogs" width="760" height="200"></a></div>
¥
15 joachim Aug 24, 2006 14:10
¥åßßå that´s great!!! thanks a lot! :o
16 yabba Aug 24, 2006 16:17
No problem ;)
¥
I split this into a new topic because it deals with an issue specific to your skin. A tidy forum is a happy forum!
That file is called by the style sheet as a background image. There may be other ways, but the only way I can think of to change it is to do a random and call different style sheets in the header.