Fork me on GitHub






Deplacer baniere de pub
Aspirant
Inscrit: 14/05/2006 15:28
Messages: 45
Salut ,
Alors Je voudrais savoir comment faire pour deplacer ma banniere de pub sur mon header Comme sur ce site :D

j'ai essayer d'inséré un header long comme ca ----------------------------------------------> lol mais ca a pas marché ( Mon site )

Merci ;)

Posté le : 16/08/2006 03:51
Partager Twitter Partagez cette article sur GG+
Re: Deplacer baniere de pub
Aspirant
Inscrit: 13/09/2005 20:38
De Tanger
Messages: 80
dans ton theme.html, cherche

<{$xoops_banner}>


et déplace-le où tu veux

@+

Posté le : 16/08/2006 09:54
Partager Twitter Partagez cette article sur GG+
Re: Deplacer baniere de pub
Aspirant
Inscrit: 14/05/2006 15:28
Messages: 45
Salut,
j'arrive tjs pas :X est ce que vous pouvez me faire ca ?!

voila le fichier Theme.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">

<head>
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<meta name="robots" content="<{$xoops_meta_robots}>" />
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="RB" />
<meta name="copyright" content="http://singchi.no-ip.com/hack/" />
<meta name="generator" content="Microsoft FrontPage 5.0" />
<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />

<script type="text/javascript">
<!--
<{$xoops_js}>
//-->
</script>

<script type="text/javascript">
<!--

var getById = (typeof document.getElementById != "undefined");

function toggleDisplay(obj,display1,display2){

if(!getById) return;

obj = getRef(obj);

if(obj.style.display == display2)
obj.style.display = display1;
else
obj.style.display = display2;

repaintFix();
}

function getRef(obj){
if(getById)
return(typeof obj == "string") ? document.getElementById(obj) : obj;
}

function repaintFix(obj){

if("undefined" == typeof document.body
|| "undefined" == typeof document.body.style) return;

if(obj == null)
obj == document.body;
else obj = getRef(obj);

document.body.style.visibility = "hidden";
document.body.style.visibility = "visible";
}


//-->
</script>

</head>
<body>
<table cellspacing="0" cellpadding="0" class="bg">
<tr><td>

<table cellspacing="0" cellpadding="0" class="bg1" border="0" >
<tr><td class="header" width=249 hight=59>
<img src="<{$xoops_url}>/themes/<{$xoops_theme}>/images/logo.jpg"></a>
</td>
<td class="banner"><{$xoops_banner}></td>
</tr></table><br>
</td>
</tr>
<tr>
<td>

<!-- Start Headerbar -->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="10">
<img src="<{$xoops_imageurl}>images/hbar_left.gif" width="10" height="25" alt="°Ï¶ô¤Á´«" />
</td>
<td>
<img src="<{$xoops_imageurl}>images/swich.gif" width="25" height="25" alt="ÁôÂÃ/Åã²{¥ª°Ï¶ô" class="pointer" onclick="toggleDisplay('left','block','none')" />
</td>
<td width="100%" class="topnav">
<!-- navibar set -->
<a href="<{$xoops_url}>/">Accueil</a>
&nbsp;•&nbsp;
<a href="<{$xoops_url}>/modules/news/">News</a>
&nbsp;•&nbsp;
<a href="<{$xoops_url}>/modules/newbb/">Forum</a>
&nbsp;•&nbsp;
<a href="<{$xoops_url}>/modules/wmpdownloads/">Telechergement</a>
&nbsp;•&nbsp;
<a href="<{$xoops_url}>/search.php">Recherche</a>
&nbsp;•&nbsp;
<a href="<{$xoops_url}>/modules/contact/">Contactez-nous</a>
</td>
<td>
<{if $xoops_showrblock == 1}>
<img src="<{$xoops_imageurl}>images/swich.gif" width="25" height="25" alt="ÁôÂÃ/Åã²{¥k°Ï¶ô" class="pointer" onclick="toggleDisplay('right','block','none')" />
<{/if}>
<{if $xoops_showrblock == 0}>
<img src="<{$xoops_imageurl}>images/swi_off.gif" width="25" height="25" alt="°Ï¶ô¤Á´«" alt="block control" />
<{/if}>
</td>
<td width="10">
<img src="<{$xoops_imageurl}>images/hbar_right.gif" width="10" height="25" alt="" />
</td>
</tr>
</table>
<!-- End Headerbar -->



