Bonjour à tous ,
J'aiun énorme problème, je n'arrive pas à le resoudre.
Sur mon site s'ouvrait un pop up , enfin, le site de l'assoc que je représente.
Mais voila, le pop up ne s'ouvre plus depuis que j'ai fait quelques modifs... Mais je ne sais pas les quelles ont agis...
Pourriez vvus m'aider SVP? C'est très important pour l'assoc...Je voudrais garder les fonctionnalitées présentes...
Voici le code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="cade.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.Style2 {font-family: "Comic Sans MS"}
-->
</style>
<meta http-equiv="Page-Enter" content="blendTrans(Duration=1.0)">
<meta http-equiv="Page-Exit" content="revealTrans(Duration=1.0,Transition=12)">
</head>
<body class="cade" onLoad="window.open('popup.htm','wclose','width=210,height=293,toolbar=no,status=no,left=20,top=30')">
<p align="center"><img src="Graphisme/titres/accueil.jpg" width="300" height="50"></p>
<p>Amis Stapsiens, Nancéiens, Etudiants, bienvenue sur le site du CADE
STAPS de Nancy.</p>
<p>Vous êtes le <script type="text/javascript" src="http://www.abcompteur.com/cpt/?code=4/36/6305/2/1&ID=144309"></script>
ème visiteur depuis le 12/10/2006
</p>
<table width="61%" border="0">
<tr>
<td><p>Edito [ par Bisounours 22/11/2006 ]</p>
<p> </p></td>
</tr>
<tr>
<td valign=top><div align="left">Bonjour à tous ! </div>
<p align="left">.::Noel approche... Une soirée STAPS... Bientôt au Circus... ::..</p>
<p align="left"><!-- DEBUT DU SCRIPT COMPTE A REBOURS -->
<!-- Script provenant de http://www.toulouse-renaissance.net/c_outils/ -->
<script language="JavaScript1.2">
//Dynamic countdown Script II- © Dynamic Drive (www.dynamicdrive.com)
//Support for hour minutes and seconds added by Chuck Winrich (winrich@babson.edu) on 12-12-2001
//For full source code, 100's more DHTML scripts, visit http://www.dynamicdrive.com
function setcountdown(theyear,themonth,theday,thehour,themin,thesec){
yr=theyear;mo=themonth;da=theday;hr=thehour;min=themin;sec=thesec
}
////////// CONFIGUREZ LE COMPTEUR CI-DESSOUS //////////////////
// 1°) Configurez la date dans le futur dans le format ANNEE, MOIS, JOUR, HEURES sur 24h (0=minuit,23=11pm), MINUTES, SECONDES
setcountdown(2006,12,14,23,00,00)
// 2°) Changez les deux textes ci-dessous. Le premier pour annoncer l'évènement, le second qui s'affichera à la fin du compte à rebours.
var occasion=" "
var message_on_occasion="La soirée STAPS a débuté à 23H. On vous attend !"
// 3°) Configurez ci-dessous 5 variables pour la largeur, hauteur, la couleur de l'arrière plan, et le style du texte du champ
var countdownwidth='640px' // ou une valeur en % comme var countdownwidth='95%'
var countdownheight='35px'
var countdownbgcolor='#FFEBCD' // ou une couleur en texte comme : lightyellow
var opentags='<font face="Verdana"><small>'
var closetags='</small></font>'
////////// NE RIEN EDITER CI-DESSOUS //////////////////
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec" )
var crosscount=''
function start_countdown(){
if (document.layers)
document.countdownnsmain.visibility="show"
else if (document.all||document.getElementById)
crosscount=document.getElementById&&!document.all?document.getElementById("countdownie" ) : countdownie
countdown()
}
if (document.all||document.getElementById)
document.write('<span id="countdownie" style="width:'+countdownwidth+'; background-color:'+countdownbgcolor+'"></span>')
window.onload=start_countdown
function countdown(){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todayh=today.getHours()
var todaymin=today.getMinutes()
var todaysec=today.getSeconds()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec
futurestring=montharray[mo-1]+" "+da+", "+yr+" "+hr+":"+min+":"+sec
dd=Date.parse(futurestring)-Date.parse(todaystring)
dday=Math.floor(dd/(60*60*1000*24)*1)
dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1)
dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1)
dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1)
//if on day of occasion
if(dday<=0&&dhour<=0&&dmin<=0&&dsec<=1&&todayd==da){
if (document.layers){
document.countdownnsmain.document.countdownnssub.document.write(opentags+message_on_occasion+closetags)
document.countdownnsmain.document.countdownnssub.document.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+message_on_occasion+closetags
return
}
//if passed day of occasion
else if (dday<=-1){
if (document.layers){
document.countdownnsmain.document.countdownnssub.document.write(opentags+"L'évènement est déjà arrivé ! "+closetags)
document.countdownnsmain.document.countdownnssub.document.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+"L'évènement est déjà arrivé ! "+closetags
return
}
//else, if not yet
else{
if (document.layers){
document.countdownnsmain.document.countdownnssub.document.write("Il reste "+opentags+dday+ " jours, "+dhour+" heures, "+dmin+" minutes, et "+dsec+" secondes avant "+occasion+closetags)
document.countdownnsmain.document.countdownnssub.document.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML="La prochaine soirée STAPS aura lieu dans "+opentags+dday+ " jours, "+dhour+" heures, "+dmin+" minutes, et "+dsec+" secondes "+occasion+closetags
}
setTimeout("countdown()",1000)
}
</script><!-- FIN DU SCRIPT COMPTE A REBOURS -->
</p>
<blockquote>
<p align="left"> </p>
</blockquote>
<p align="center"> </p>
<p align="left">Les cartes CADE STAPS - FEDEN <BR>
sont disponibles au bureau du CADE, pour plus d'information sur les avantages de la carte cliquez<a href="http://www.cadestaps.org/feden.html"> ici </a></p>
<p align="left">Nous vous rappelons que le CADE peut vous aider dans la réalisation
de vos projets, dans le financement de vos diplômes : AFPS, AFCPSAM,
BNSSA...Venez nous voir au bureau ou laissez un message sur le <a href="mailto:bisounours@cadestaps.org">Mail</a><a href="cadestaps@euro.st"></a>,
dans le forum ou encore dans la boîte aux lettres !</p>
<p align="left">A bientôt - Bisounours </p>
<p align="left"> </p></td>
</tr>
</table>
<?php
define("_BBC_PAGE_NAME", "********" );
define("_BBCLONE_DIR", "compteur/" );
define("COUNTER", _BBCLONE_DIR."mark_page.php" );
if (is_readable(COUNTER)) include_once(COUNTER);
?>
<script type="text/javascript">
<!--
function mesure(_MesurePro, _page)
{ scr_w = screen.width;
scr_h = screen.height;
color = screen.colorDepth;
ref = escape(window.document.referrer);
document.write('<img src="http://www.direct-stats.com/logs/cadestaps/Vz727580X04/marqueur.php?page='+_page+ '&n='+ Math.round (Math.random () * 1000000000000000)+ '&reso_w='+ scr_w+ '&reso_h='+ scr_h+ '&color='+ color+ '&referer='+ ref+'" style="border:0px;" />');
}
mesure("Mesure Pro", "acceuil" );
-->
</script>
<script language="JavaScript1.2">
/******************************************
* Snow Effect Script- By Altan d.o.o. (snow@altan.hr, http://www.altan.hr/snow/index.html)
******************************************/
//Configure below to change URL path to the snow image
var snowsrc="http://www.espacejavascript.com/images/script/snow.gif"
// Configure below to change number of snow to render
var no = 10;
var ns4up = (document.layers) ? 1 : 0; // browser sniffer
var ie4up = (document.all) ? 1 : 0;
var ns6up = (document.getElementById&&!document.all) ? 1 : 0;
var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width = 800, doc_height = 600;
if (ns4up||ns6up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
for (i = 0; i < no; ++ i) {
dx[i] = 0; // set coordinate variables
xp[i] = Math.random()*(doc_width-50); // set position variables
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*20; // set amplitude variables
stx[i] = 0.02 + Math.random()/10; // set step variables
sty[i] = 0.7 + Math.random(); // set step variables
if (ns4up) { // set layers
if (i == 0) {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><a href=\"http://www.espacejavascript.com.com/\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/layer>" );
} else {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><img src='"+snowsrc+"' border=\"0\"><\/layer>" );
}
} else if (ie4up||ns6up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://www.espacejavascript.com\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/div>" );
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"><\/div>" );
}
}
}
function snowNS() { // Netscape main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
dx[i] += stx[i];
document.layers["dot"+i].top = yp[i];
document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowNS()", 10);
}
function snowIE_NS6() { // IE and NS6 main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = ns6up?window.innerWidth : document.body.clientWidth;
doc_height = ns6up?window.innerHeight : document.body.clientHeight;
}
dx[i] += stx[i];
if (ie4up){
document.all["dot"+i].style.pixelTop = yp[i];
document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
}
else if (ns6up){
document.getElementById("dot"+i).style.top=yp[i];
document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i]);
}
}
setTimeout("snowIE_NS6()", 10);
}
if (ns4up) {
snowNS();
} else if (ie4up||ns6up) {
snowIE_NS6();
}
</script>
</body>
</html>
Message édité par cade le 02-02-2007 à 15:20:57