Forums / Cotonti / Support / Non standard header

Pablo 92
#1 2009-07-29 20:09
hello. I changed my header image. Now i have bigger image tham standard. Background it's ok, but the menu links be in center of banner. How change it? My site:
www.slrrmods.hoxt.me
Sorry for my bad ENG ^^

Dit bericht is bewerkt door Pablo 92 (2009-07-30 21:08, 14 jaren ago)
musiconly
#2 2009-07-29 20:47
sed-dark.css

find:
#header #navBar { width:800px; height:30px; margin-top:1px; }

change to:

#header #navBar { width:800px; height:30px; margin-top:130px; }

ok?
Pablo 92
#3 2009-07-30 01:57
now is ok :) thx :) I have one question:
What i must modify to have header in php??
Sorry for my bad ENG ^^
pieter
#4 2009-07-30 02:21
What do you mean, can you explain what you mean?
... can we help you ...
musiconly
#5 2009-07-30 03:17
# Pablo 92 : now is ok :) thx :) I have one question:
What i must modify to have header in php??

You want to insert PHP code in header.tpl?
Pablo 92
#6 2009-07-30 06:57
yes, i want insert php with picture rotator in header
Sorry for my bad ENG ^^
pieter
#7 2009-07-30 14:17
Pablo 92
#8 2009-07-30 15:52
Pieter but i don't want rotate whole banner. I want have in header small image rotator in php. Look:
Sorry for my bad ENG ^^
Dave
#9 2009-07-30 16:12
pablo napisz po polsku a ja postaram sie przetlumaczyc


ill try to translate what he means... imo simply he wants rotate banner
Your advertisement here :-)

Cotonti Genoa based site: forgotten-garage.pl
Pablo 92
#10 2009-07-30 16:30
Cieszę się że jest jakiś polak :) Gadanie po angielsku słabo mi idzie.

Chciałbym aby cały header był w php, ponieważ chcę zakodować banner tak, aby wstawić rotator bannerów w php. Nie chcę aby cały banner sie zmieniał, a jedynie ten obrazek zaznaczony na zdjęciu które dałem wyżej. Cięzko to wytłumaczyć :D Najlepiej jakby wstawić ramki do headera, wstawić w jednej części obrazek, a druga strona to własnie rotator z tłem takim jak tło strony. Troche kombinacji, lecz w php-fusion udało mi się to zrobić
Sorry for my bad ENG ^^
pieter
#11 2009-07-30 16:36
banner rotate rotates some images you specify.
It is not needed to rotate the whole banner.
You can choose which pictures need to be rotating.
You only need to make a box where you want to add the rotating images.
In this box you place the TAG for the bannerrotate plugin.
You can call it a picture rotate plugin. If just rotates pictures on page-refresh.
... can we help you ...
Dave
#12 2009-07-30 18:23
pieter saves the day, pablo its ur answer from him
Your advertisement here :-)

Cotonti Genoa based site: forgotten-garage.pl
Pablo 92
#13 2009-07-30 20:34
Yes, i Done it! I add to header.tpl java script. All works! :)
Header:
<!-- BEGIN: HEADER -->
{HEADER_DOCTYPE}
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="content-type" content="{HEADER_META_CONTENTTYPE}; charset={HEADER_META_CHARSET}" />
<meta name="description" content="{HEADER_META_DESCRIPTION}" />
<meta name="keywords" content="{HEADER_META_KEYWORDS}" />
<meta name="generator" content="Cotonti http://www.cotonti.com" />
<meta http-equiv="expires" content="Fri, Apr 01 1974 00:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="last-modified" content="{HEADER_META_LASTMODIFIED} GMT" />
{HEADER_HEAD}
{HEADER_BASEHREF}
<link rel="shortcut icon" href="favicon.ico" />
<link href="skins/{PHP.skin}/{PHP.theme}.css" type="text/css" rel="stylesheet" />
{HEADER_COMPOPUP}
<title>{HEADER_TITLE}</title>
</head>
<!-- SED-Dark / Designed By: Xiode - XiodeStudios.Com & Alx - AlxDesign.com / Programming By: Xiode - 

XiodeStudios.Com -->
<!-- Copyright (c) XiodeStudios.Com. All Rights Reserved. Please read included Readme for more information. -->
<body>

    <div id="top">
        <div id="container">
            <div id="header">
                <div id="userBar">

<br> 
<script type="text/javascript">
// <![CDATA[
Array.prototype.random = function(limit)
{
	if (typeof limit == 'undefined' || limit < 0) limit = 1;
	else if (!limit) limit = this.length;
	for (var i = 0, source = this, target = new Array(), n = source.length; i < limit && n > 0; i++)
	{
		do { var index = Math.random(); } while (index == 1);
		index = Math.floor(index * n);
		target.push(source[index]);
		source[index] = source[--n];
	}
	return target;
}

document.write(new Array(
// Tu wpisz kolejne elementy:

'<img width="300" height="150" src="http://img200.imageshack.us/img200/6392/polonezb.jpg">',
'<img width="300" height="150" src="http://img405.imageshack.us/img405/9716/cabriowagen.jpg">'

).random().join(''));
// ]]>
</script> 

                </div>
                <div id="navBar">
                    <div class="text">{PHP.cfg.menu1}</div>
                    <div class="homeLink"><a href="{PHP.cfg.mainurl}" title="{PHP.L.Home}">{PHP.L.Home}</a></div>
                </div>
            </div>
            <div id="content">
            
<!-- END: HEADER -->

My site:
www.slrrmods.hoxt.me
Sorry for my bad ENG ^^