</td></tr>

<tr><td><br>
<table cellspacing="2" cellpadding="2"><tr><td id="left" width=170>

<!-- Start left blocks loop -->

<{foreach item=block from=$xoops_lblocks}>
<table class="outline"><tr><td>

<table cellspacing="0" cellpadding="2">
<tr><td class="blockTitle2">&nbsp;<{$block.title}></td></tr>
<tr><td class="blockContent"><{$block.content}>
</td></tr></table>

</td></tr></table><br>

<{/foreach}>

<!-- End left blocks loop -->

</td>
<td style="padding: 0px 5px 0px;">

<!-- Display center blocks if any -->

<{if $xoops_showcblock == 1}>
<table cellspacing="0">
<tr><td width="100%" colspan="2">
<!-- Start center-center blocks loop -->

<{foreach item=block from=$xoops_ccblocks}>
<table class="outline"><tr><td>


<table cellspacing="1" cellpadding="5">
<tr><td class="blockTitle">&nbsp;<{$block.title}></td></tr>
<tr><td class="blockContent"><{$block.content}></td></tr></table>
</td></tr></table><br />
<{/foreach}>

<!-- End center-center blocks loop -->

</td></tr>
<tr><td width="50%">

<!-- Start center-left blocks loop -->

<{foreach item=block from=$xoops_clblocks}>
<table class="outline"><tr><td>
<table cellspacing="1" cellpadding="5">
<tr> <td class="blockTitle">&nbsp;<{$block.title}></td></tr>
<tr><td class="blockContent"><{$block.content}></td></tr></table>
</td></tr></table><br />
<{/foreach}>

<!-- End center-left blocks loop -->

</td><td width="50%">

<!-- Start center-right blocks loop -->

<{foreach item=block from=$xoops_crblocks}>
<table class="outline"><tr><td>

<table cellspacing="1" cellpadding="5">
<tr> <td class="blockTitle">&nbsp;<{$block.title}></td></tr>
<tr><td class="blockContent"><{$block.content}></td></tr></table>
</td></tr></table><br />
<{/foreach}>

<!-- End center-right blocks loop -->

</td></tr></table>
<{/if}>

<!-- End display center blocks -->

<div id="content"><{$xoops_contents}></div></td>
<{if $xoops_showrblock == 1}>
<td id="right" width=160 align=center>

<!-- Start right blocks loop -->

<{foreach item=block from=$xoops_rblocks}>
<table class="outline"><tr><td id="right">

<table cellspacing="0" cellpadding="2">
<tr><td class="blockTitle2">&nbsp;<{$block.title}></td></tr>
<tr><td class="blockContent"><{$block.content}></td></tr></table>

</td></tr></table><br>

<{/foreach}>


<!-- End right blocks loop -->

<{/if}></td></tr></table>
</td></tr>
</table>

<table border=0 cellpadding=0 cellspacing=0>
<tr><td class="blockTitle3 height="30" valign="middle" align="center">
<div style="text-align: center; padding-top: 2px; font-size: 10px"><{$xoops_footer}><br>
Theme Par GO3LIN® </div>
</td></tr>
</table>

</body>
</html>

Merci ;)

Posté le : 16/08/2006 11:42
Partager Twitter Partagez cette article sur GG+
Re: Deplacer baniere de pub
Régulier
Inscrit: 27/02/2005 12:24
De longwy(54)
Messages: 425
c'est cette ligne que tu doit recuperer et modifier

<td class="banner" valign="top"><{$xoops_banner}></td>

et on peut pas t'aider puisquere on ne sait pas ou tu veut la placer

Posté le : 16/08/2006 12:27

Marre des sites de rencontre payants? alors vient t'inscrire sur I seek you
http://www.iseekyou.fr
Open in new window
Partager Twitter Partagez cette article sur GG+
Re: Deplacer baniere de pub
Aspirant
Inscrit: 14/05/2006 15:28
Messages: 45
et j'ai dit sur mon 1er message que je voulais la deplacer au milieu du header
Comme sur ce site

