Drapeau

5 participants

Voir le sujet précédent Voir le sujet suivant Aller en bas

Résolu Drapeau

Message par melody39 Dim 13 Juil 2014 - 11:36

Bonjour,

J'ai une image en jpg du drapeau français que je voudrais mettre en haut et à droite de mon forum pour ces deux jours Drapeau  Drapea10

Pourriez-vous m'aider svp

merci


Dernière édition par melody39 le Dim 13 Juil 2014 - 16:31, édité 1 fois
melody39

melody39
***

Féminin
Messages : 149
Inscrit(e) le : 10/02/2008

http://phalenes.forumsactifs.com
melody39 a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Drapeau

Message par Neptunia Dim 13 Juil 2014 - 13:08

Bonjour ^^

Right PA > Modules > Gestion des codes Javascript > Créer un nouveau javascript
- Mettre un titre explicite
- Placement : Sur toutes les pages (ou autre)
- Code
Code:
$(function(){
                  $("body").append('<div style="position: fixed; top: 5px; right: 5px"><a  href=""><img  src="http://i39.servimg.com/u/f39/11/00/41/69/drapea10.png"  border="0" alt=""  /></a></div>');
        });
Enregiostrer, c'est terminé !
Neptunia

Neptunia
Membre actif

Féminin
Messages : 17853
Inscrit(e) le : 08/08/2010

https://www.galaxie-series.net/
Neptunia a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Drapeau

Message par melody39 Dim 13 Juil 2014 - 14:44

merci beaucoup ; toutefois, çà ne fonctionne pas

D'ailleurs, je ne sais pas pourquoi, mais quand je mets un petit script comme çà, çà ne fonctionne jamais Sad



melody39

melody39
***

Féminin
Messages : 149
Inscrit(e) le : 10/02/2008

http://phalenes.forumsactifs.com
melody39 a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Drapeau

Message par Neptunia Dim 13 Juil 2014 - 15:03

Je me souviens effectivement de vos déboires avec les décorations périodiques.

Un sujet à Pâques et/ou au premier mai où de nombreuses personnes dont Tech vous avaient apporté des réponses.
Codes Javascript apparaissant en double exemplaire si ma mémoire est bonne.

De mon côté je ne saurais vous aider davantage, j'ai installé le script sur un forum test en phpBB3 et celui-ci fonctionne à la perfection.
Neptunia

Neptunia
Membre actif

Féminin
Messages : 17853
Inscrit(e) le : 08/08/2010

https://www.galaxie-series.net/
Neptunia a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Drapeau

Message par lolo591 Dim 13 Juil 2014 - 15:08

merci pour vos astuces, j'ai pris aussi celle-ci Wink
par contre, le drapeau reste a la meme place lorsque je descend la page, est-ce normal?
lolo591

lolo591
****

Masculin
Messages : 249
Inscrit(e) le : 02/06/2014

lolo591 a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Drapeau

Message par Neptunia Dim 13 Juil 2014 - 15:13

@lolo591

Bonjour ^^

Pour que l'image disparaisse en visitant le bas de page remplacez fixed par absolute dans le code fourni.
Neptunia

Neptunia
Membre actif

Féminin
Messages : 17853
Inscrit(e) le : 08/08/2010

https://www.galaxie-series.net/
Neptunia a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Drapeau

Message par lolo591 Dim 13 Juil 2014 - 15:16

oui, super  merci 
lolo591

lolo591
****

Masculin
Messages : 249
Inscrit(e) le : 02/06/2014

lolo591 a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Drapeau

Message par melody39 Dim 13 Juil 2014 - 15:24

Je pense que cela est dû au diaporama que j'ai installé ....



melody39

melody39
***

Féminin
Messages : 149
Inscrit(e) le : 10/02/2008

http://phalenes.forumsactifs.com
melody39 a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Drapeau

Message par Neptunia Dim 13 Juil 2014 - 15:25

Le meilleur moyen de savoir est de désactiver vos scripts un par un jusqu'à trouver le coupable.
Neptunia

Neptunia
Membre actif

Féminin
Messages : 17853
Inscrit(e) le : 08/08/2010

https://www.galaxie-series.net/
Neptunia a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Drapeau

Message par demeter1 Dim 13 Juil 2014 - 15:27

Il y a plus que le diaporama. En faisant une simple analyse, on tombe sur une multitude de vieux js concernant les décorations de noêl et de l'automne dernier.
Un simple exemple

