A voir également:
- Pages bienvenue, accueil, index et menu
- Page d'accueil iphone - Guide
- Menu déroulant excel - Guide
- Mettre google en page d'accueil - Guide
- Supprimer des pages sur word - Guide
- Menu démarrer windows 11 - Guide
2 réponses
guaouane
Messages postés
16
Date d'inscription
samedi 13 décembre 2008
Statut
Membre
Dernière intervention
30 décembre 2008
2
14 déc. 2008 à 16:42
14 déc. 2008 à 16:42
envoie moi ton code sur mon mail et le lien ou tu construit ton site et je réglera le probléme
mp5player
Messages postés
49
Date d'inscription
mercredi 10 décembre 2008
Statut
Membre
Dernière intervention
20 décembre 2008
48
14 déc. 2008 à 16:45
14 déc. 2008 à 16:45
C'est vrai que c'est mieux avec le code ...
14 déc. 2008 à 16:54
Accueil.php :
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="fr">
<link rel='shortcut icon' type='images/x-icon' href='images/coupe_scottish_terrier_tete.jpg'>
<title>Poils Y Sont</title>
<link href="toilettage_css.css" rel="stylesheet" type="text/css">
<!-- COPIE IMAGES INTERDITE -->
</style>
<script language="JavaScript">
<!--
// https://twitter.com/ceosammassey
function noclic(clic) {
var mess="Toutes les photos sont la propriété de XXX. Contactez l'administrateur du site."; //changer le message
if (navigator.appName == 'Netscape' && clic.which==3) {
alert(mess);
}
else
if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
alert(mess);
}}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown = noclic;
//-->
</script>
</head>
<body>
<!-- COPIE IMAGES INTERDITE -->
<body bgcolor="#FFFFFF" oncontextmenu="return false">
<span style="position:absolute; left:0px; top:0px; width:1280; height:650; z-index:1"><img src="images/page_index.jpg" width="1280" height="665"></span>
<div id="Texte_bienvenue" class="Texte_bienvenue" align="center" style="position:absolute; left:501px; top:264px; z-index:2">
<p><a href="index.php" class="Lien_bienvenue">BIENVENUE</a></p>
</div>
</body>
</html>
14 déc. 2008 à 16:55
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="fr">
<link rel='shortcut icon' type='images/x-icon' href='images/coupe_scottish_terrier_tete.jpg'>
<title>Poils Y Sont</title>
<link href="toilettage_css.css" rel="stylesheet" type="text/css">
<!-- COPIE IMAGES INTERDITE -->
</style>
<script language="JavaScript">
<!--
// https://twitter.com/ceosammassey
function noclic(clic) {
var mess="Toutes les photos sont la propriété de Poils Y Sont. Contactez l'administrateur du site."; //changer le message
if (navigator.appName == 'Netscape' && clic.which==3) {
alert(mess);
}
else
if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
alert(mess);
}}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown = noclic;
//-->
</script>
</head>
<body>
<!-- COPIE IMAGES INTERDITE -->
<body bgcolor="#FFFFFF" oncontextmenu="return false">
<!-- FOND -->
<div style="position:absolute; left:0; top:0; width:1280; height:650; z-index:1">
<img src="images/page_acceuil.jpg" width="1280" height="665"></div>
<!-- MENU -->
<div style="position:absolute; right:60px; top:50px; height:550; z-index:2; overflow: auto">
<?php include('menu.html'); ?></div>
<?php
// On définit le tableau contenant les pages autorisées
// ----------------------------------------------------
$pageOK = array( 'Toilettage' => 'toilettage.php',
'Coupe' => 'coupe.php',
'Magasin' => 'magasin.php',
'Tarifs' => 'tarifs.php',
'Promo' => 'promo.php',
'Expo' => 'expo.php',
'Entretien' => 'entretien.php',
'Comparatif' => 'comparatif.php',
'Accueil' => 'accueil.php');
// On teste que le paramètre d'url existe et qu'il est bien autorisé
// -----------------------------------------------------------------
if ( (isset($_GET['page'])) && (isset($pageOK[$_GET['page']])) ) {
include($pageOK[$_GET['page']]); // Nous appelons le contenu central de la page
} else {
include('accueil.php'); // Page par défaut quant elle n'existe pas dans le tableau
}
?>
</body>
</html>
14 déc. 2008 à 16:56
<table cellspacing="15">
<tr>
<td align="center" colspan="3"><a href="index.php?page=Toilettage" target="_self" class="Menu">
<img src="images/icone_scottish_terrier.gif" height="50" border="0" /></a></td>
<td width="300" ><a href="index.php?page=Toilettage" target="_self" class="Menu">Déroulement du toilettage </a></td>
</tr>
<tr>
<td align="center" colspan="3"><a href="index.php?page=Coupe" target="_self" class="Menu">
<img src="images/icone_york.gif" height="50" border="0" /></a></td>
<td width="300" ><a href="index.php?page=Coupe" target="_self" class="Menu"> Modéles de coupe </a></td>
</tr>
<tr>
<td align="center" colspan="3"><a href="index.php?page=Magasin" target="_self" class="Menu">
<img src="images/icone_bichon_frise.gif" height="50" border="0" /></a></td>
<td width="300" ><a href="index.php?page=Magasin" target="_self" class="Menu">Visite du magasin </a></td>
</tr>
<tr>
<td align="center" colspan="3"><a href="index.php?page=Tarifs" target="_self" class="Menu">
<img src="images/icone_boxer.gif" height="50" border="0" /></a></td>
<td width="300" ><a href="index.php?page=Tarifs" target="_self" class="Menu">Tarifs </a></td>
</tr>
<tr>
<td align="center" colspan="3"><a href="index.php?page=Promo" target="_self" class="Menu">
<img src="images/icone_terrier.gif" height="50" border="0" /> </a></td>
<td width="300" ><a href="index.php?page=Promo" target="_self" class="Menu">Promotions </a></td>
</tr>
<tr>
<td align="center" colspan="3"><a href="index.php?page=Expo" target="_self" class="Menu">
<img src="images/icone_bearded_collie.gif" height="50" border="0" /> </a></td>
<td width="300" ><a href="index.php?page=Expo" target="_self" class="Menu">Expositions </a></td>
</tr>
<tr>
<td align="center" colspan="3"><a href="index.php?page=Entretien" target="_self" class="Menu">
<img src="images/icone_shi_tzu.gif" height="50" border="0" /> </a></td>
<td width="300" ><a href="index.php?page=Entretien" target="_self" class="Menu">Entretien de votre compagnon </a></td>
</tr>
<tr>
<td align="center" colspan="3"><a href="index.php?page=Comparatif" target="_self" class="Menu">
<img src="images/icone_bauceron.gif" height="50" border="0" /> </a></td>
<td width="300" ><a href="index.php?page=Comparatif" target="_self" class="Menu">Avant / Aprés </a></td>
</tr>
</table>
14 déc. 2008 à 16:57