Posté le : 16/08/2006 21:32
Partager Twitter Partagez cette article sur GG+
Re: Deplacer baniere de pub
Supporter Xoops
Inscrit: 09/01/2005 13:37
De Breizh
Messages: 16972
Bonjour,

Modifies la class "banner" dans la feuille de style de ton thème, avec un text-align par exemple

A +

Posté le : 16/08/2006 21:35

La connaissance s'accroît quand on la partage ...
Partager Twitter Partagez cette article sur GG+
Re: Deplacer baniere de pub
Aspirant
Inscrit: 09/04/2006 17:19
Messages: 55
Je comprend ce que tu veut faire, c'est simple suffit d'aller dans la partie Admin tu va dans bannières-->ajouter--> lien de l'image tu ne met rien tu coche juste utiliser du html et tu met ton code qui est celui ci (recuperer dans le code source de ta page ;)
<script type="text/javascript"><!--
google_ad_client "pub-1014012509374561";
google_ad_width 468;
google_ad_height 60;
google_ad_format "468x60_as";
google_ad_type "text_image";
google_ad_channel ="";
google_color_border "336699";
google_color_bg "FFFFFF";
google_color_link "0000FF";
google_color_text "000000";
google_color_url "008000";
//--></script>
<script type="text/javascript"
  
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>

Et voila !

Posté le : 16/08/2006 21:56
Partager Twitter Partagez cette article sur GG+
Re: Deplacer baniere de pub
Aspirant
Inscrit: 14/05/2006 15:28
Messages: 45
Nan moi123 c pas ca que je veux faire ca c pour ajouté la banniere google

Moi je l'ai deja ajouté je veux deplacer la bannier au milieu du header ... :X

Vou ne voyez tjs pas de koi je ve parler :S est-ce que sur ce site ya pas de header l'image qui a en haut fait partie de l'arriere plan ?! ca pourrait le faire si je met le header en arriere plan ...

mais yaurait pas autre solution ?!

Posté le : 16/08/2006 23:51
Partager Twitter Partagez cette article sur GG+
Re: Deplacer baniere de pub
Régulier
Inscrit: 27/02/2005 12:24
De longwy(54)
Messages: 425
je te l'ai dit !!! pour aligner vers le haut c'est align="top" ou valign="top"

voila le code source html de ce site


<!-- Début de la barre Header -->
<center>
<TABLE WIDTH="99%" BORDER="0" CELLPADDING="0" CELLSPACING="0" bgcolor="#646467">
<TR background="https://www.frxoops.org/themes/xfchewb ... /titre_fond.jpg">
<TD><a href="https://www.frxoops.org"><IMG SRC="https://www.frxoops.org/themes/xfchewb ... /Coin-Ht_Gauche.jpg" WIDTH="172" HEIGHT="63" ALT="Réalisez votre site web en quelques clics" TITLE="Réalisez votre site web en quelques clics"></a></TD>
<TD with="114px" background="https://www.frxoops.org/themes/xfchewb ... fond.jpg"><img src="https://www.frxoops.org/themes/xfchewb0/dummy.gif" width="114px" height="1"></TD>
<TD WIDTH="50%" HEIGHT="63" background="https://www.frxoops.org/themes/xfchewb ... quot;><div><a href="https://www.frxoops.org/banners.php?op=click&bid=6" target="_blank"><img src="http://www.acl-show.com/bannieres/wwwacl-hostcom.gif" alt="" /></a></div></TD>
<TD WIDTH="160" HEIGHT="63" align="center" valign="top" background="https://www.frxoops.org/themes/xfchewb ... ges/degrade.jpg">
<div class="small" style="color:#ffffff;">

Posté le : 17/08/2006 01:42

Marre des sites de rencontre payants? alors vient t'inscrire sur I seek you
http://www.iseekyou.fr
Open in new window
Partager Twitter Partagez cette article sur GG+
Re: Deplacer baniere de pub
Aspirant
Inscrit: 14/05/2006 15:28
Messages: 45
C'est bon j'ai choisis de mettre la banniere de pub sous le header ca me va ...
Merci pour tout :xfsuper:

Posté le : 17/08/2006 15:19
Partager Twitter Partagez cette article sur GG+

 Haut   Précédent   Suivant



Vous pouvez voir les sujets.
Vous ne pouvez pas débuter de nouveaux sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

18 Personne(s) en ligne (12 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 18 | Plus ...