Code:
http://phalenes.forumsactifs.com/99885.js
application/x-javascript treated as script
3.93 kB
$(function(){$("body").append('<div class="bouhautbas"><a href="#top"><img src="http://www.seigneursdelavallee.com/forum/flechehaut.png" alt="Aller en haut" /></a> <a href="#bottom"><img src="http://www.seigneursdelavallee.com/forum/flechebas.png" alt="Aller en bas" /></a></div>')});function SWFLayer(){this.swf_url="";this.swf_id="Flash";this.layer_name="";this.xx=0;this.yy=0;this.width=1;this.height=1;this.zIndex=0;this.body=document['CSS1Compat'==document.compatMode?'documentElement':'body'];this._oLayer="";this.flashvars_labels=[];this.flashvars_values=[];this._ww_full_flg="false";this._hh_full_flg="false"}SWFLayer.prototype._createFlashVarsValue=function(){var value="browser="+this._checkBrowser()+"&";var flashvars_labels=this.flashvars_labels;var flashvars_values=this.flashvars_values;for(var i=0;i<flashvars_labels.length;i++){value+=flashvars_labels[i]+"="+flashvars_values[i]+"&"}value=value.substring(0,value.length-1);return value};SWFLayer.prototype.create=function(){var swf_url=this.swf_url;var swf_id=this.swf_id;var layer_name=this.layer_name;var html="";html+="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='100%' height='100%' id='"+swf_id+"' align='middle'>";html+="<param name='allowScriptAccess' value='always' />";if(this.flashvars_labels.length>0){html+="<param name='flashvars' value='"+this._createFlashVarsValue()+"'>"}html+="<param name='movie' value='"+swf_url+"' /><param name='scale' value='noscale' /><param name='salign' value='lt' /><param name='quality' value='high' /><param name='wmode' value='transparent' /><embed src='"+swf_url+"' quality='high' scale='noscale' salign='lt' wmode='transparent' width='100%' height='100%' name='"+swf_id+"' id='"+swf_id+"' swLiveConnect=true align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'";if(this.flashvars_labels.length>0){html+=" flashvars='"+this._createFlashVarsValue()+"'"}html+="/>";html+="</object>";var oLayer=document.createElement('div');oLayer.setAttribute('id',layer_name);oLayer.innerHTML=html;oLayer.style.position='absolute';oLayer.style.zIndex=this.zIndex;document.body.appendChild(oLayer);this._oLayer=oLayer};SWFLayer.prototype._checkBrowser=function(){var uName=navigator.userAgent;if(uName.indexOf("Safari")>-1)return"Safari";if(uName.indexOf("MSIE")>-1){return"MSIE"}return"Netscape"};SWFLayer.prototype.setSize=function(ww,hh){var browser=this._checkBrowser();if(ww=='full'){this._ww_full_flg="true";if(browser=="MSIE"){this.width=this.body.clientWidth}else if(browser=="Netscape"){this.width=window.innerWidth-17}else{this.width=window.innerWidth}}else{this._ww_full_flg="false";this.width=ww}if(hh=='full'){this._hh_full_flg="true";if(browser=="MSIE"){this.height=this.body.clientHeight}else if(browser=="Netscape"){this.height=window.innerHeight-17}else{this.height=window.innerHeight}}else{this._hh_full_flg="false";this.height=hh}this._oLayer.style.width=this.width+'px';this._oLayer.style.height=this.height+'px'};SWFLayer.prototype.setPos=function(xx,yy){var browser=this._checkBrowser();this.xx=xx;this.yy=yy;if(browser=="MSIE"){this._oLayer.style.left=this.xx+this.body.scrollLeft+'px';this._oLayer.style.top=this.yy+this.body.scrollTop+'px'}else{this._oLayer.style.left=this.xx+pageXOffset+'px';this._oLayer.style.top=this.yy+pageYOffset+'px'}};SWFLayer.prototype.setPosFixed=function(xx,yy){this.xx=xx;this.yy=yy;this._oLayer.style.left=this.xx+'px';this._oLayer.style.top=this.yy+'px'};SWFLayer.prototype.setdPos=function(d_xx,d_yy){this.xx+=d_xx;this.yy+=d_yy;this.setPos(this.xx,this.yy)};SWFLayer.prototype.setWindowAlign=function(str){var browser=this._checkBrowser();if(str=='right'){if(browser=="MSIE"){this.xx=this.body.clientWidth-this.width}else{this.xx=window.innerWidth-this.width;if(browser=="Netscape"){this.xx-=17}}}else{if(browser=="MSIE"){this.xx=0}else{this.xx=0}}this.setPos(this.xx,this.yy)};SWFLayer.prototype.setWindowAlignFixed=function(str){var browser=this._checkBrowser();if(str=='right'){if(browser=="MSIE"){this.xx=this.body.clientWidth-this.width+this.body.scrollLeft}else{this.xx=window.innerWidth-this.width+pageXOffset;if(browser=="Netscape"){this.xx-=17}}}else{if(browser=="MSIE"){this.xx=0}else{this.xx=0}}this.setPosFixed(this.xx,this.yy)};SWFLayer.prototype.setWindowValign=function(str){var browser=this._checkBrowser();if(str=='bottom'){if(browser=="MSIE"){this.yy=this.body.clientHeight-this.height}else{this.yy=window.innerHeight-this.height;if(browser=="Netscape"){this.yy-=17}}}else{if(browser=="MSIE"){this.yy=0}else{this.yy=0}}this.setPos(this.xx,this.yy)};SWFLayer.prototype.setWindowValignFixed=function(str){var browser=this._checkBrowser();if(str=='bottom'){if(browser=="MSIE"){this.yy=this.body.scrollHeight-this.height}else{this.yy=this.body.offsetHeight-this.height;if(browser=="Netscape"){this.yy-=17}}}else{if(browser=="MSIE"){this.yy=0}else{this.yy=0}}this.setPosFixed(this.xx,this.yy)};SWFLayer.prototype.setVisible=function(str){this._oLayer.style.visibility=str};SWFLayer.prototype.correctWindowSize=function(str){if(this._ww_full_flg=="true"&&this._hh_full_flg=="true"){this.setSize("full","full")}else if(this._ww_full_flg=="true"){this.setSize("full",this.height)}else if(this._hh_full_flg=="true"){this.setSize(this.width,"full")}};function eventObserve(obj,e,func,bool){if(obj.addEventListener){obj.addEventListener(e,func,bool)}else if(obj.attachEvent){obj.attachEvent("on"+e,func)}}var noel_deco="";var noel_deco_flashvars_labels=["myUrl"];var noel_deco_flashvars_values=[location.host];var noel_deco_zIndex=1;function loadnoeldeco(data){noel_deco=new SWFLayer();noel_deco.zIndex=noel_deco_zIndex;noel_deco.swf_url="http://nerval.belouga.free.fr/muguetok.swf";noel_deco.swf_id="noel_deco_swf";noel_deco.layer_name="noel_deco";noel_deco.flashvars_labels=noel_deco_flashvars_labels;noel_deco.flashvars_values=noel_deco_flashvars_values;noel_deco.create();noel_deco.setSize(260,277);noel_deco.setWindowAlignFixed('left');noel_deco.setWindowValignFixed('top');if(checkBrowser()=="Safari"){window.resizeBy(1,0)}}eventObserve(window,'load',loadnoeldeco,false);function scrollnoeldeco(){noel_deco.setWindowAlignFixed('left')}eventObserve(window,'scroll',scrollnoeldeco,false);function resizenoeldeco(){noel_deco.setWindowAlignFixed('left')}eventObserve(window,'resize',resizenoeldeco,false);document.getElementsByTagName("html")[0].style.overflow="scroll";function hidenoel_deco(){noel_deco.setVisible("hidden")}function setClose(){noel_deco.setSize(0,0)}function checkBrowser(){var uName=navigator.userAgent;if(uName.indexOf("Safari")>-1)return"Safari";if(uName.indexOf("MSIE")>-1){return"MSIE"}return"Netscape"};function SWFLayer(){this.swf_url="";this.swf_id="Flash";this.layer_name="";this.xx=0;this.yy=0;this.width=1;this.height=1;this.zIndex=0;this.body=document['CSS1Compat'==document.compatMode?'documentElement':'body'];this._oLayer="";this.flashvars_labels=[];this.flashvars_values=[];this._ww_full_flg="false";this._hh_full_flg="false"}SWFLayer.prototype._createFlashVarsValue=function(){var value="browser="+this._checkBrowser()+"&";var flashvars_labels=this.flashvars_labels;var flashvars_values=this.flashvars_values;for(var i=0;i<flashvars_labels.length;i++){value+=flashvars_labels[i]+"="+flashvars_values[i]+"&"}value=value.substring(0,value.length-1);return value};SWFLayer.prototype.create=function(){var swf_url=this.swf_url;var swf_id=this.swf_id;var layer_name=this.layer_name;var html="";html+="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='100%' height='100%' id='"+swf_id+"' align='middle'>";html+="<param name='allowScriptAccess' value='always' />";if(this.flashvars_labels.length>0){html+="<param name='flashvars' value='"+this._createFlashVarsValue()+"'>"}html+="<param name='movie' value='"+swf_url+"' /><param name='scale' value='noscale' /><param name='salign' value='lt' /><param name='quality' value='high' /><param name='wmode' value='transparent' /><embed src='"+swf_url+"' quality='high' scale='noscale' salign='lt' wmode='transparent' width='100%' height='100%' name='"+swf_id+"' id='"+swf_id+"' swLiveConnect=true align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'";if(this.flashvars_labels.length>0){html+=" flashvars='"+this._createFlashVarsValue()+"'"}html+="/>";html+="</object>";var oLayer=document.createElement('div');oLayer.setAttribute('id',layer_name);oLayer.innerHTML=html;oLayer.style.position='absolute';oLayer.style.zIndex=this.zIndex;document.body.appendChild(oLayer);this._oLayer=oLayer};SWFLayer.prototype._checkBrowser=function(){var uName=navigator.userAgent;if(uName.indexOf("Safari")>-1)return"Safari";if(uName.indexOf("MSIE")>-1){return"MSIE"}return"Netscape"};SWFLayer.prototype.setSize=function(ww,hh){var browser=this._checkBrowser();if(ww=='full'){this._ww_full_flg="true";if(browser=="MSIE"){this.width=this.body.clientWidth}else if(browser=="Netscape"){this.width=window.innerWidth-17}else{this.width=window.innerWidth}}else{this._ww_full_flg="false";this.width=ww}if(hh=='full'){this._hh_full_flg="true";if(browser=="MSIE"){this.height=this.body.clientHeight}else if(browser=="Netscape"){this.height=window.innerHeight-17}else{this.height=window.innerHeight}}else{this._hh_full_flg="false";this.height=hh}this._oLayer.style.width=this.width+'px';this._oLayer.style.height=this.height+'px'};SWFLayer.prototype.setPos=function(xx,yy){var browser=this._checkBrowser();this.xx=xx;this.yy=yy;if(browser=="MSIE"){this._oLayer.style.left=this.xx+this.body.scrollLeft+'px';this._oLayer.style.top=this.yy+this.body.scrollTop+'px'}else{this._oLayer.style.left=this.xx+pageXOffset+'px';this._oLayer.style.top=this.yy+pageYOffset+'px'}};SWFLayer.prototype.setPosFixed=function(xx,yy){this.xx=xx;this.yy=yy;this._oLayer.style.left=this.xx+'px';this._oLayer.style.top=this.yy+'px'};SWFLayer.prototype.setdPos=function(d_xx,d_yy){this.xx+=d_xx;this.yy+=d_yy;this.setPos(this.xx,this.yy)};SWFLayer.prototype.setWindowAlign=function(str){var browser=this._checkBrowser();if(str=='right'){if(browser=="MSIE"){this.xx=this.body.clientWidth-this.width}else{this.xx=window.innerWidth-this.width;if(browser=="Netscape"){this.xx-=17}}}else{if(browser=="MSIE"){this.xx=0}else{this.xx=0}}this.setPos(this.xx,this.yy)};SWFLayer.prototype.setWindowAlignFixed=function(str){var browser=this._checkBrowser();if(str=='right'){if(browser=="MSIE"){this.xx=this.body.clientWidth-this.width+this.body.scrollLeft}else{this.xx=window.innerWidth-this.width+pageXOffset;if(browser=="Netscape"){this.xx-=17}}}else{if(browser=="MSIE"){this.xx=0}else{this.xx=0}}this.setPosFixed(this.xx,this.yy)};SWFLayer.prototype.setWindowValign=function(str){var browser=this._checkBrowser();if(str=='bottom'){if(browser=="MSIE"){this.yy=this.body.clientHeight-this.height}else{this.yy=window.innerHeight-this.height;if(browser=="Netscape"){this.yy-=17}}}else{if(browser=="MSIE"){this.yy=0}else{this.yy=0}}this.setPos(this.xx,this.yy)};SWFLayer.prototype.setWindowValignFixed=function(str){var browser=this._checkBrowser();if(str=='bottom'){if(browser=="MSIE"){this.yy=this.body.scrollHeight-this.height}else{this.yy=this.body.offsetHeight-this.height;if(browser=="Netscape"){this.yy-=17}}}else{if(browser=="MSIE"){this.yy=0}else{this.yy=0}}this.setPosFixed(this.xx,this.yy)};SWFLayer.prototype.setVisible=function(str){this._oLayer.style.visibility=str};SWFLayer.prototype.correctWindowSize=function(str){if(this._ww_full_flg=="true"&&this._hh_full_flg=="true"){this.setSize("full","full")}else if(this._ww_full_flg=="true"){this.setSize("full",this.height)}else if(this._hh_full_flg=="true"){this.setSize(this.width,"full")}};function eventObserve(obj,e,func,bool){if(obj.addEventListener){obj.addEventListener(e,func,bool)}else if(obj.attachEvent){obj.attachEvent("on"+e,func)}}var noel_deco="";var noel_deco_flashvars_labels=["myUrl"];var noel_deco_flashvars_values=[location.host];var noel_deco_zIndex=1;function loadnoeldeco(data){noel_deco=new SWFLayer();noel_deco.zIndex=noel_deco_zIndex;noel_deco.swf_url="http://www.seigneursdelavallee.com/forum/feuillesautomne2012.png";noel_deco.swf_id="noel_deco_swf";noel_deco.layer_name="noel_deco";noel_deco.flashvars_labels=noel_deco_flashvars_labels;noel_deco.flashvars_values=noel_deco_flashvars_values;noel_deco.create();noel_deco.setSize(400,320);noel_deco.setWindowAlignFixed('left');noel_deco.setWindowValignFixed('top');if(checkBrowser()=="Safari"){window.resizeBy(1,0)}}eventObserve(window,'load',loadnoeldeco,false);function scrollnoeldeco(){noel_deco.setWindowAlignFixed('left')}eventObserve(window,'scroll',scrollnoeldeco,false);function resizenoeldeco(){noel_deco.setWindowAlignFixed('left')}eventObserve(window,'resize',resizenoeldeco,false);document.getElementsByTagName("html")[0].style.overflow="scroll";function hidenoel_deco(){noel_deco.setVisible("hidden")}function setClose(){noel_deco.setSize(0,0)}function checkBrowser(){var uName=navigator.userAgent;if(uName.indexOf("Safari")>-1)return"Safari";if(uName.indexOf("MSIE")>-1){return"MSIE"}return"Netscape"};function SWFLayer(){this.swf_url="";this.swf_id="Flash";this.layer_name="";this.xx=0;this.yy=0;this.width=1;this.height=1;this.zIndex=0;this.body=document['CSS1Compat'==document.compatMode?'documentElement':'body'];this._oLayer="";this.flashvars_labels=[];this.flashvars_values=[];this._ww_full_flg="false";this._hh_full_flg="false"}SWFLayer.prototype._createFlashVarsValue=function(){var value="browser="+this._checkBrowser()+"&";var flashvars_labels=this.flashvars_labels;var flashvars_values=this.flashvars_values;for(var i=0;i<flashvars_labels.length;i++){value+=flashvars_labels[i]+"="+flashvars_values[i]+"&"}value=value.substring(0,value.length-1);return value};SWFLayer.prototype.create=function(){var swf_url=this.swf_url;var swf_id=this.swf_id;var layer_name=this.layer_name;var html="";html+="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='100%' height='100%' id='"+swf_id+"' align='middle'>";html+="<param name='allowScriptAccess' value='always' />";if(this.flashvars_labels.length>0){html+="<param name='flashvars' value='"+this._createFlashVarsValue()+"'>"}html+="<param name='movie' value='"+swf_url+"' /><param name='scale' value='noscale' /><param name='salign' value='lt' /><param name='quality' value='high' /><param name='wmode' value='transparent' /><embed src='"+swf_url+"' quality='high' scale='noscale' salign='lt' wmode='transparent' width='100%' height='100%' name='"+swf_id+"' id='"+swf_id+"' swLiveConnect=true align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'";if(this.flashvars_labels.length>0){html+=" flashvars='"+this._createFlashVarsValue()+"'"}html+="/>";html+="</object>";var oLayer=document.createElement('div');oLayer.setAttribute('id',layer_name);oLayer.innerHTML=html;oLayer.style.position='absolute';oLayer.style.zIndex=this.zIndex;document.body.appendChild(oLayer);this._oLayer=oLayer};SWFLayer.prototype._checkBrowser=function(){var uName=navigator.userAgent;if(uName.indexOf("Safari")>-1)return"Safari";if(uName.indexOf("MSIE")>-1){return"MSIE"}return"Netscape"};SWFLayer.prototype.setSize=function(ww,hh){var browser=this._checkBrowser();if(ww=='full'){this._ww_full_flg="true";if(browser=="MSIE"){this.width=this.body.clientWidth}else if(browser=="Netscape"){this.width=window.innerWidth-17}else{this.width=window.innerWidth}}else{this._ww_full_flg="false";this.width=ww}if(hh=='full'){this._hh_full_flg="true";if(browser=="MSIE"){this.height=this.body.clientHeight}else if(browser=="Netscape"){this.height=window.innerHeight-17}else{this.height=window.innerHeight}}else{this._hh_full_flg="false";this.height=hh}this._oLayer.style.width=this.width+'px';this._oLayer.style.height=this.height+'px'};SWFLayer.prototype.setPos=function(xx,yy){var browser=this._checkBrowser();this.xx=xx;this.yy=yy;if(browser=="MSIE"){this._oLayer.style.left=this.xx+this.body.scrollLeft+'px';this._oLayer.style.top=this.yy+this.body.scrollTop+'px'}else{this._oLayer.style.left=this.xx+pageXOffset+'px';this._oLayer.style.top=this.yy+pageYOffset+'px'}};SWFLayer.prototype.setPosFixed=function(xx,yy){this.xx=xx;this.yy=yy;this._oLayer.style.left=this.xx+'px';this._oLayer.style.top=this.yy+'px'};SWFLayer.prototype.setdPos=function(d_xx,d_yy){this.xx+=d_xx;this.yy+=d_yy;this.setPos(this.xx,this.yy)};SWFLayer.prototype.setWindowAlign=function(str){var browser=this._checkBrowser();if(str=='right'){if(browser=="MSIE"){this.xx=this.body.clientWidth-this.width}else{this.xx=window.innerWidth-this.width;if(browser=="Netscape"){this.xx-=17}}}else{if(browser=="MSIE"){this.xx=0}else{this.xx=0}}this.setPos(this.xx,this.yy)};SWFLayer.prototype.setWindowAlignFixed=function(str){var browser=this._checkBrowser();if(str=='right'){if(browser=="MSIE"){this.xx=this.body.clientWidth-this.width+this.body.scrollLeft}else{this.xx=window.innerWidth-this.width+pageXOffset;if(browser=="Netscape"){this.xx-=17}}}else{if(browser=="MSIE"){this.xx=0}else{this.xx=0}}this.setPosFixed(this.xx,this.yy)};SWFLayer.prototype.setWindowValign=function(str){var browser=this._checkBrowser();if(str=='bottom'){if(browser=="MSIE"){this.yy=this.body.clientHeight-this.height}else{this.yy=window.innerHeight-this.height;if(browser=="Netscape"){this.yy-=17}}}else{if(browser=="MSIE"){this.yy=0}else{this.yy=0}}this.setPos(this.xx,this.yy)};SWFLayer.prototype.setWindowValignFixed=function(str){var browser=this._checkBrowser();if(str=='bottom'){if(browser=="MSIE"){this.yy=this.body.scrollHeight-this.height}else{this.yy=this.body.offsetHeight-this.height;if(browser=="Netscape"){this.yy-=17}}}else{if(browser=="MSIE"){this.yy=0}else{this.yy=0}}this.setPosFixed(this.xx,this.yy)};SWFLayer.prototype.setVisible=function(str){this._oLayer.style.visibility=str};SWFLayer.prototype.correctWindowSize=function(str){if(this._ww_full_flg=="true"&&this._hh_full_flg=="true"){this.setSize("full","full")}else if(this._ww_full_flg=="true"){this.setSize("full",this.height)}else if(this._hh_full_flg=="true"){this.setSize(this.width,"full")}};function eventObserve(obj,e,func,bool){if(obj.addEventListener){obj.addEventListener(e,func,bool)}else if(obj.attachEvent){obj.attachEvent("on"+e,func)}}var noel_deco="";var noel_deco_flashvars_labels=["myUrl"];var noel_deco_flashvars_values=[location.host];var noel_deco_zIndex=1;function loadnoeldeco(data){noel_deco=new SWFLayer();noel_deco.zIndex=noel_deco_zIndex;noel_deco.swf_url="http://sd-1.archive-host.com/membres/up/37821634957680146/deco/botte22.js";noel_deco.swf_id="noel_deco_swf";noel_deco.layer_name="noel_deco";noel_deco.flashvars_labels=noel_deco_flashvars_labels;noel_deco.flashvars_values=noel_deco_flashvars_values;noel_deco.create();noel_deco.setSize(260,277);noel_deco.setWindowAlignFixed('left');noel_deco.setWindowValignFixed('top');if(checkBrowser()=="Safari"){window.resizeBy(1,0)}}eventObserve(window,'load',loadnoeldeco,false);function scrollnoeldeco(){noel_deco.setWindowAlignFixed('left')}eventObserve(window,'scroll',scrollnoeldeco,false);function resizenoeldeco(){noel_deco.setWindowAlignFixed('left')}eventObserve(window,'resize',resizenoeldeco,false);document.getElementsByTagName("html")[0].style.overflow="scroll";function hidenoel_deco(){noel_deco.setVisible("hidden")}function setClose(){noel_deco.setSize(0,0)}function checkBrowser(){var uName=navigator.userAgent;if(uName.indexOf("Safari")>-1)return"Safari";if(uName.indexOf("MSIE")>-1){return"MSIE"}return"Netscape"};.$(function(){.  $.getScript("http://perso.numericable.fr/antonywar/NOEL/testhaut.js");.});var urlflocon="http://astuforum.free.fr/images/muguet.gif"var nombreflocons=10;var cacherflocons=0;var voirflocons="pageheight";var ie4up=(document.all)?1:0;var ns6up=(document.getElementById&&!document.all)?1:0;function testIEcompatible(){return(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body}var dx,xp,yp;var am,stx,sty;var i,doc_width=1024,doc_height=768;if(ns6up){doc_width=self.innerWidth;doc_height=self.innerHeight}else if(ie4up){doc_width=testIEcompatible().clientWidth;doc_height=testIEcompatible().clientHeight}dx=new Array();xp=new Array();yp=new Array();am=new Array();stx=new Array();sty=new Array();for(i=0;i<nombreflocons;++i){dx[i]=0;xp[i]=Math.random()*(doc_width-50);yp[i]=Math.random()*doc_height;am[i]=Math.random()*20;stx[i]=0.02+Math.random()/10;sty[i]=0.7+Math.random();if(ie4up||ns6up){if(i==0){document.write("<div id="dot"+i+"" style="POSITION: absolute; Z-INDEX: "+i+"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;"><img src='"+urlflocon+"' border="0"><\/div>")}else{document.write("<div id="dot"+i+"" style="POSITION: absolute; Z-INDEX: "+i+"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;"><img src='"+urlflocon+"' border="0"><\/div>")}}}function neigeIE_NS6(){doc_width=ns6up?window.innerWidth-10:testIEcompatible().clientWidth-10;doc_height=(window.innerHeight&&voirflocons=="windowheight")?window.innerHeight:(ie4up&&voirflocons=="windowheight")?testIEcompatible().clientHeight:(ie4up&&!window.opera&&voirflocons=="pageheight")?testIEcompatible().scrollHeight:testIEcompatible().offsetHeight;for(i=0;i<nombreflocons;++i){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()}dx[i]+=stx[i];document.getElementById("dot"+i).style.top=yp[i]+"px";document.getElementById("dot"+i).style.left=xp[i]+am[i]*Math.sin(dx[i])+"px"}snowtimer=setTimeout("neigeIE_NS6()",10)}function cacherneige(){if(window.snowtimer)clearTimeout(snowtimer)for(i=0;i<nombreflocons;i++)document.getElementById("dot"+i).style.visibility="hidden"}if(ie4up||ns6up){neigeIE_NS6();if(cacherflocons>0)setTimeout("cacherneige()",cacherflocons*1000)}var jaaspeel={};jaaspeel.ad_url=escape("http://phalene.forumperso.com/");jaaspeel.small_path="http://perso.numericable.fr/antonywar/small.swf";jaaspeel.small_image=escape("http://www.seigneursdelavallee.com/forum/coeur3.png");jaaspeel.small_width="100";jaaspeel.small_height="100";jaaspeel.small_params="ico="+jaaspeel.small_image;jaaspeel.big_path="http://perso.numericable.fr/antonywar/large.swf";jaaspeel.big_image=escape("http://www.seigneursdelavallee.com/forum/coeur3.png");jaaspeel.big_width="650";jaaspeel.big_height="650";jaaspeel.big_params="big="+jaaspeel.big_image+"&ad_url="+jaaspeel.ad_url;function sizeup987(){document.getElementById("jcornerBig").style.top="0px";document.getElementById("jcornerSmall").style.top="-1000px"}function sizedown987(){document.getElementById("jcornerSmall").style.top="0px";document.getElementById("jcornerBig").style.top="-1000px"}jaaspeel.putObjects=function(){document.write('<div id="jcornerSmall" style="position:absolute;width:'+jaaspeel.small_width+"px;height:"+jaaspeel.small_height+'px;z-index:10000;right:0px;top:0px;">');document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');document.write(' id="jcornerSmallObject" width="'+jaaspeel.small_width+'" height="'+jaaspeel.small_height+'">');document.write(' <param name="allowScriptAccess" value="always"/> ');document.write(' <param name="movie" value="'+jaaspeel.small_path+"?"+jaaspeel.small_params+'"/>');document.write(' <param name="wmode" value="transparent" />');document.write(' <param name="quality" value="high" /> ');document.write(' <param name="FlashVars" value="'+jaaspeel.small_params+'"/>');document.write('<embed src="'+jaaspeel.small_path+"?"+jaaspeel.small_params+'" name="jcornerSmallObject" wmode="transparent" quality="high" width="'+jaaspeel.small_width+'" height="'+jaaspeel.small_height+'" flashvars="'+jaaspeel.small_params+'" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');document.write("</object></div>");document.write("<\/script>");document.write('<div id="jcornerBig" style="position:absolute;width:'+jaaspeel.big_width+"px;height:"+jaaspeel.big_height+'px;z-index:10000;right:0px;top:0px;">');document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');document.write(' id="jcornerBigObject" width="'+jaaspeel.big_width+'" height="'+jaaspeel.big_height+'">');document.write(' <param name="allowScriptAccess" value="always"/> ');document.write(' <param name="movie" value="'+jaaspeel.big_path+"?"+jaaspeel.big_params+'"/>');document.write(' <param name="wmode" value="transparent"/>');document.write(' <param name="quality" value="high" /> ');document.write(' <param name="FlashVars" value="'+jaaspeel.big_params+'"/>');document.write('<embed src="'+jaaspeel.big_path+"?"+jaaspeel.big_params+'" id="jcornerBigEmbed" name="jcornerBigObject" wmode="transparent" quality="high" width="'+jaaspeel.big_width+'" height="'+jaaspeel.big_height+'" flashvars="'+jaaspeel.big_params+'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');document.write("</object></div>");setTimeout('document.getElementById("jcornerBig").style.top = "-1000px";',1E3)};jaaspeel.putObjects();function SWFLayer(){this.swf_url="";this.swf_id="Flash";this.layer_name="";this.xx=0;this.yy=0;this.width=1;this.height=1;this.zIndex=2;this.body=document['CSS1Compat'==document.compatMode?'documentElement':'body'];this._oLayer="";this.flashvars_labels=[];this.flashvars_values=[];this._ww_full_flg="false";this._hh_full_flg="false"}SWFLayer.prototype._createFlashVarsValue=function(){var value="browser="+this._checkBrowser()+"&";var flashvars_labels=this.flashvars_labels;var flashvars_values=this.flashvars_values;for(var i=0;i<flashvars_labels.length;i++){value+=flashvars_labels[i]+"="+flashvars_values[i]+"&"}value=value.substring(0,value.length-1);return value};SWFLayer.prototype.create=function(){var swf_url=this.swf_url;var swf_id=this.swf_id;var layer_name=this.layer_name;var html="";html+="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='100%' height='100%' id='"+swf_id+"' align='middle'>";html+="<param name='allowScriptAccess' value='always' />";if(this.flashvars_labels.length>0){html+="<param name='flashvars' value='"+this._createFlashVarsValue()+"'>"}html+="<param name='movie' value='"+swf_url+"' /><param name='scale' value='noscale' /><param name='salign' value='lt' /><param name='quality' value='high' /><param name='wmode' value='transparent' /><embed src='"+swf_url+"' quality='high' scale='noscale' salign='lt' wmode='transparent' width='100%' height='100%' name='"+swf_id+"' id='"+swf_id+"' swLiveConnect=true align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'";if(this.flashvars_labels.length>0){html+=" flashvars='"+this._createFlashVarsValue()+"'"}html+="/>";html+="</object>";var oLayer=document.createElement('div');oLayer.setAttribute('id',layer_name);oLayer.innerHTML=html;oLayer.style.position='absolute';oLayer.style.zIndex=this.zIndex;document.body.appendChild(oLayer);this._oLayer=oLayer};SWFLayer.prototype._checkBrowser=function(){var uName=navigator.userAgent;if(uName.indexOf("Safari")>-1)return"Safari";if(uName.indexOf("MSIE")>-1){return"MSIE"}return"Netscape"};SWFLayer.prototype.setSize=function(ww,hh){var browser=this._checkBrowser();if(ww=='full'){this._ww_full_flg="true";if(browser=="MSIE"){this.width=this.body.clientWidth}else if(browser=="Netscape"){this.width=window.innerWidth-17}else{this.width=window.innerWidth}}else{this._ww_full_flg="false";this.width=ww}if(hh=='full'){this._hh_full_flg="true";if(browser=="MSIE"){this.height=this.body.clientHeight}else if(browser=="Netscape"){this.height=window.innerHeight-17}else{this.height=window.innerHeight}}else{this._hh_full_flg="false";this.height=hh}this._oLayer.style.width=this.width+'px';this._oLayer.style.height=this.height+'px'};SWFLayer.prototype.setPos=function(xx,yy){var browser=this._checkBrowser();this.xx=xx;this.yy=yy;if(browser=="MSIE"){this._oLayer.style.left=this.xx+this.body.scrollLeft+'px';this._oLayer.style.top=this.yy+this.body.scrollTop+'px'}else{this._oLayer.style.left=this.xx+pageXOffset+'px';this._oLayer.style.top=this.yy+pageYOffset+'px'}};SWFLayer.prototype.setPosFixed=function(xx,yy){this.xx=xx;this.yy=yy;this._oLayer.style.left=this.xx+'px';this._oLayer.style.top=this.yy+'px'};SWFLayer.prototype.setdPos=function(d_xx,d_yy){this.xx+=d_xx;this.yy+=d_yy;this.setPos(this.xx,this.yy)};SWFLayer.prototype.setWindowAlign=function(str){var browser=this._checkBrowser();if(str=='right'){if(browser=="MSIE"){this.xx=this.body.clientWidth-this.width}else{this.xx=window.innerWidth-this.width;if(browser=="Netscape"){this.xx-=17}}}else{if(browser=="MSIE"){this.xx=0}else{this.xx=0}}this.setPos(this.xx,this.yy)};SWFLayer.prototype.setWindowAlignFixed=function(str){var browser=this._checkBrowser();if(str=='right'){if(browser=="MSIE"){this.xx=this.body.clientWidth-this.width+this.body.scrollLeft}else{this.xx=window.innerWidth-this.width+pageXOffset;if(browser=="Netscape"){this.xx-=17}}}else{if(browser=="MSIE"){this.xx=0}else{this.xx=0}}this.setPosFixed(this.xx,this.yy)};SWFLayer.prototype.setWindowValign=function(str){var browser=this._checkBrowser();if(str=='bottom'){if(browser=="MSIE"){this.yy=this.body.clientHeight-this.height}else{this.yy=window.innerHeight-this.height;if(browser=="Netscape"){this.yy-=17}}}else{if(browser=="MSIE"){this.yy=0}else{this.yy=0}}this.setPos(this.xx,this.yy)};SWFLayer.prototype.setWindowValignFixed=function(str){var browser=this._checkBrowser();if(str=='bottom'){if(browser=="MSIE"){this.yy=this.body.scrollHeight-this.height}else{this.yy=this.body.offsetHeight-this.height;if(browser=="Netscape"){this.yy-=17}}}else{if(browser=="MSIE"){this.yy=0}else{this.yy=0}}this.setPosFixed(this.xx,this.yy)};SWFLayer.prototype.setVisible=function(str){this._oLayer.style.visibility=str};SWFLayer.prototype.correctWindowSize=function(str){if(this._ww_full_flg=="true"&&this._hh_full_flg=="true"){this.setSize("full","full")}else if(this._ww_full_flg=="true"){this.setSize("full",this.height)}else if(this._hh_full_flg=="true"){this.setSize(this.width,"full")}};function eventObserve(obj,e,func,bool){if(obj.addEventListener){obj.addEventListener(e,func,bool)}else if(obj.attachEvent){obj.attachEvent("on"+e,func)}}var noel_deco="";var noel_deco_flashvars_labels=["myUrl"];var noel_deco_flashvars_values=[location.host];var noel_deco_zIndex=1;function loadnoeldeco(data){noel_deco=new SWFLayer();noel_deco.zIndex=noel_deco_zIndex;noel_deco.swf_url="http://www.seigneursdelavallee.com/forum/FRAISE2.png";noel_deco.swf_id="noel_deco_swf";noel_deco.layer_name="noel_deco";noel_deco.flashvars_labels=noel_deco_flashvars_labels;noel_deco.flashvars_values=noel_deco_flashvars_values;noel_deco.create();noel_deco.setSize(260,277);noel_deco.setWindowAlignFixed('left');noel_deco.setWindowValignFixed('top');if(checkBrowser()=="Safari"){window.resizeBy(1,0)}}eventObserve(window,'load',loadnoeldeco,false);function scrollnoeldeco(){noel_deco.setWindowAlignFixed('left')}eventObserve(window,'scroll',scrollnoeldeco,false);function resizenoeldeco(){noel_deco.setWindowAlignFixed('left')}eventObserve(window,'resize',resizenoeldeco,false);document.getElementsByTagName("html")[0].style.overflow="scroll";function hidenoel_deco(){noel_deco.setVisible("hidden")}function setClose(){noel_deco.setSize(0,0)}function checkBrowser(){var uName=navigator.userAgent;if(uName.indexOf("Safari")>-1)return"Safari";if(uName.indexOf("MSIE")>-1){return"MSIE"}return"Netscape"};var snowsrc="http://www.seigneursdelavallee.com/forum/oeuf.gif";var no=10;var hidesnowtime=0;var snowdistance="pageheight";var ie4up=document.all?1:0;var ns6up=document.getElementById&&!document.all?1:0;function iecompattest(){return document.compatMode&&document.compatMode!="BackCompat"?document.documentElement:document.body}var dx,xp,yp;var am,stx,sty;var i,doc_width=800,doc_height=600;if(ns6up){doc_width=self.innerWidth;doc_height=self.innerHeight}else{if(ie4up){doc_width=iecompattest().clientWidth;doc_height=iecompattest().clientHeight}}dx=new Array;xp=new Array;yp=new Array;am=new Array;stx=new Array;sty=new Array;snowsrc=snowsrc.indexOf("fdf.aidactif.fr")!=-1?"http://fdf.aidactif.fr/paque/p6.png":snowsrc;for(i=0;i<no;++i){dx[i]=0;xp[i]=Math.random()*(doc_width-50);yp[i]=Math.random()*doc_height;am[i]=Math.random()*20;stx[i]=0.02+Math.random()/10;sty[i]=0.7+Math.random();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://fdf.aidactif.fr"><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 snowIE_NS6(){doc_width=ns6up?window.innerWidth-10:iecompattest().clientWidth-10;doc_height=window.innerHeight&&snowdistance=="windowheight"?window.innerHeight:ie4up&&snowdistance=="windowheight"?iecompattest().clientHeight:ie4up&&!window.opera&&snowdistance=="pageheight"?iecompattest().scrollHeight:iecompattest().offsetHeight;for(i=0;i<no;++i){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()}dx[i]+=stx[i];document.getElementById("dot"+i).style.top=yp[i]+"px";document.getElementById("dot"+i).style.left=xp[i]+am[i]*Math.sin(dx[i])+"px"}snowtimer=setTimeout("snowIE_NS6()",10)}function hidesnow(){if(window.snowtimer){clearTimeout(snowtimer)}for(i=0;i<no;i++){document.getElementById("dot"+i).style.visibility="hidden"}}if(ie4up||ns6up){snowIE_NS6();if(hidesnowtime>0){setTimeout("hidesnow()",hidesnowtime*1E3)}};function SWFLayer(){this.swf_url="";this.swf_id="Flash";this.layer_name="";this.xx=0;this.yy=0;this.width=1;this.height=1;this.zIndex=2;this.body=document['CSS1Compat'==document.compatMode?'documentElement':'body'];this._oLayer="";this.flashvars_labels=[];this.flashvars_values=[];this._ww_full_flg="false";this._hh_full_flg="false"}SWFLayer.prototype._createFlashVarsValue=function(){var value="browser="+this._checkBrowser()+"&";var flashvars_labels=this.flashvars_labels;var flashvars_values=this.flashvars_values;for(var i=0;i<flashvars_labels.length;i++){value+=flashvars_labels[i]+"="+flashvars_values[i]+"&"}value=value.substring(0,value.length-1);return value};SWFLayer.prototype.create=function(){var swf_url=this.swf_url;var swf_id=this.swf_id;var layer_name=this.layer_name;var html="";html+="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='100%' height='100%' id='"+swf_id+"' align='middle'>";html+="<param name='allowScriptAccess' value='always' />";if(this.flashvars_labels.length>0){html+="<param name='flashvars' value='"+this._createFlashVarsValue()+"'>"}html+="<param name='movie' value='"+swf_url+"' /><param name='scale' value='noscale' /><param name='salign' value='lt' /><param name='quality' value='high' /><param name='wmode' value='transparent' /><embed src='"+swf_url+"' quality='high' scale='noscale' salign='lt' wmode='transparent' width='100%' height='100%' name='"+swf_id+"' id='"+swf_id+"' swLiveConnect=true align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'";if(this.flashvars_labels.length>0){html+=" flashvars='"+this._createFlashVarsValue()+"'"}html+="/>";html+="</object>";var oLayer=document.createElement('div');oLayer.setAttribute('id',layer_name);oLayer.innerHTML=html;oLayer.style.position='absolute';oLayer.style.zIndex=this.zIndex;document.body.appendChild(oLayer);this._oLayer=oLayer};SWFLayer.prototype._checkBrowser=function(){var uName=navigator.userAgent;if(uName.indexOf("Safari")>-1)return"Safari";if(uName.indexOf("MSIE")>-1){return"MSIE"}return"Netscape"};SWFLayer.prototype.setSize=function(ww,hh){var browser=this._checkBrowser();if(ww=='full'){this._ww_full_flg="true";if(browser=="MSIE"){this.width=this.body.clientWidth}else if(browser=="Netscape"){this.width=window.innerWidth-17}else{this.width=window.innerWidth}}else{this._ww_full_flg="false";this.width=ww}if(hh=='full'){this._hh_full_flg="true";if(browser=="MSIE"){this.height=this.body.clientHeight}else if(browser=="Netscape"){this.height=window.innerHeight-17}else{this.height=window.innerHeight}}else{this._hh_full_flg="false";this.height=hh}this._oLayer.style.width=this.width+'px';this._oLayer.style.height=this.height+'px'};SWFLayer.prototype.setPos=function(xx,yy){var browser=this._checkBrowser();this.xx=xx;this.yy=yy;if(browser=="MSIE"){this._oLayer.style.left=this.xx+this.body.scrollLeft+'px';this._oLayer.style.top=this.yy+this.body.scrollTop+'px'}else{this._oLayer.style.left=this.xx+pageXOffset+'px';this._oLayer.style.top=this.yy+pageYOffset+'px'}};SWFLayer.prototype.setPosFixed=function(xx,yy){this.xx=xx;this.yy=yy;this._oLayer.style.left=this.xx+'px';this._oLayer.style.top=this.yy+'px'};SWFLayer.prototype.setdPos=function(d_xx,d_yy){this.xx+=d_xx;this.yy+=d_yy;this.setPos(this.xx,this.yy)};SWFLayer.prototype.setWindowAlign=function(str){var browser=this._checkBrowser();if(str=='right'){if(browser=="MSIE"){this.xx=this.body.clientWidth-this.width}else{this.xx=window.innerWidth-this.width;if(browser=="Netscape"){this.xx-=17}}}else{if(browser=="MSIE"){this.xx=0}else{this.xx=0}}this.setPos(this.xx,this.yy)};SWFLayer.prototype.setWindowAlignFixed=function(str){var browser=this._checkBrowser();if(str=='right'){if(browser=="MSIE"){this.xx=this.body.clientWidth-this.width+this.body.scrollLeft}else{this.xx=window.innerWidth-this.width+pageXOffset;if(browser=="Netscape"){this.xx-=17}}}else{if(browser=="MSIE"){this.xx=0}else{this.xx=0}}this.setPosFixed(this.xx,this.yy)};SWFLayer.prototype.setWindowValign=function(str){var browser=this._checkBrowser();if(str=='bottom'){if(browser=="MSIE"){this.yy=this.body.clientHeight-this.height}else{this.yy=window.innerHeight-this.height;if(browser=="Netscape"){this.yy-=17}}}else{if(browser=="MSIE"){this.yy=0}else{this.yy=0}}this.setPos(this.xx,this.yy)};SWFLayer.prototype.setWindowValignFixed=function(str){var browser=this._checkBrowser();if(str=='bottom'){if(browser=="MSIE"){this.yy=this.body.scrollHeight-this.height}else{this.yy=this.body.offsetHeight-this.height;if(browser=="Netscape"){this.yy-=17}}}else{if(browser=="MSIE"){this.yy=0}else{this.yy=0}}this.setPosFixed(this.xx,this.yy)};SWFLayer.prototype.setVisible=function(str){this._oLayer.style.visibility=str};SWFLayer.prototype.correctWindowSize=function(str){if(this._ww_full_flg=="true"&&this._hh_full_flg=="true"){this.setSize("full","full")}else if(this._ww_full_flg=="true"){this.setSize("full",this.height)}else if(this._hh_full_flg=="true"){this.setSize(this.width,"full")}};function eventObserve(obj,e,func,bool){if(obj.addEventListener){obj.addEventListener(e,func,bool)}else if(obj.attachEvent){obj.attachEvent("on"+e,func)}}var noel_deco="";var noel_deco_flashvars_labels=["myUrl"];var noel_deco_flashvars_values=[location.host];var noel_deco_zIndex=1;function loadnoeldeco(data){noel_deco=new SWFLayer();noel_deco.zIndex=noel_deco_zIndex;noel_deco.swf_url="http://www.seigneursdelavallee.com/forum/cerises3.png";noel_deco.swf_id="noel_deco_swf";noel_deco.layer_name="noel_deco";noel_deco.flashvars_labels=noel_deco_flashvars_labels;noel_deco.flashvars_values=noel_deco_flashvars_values;noel_deco.create();noel_deco.setSize(260,277);noel_deco.setWindowAlignFixed('left');noel_deco.setWindowValignFixed('top');if(checkBrowser()=="Safari"){window.resizeBy(1,0)}}eventObserve(window,'load',loadnoeldeco,false);function scrollnoeldeco(){noel_deco.setWindowAlignFixed('left')}eventObserve(window,'scroll',scrollnoeldeco,false);function resizenoeldeco(){noel_deco.setWindowAlignFixed('left')}eventObserve(window,'resize',resizenoeldeco,false);document.getElementsByTagName("html")[0].style.overflow="scroll";function hidenoel_deco(){noel_deco.setVisible("hidden")}function setClose(){noel_deco.setSize(0,0)}function checkBrowser(){var uName=navigator.userAgent;if(uName.indexOf("Safari")>-1)return"Safari";if(uName.indexOf("MSIE")>-1){return"MSIE"}return"Netscape"};
1

demeter1

demeter1
Membre actif

Masculin
Messages : 8993
Inscrit(e) le : 23/01/2009

https://altitudetropicale.forums-actifs.com/
demeter1 a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Drapeau

Message par MasDan Dim 13 Juil 2014 - 15:56

Bonjour,

Le problème viens d'un autre script en erreur, ce qui provoque l'arrêt du javascript.

La console d'erreur de Firefox donne ceci.
Drapeau  Script10

Repérer et déactiver dans vos javascript le script qui débute par la ligne surlignée en bleu; fort probablement un script.
Drapeau  Script11

Cet erreur pourrait être la cause qui empêche le script fourni par Neptune.


Oups. pas vu le message de Demeter1
MasDan

MasDan
Membre habitué

Masculin
Messages : 1538
Inscrit(e) le : 24/05/2011

http://projetAumMdn.forumactif.com
MasDan a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Drapeau

Message par melody39 Dim 13 Juil 2014 - 16:11

Merci ; je vais aller voir çà de plus près

melody39

melody39
***

Féminin
Messages : 149
Inscrit(e) le : 10/02/2008

http://phalenes.forumsactifs.com
melody39 a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Drapeau

Message par melody39 Dim 13 Juil 2014 - 16:31

Voilà : j'ai trouvé le script "coupable" et du coup, cela m'a déclenché tous les scripts que j'avais en attente et qui ne fonctionnait pas ! Je suis bien contente

Mille mercis Demeter et MasDan



melody39

melody39
***

Féminin
Messages : 149
Inscrit(e) le : 10/02/2008

http://phalenes.forumsactifs.com
melody39 a été remercié(e) par l'auteur de ce sujet.

Voir le sujet précédent Voir le sujet suivant Revenir en haut


Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum