Bonjour,
Je suis loin d'être un expert en matiere de scripte.
Allors la j'ai besoin d'aide....
Voila, depuis peux, à chaque fois que je clic sur un lien image j'ai un message d'erreure me demandant un debogage de scripte....
Je suis la procedure, et un editeur s'ouvre.
L'editeur s'arrete sur une line qui aparament pose probleme a l'execution de ce sripte....
Voila la totalité de ce code
Citation:
var wbo_iswbmstr=0;
if (wbo1_pub_loaded==1)
{
var wbo1tsp = parseInt(1000000*Math.random()+1);
var wbo1_pL = 11;
var wbo1_pH = 50;
var wbo1_wH = screen.height;
var wbo1_wL = screen.width;
if (wbo1_wL < 600) {wbo1_wL=600;}
if (wbo1_wL < 400) {wbo1_wL=400;}
if (wbo1_pL > wbo1_wL) {wbo1_pL = wbo1_wL;}
if (wbo1_pH > wbo1_wH) {wbo1_pH = wbo1_wH;}
wbo1_uwpub='http://www.weborama.fr/recherche/';
if(document.cookie.indexOf('wbo1pubv=1')==-1){
var wbo1_xP = parseInt((wbo1_wL - wbo1_pL)/2);
var wbo1_yP = parseInt((wbo1_wH - wbo1_pH)/2);
var wbo1_yt = wbo1_wH-10;
var wbo1_yt = 5000;
var wbo1_ch = '<HTML><HEAD><TITLE></TITLE></HEAD>'+
' <frameset border=0 framespacing=0 frameborder=0 rows="*,16">' +
' <frame name="wbo1pub" src="about:blank" scrolling=no noresize>' +
' <frame name="wbo1bas" src="about:blank" scrolling=no noresize>' +
'</frameset></HTML>';
var wbo1_pub_contenu = '<HEAD><TITLE></TITLE></HEAD>';
var wbo1_flash_ok = 0;var wbo1_ban = 1601;var wbo1_w = 0;var wbo1_h = 0;var wbo1_alt = "";
if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin)
{
if (navigator.plugins && navigator.plugins["Shockwave Flash"])
{
wbo1_flash_ok = 1;
}
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Win")>=0))
{
document.write('<script LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('wbo1_flash_ok =0 \n');
document.write('For i = 9 To 4 Step -1 \n');
document.write(' wbo1_flash_ok = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFla sh." & i))) \n');
document.write(' If (wbo1_flash_ok) Then \n');
document.write(' Exit For \n');
document.write(' End If \n');
document.write('Next \n');
document.write('</SCRIPT\> \n');
}
var wbo1_pub_contenu2='<BODY BGCOLOR="#FFFFFF" leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 marginheight=0 marginwidth=0>';
if(wbo1_flash_ok) {
wbo1_pub_contenu2=wbo1_pub_contenu2+'<OBJECT classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH='+wbo1_w+' HEIGHT='+wbo1_h+' align="middle" id="bigpopup">'+'<param name="allowScriptAccess" value="sameDomain">'+'<PARAM NAME=movie VALUE="?clk=http://gold.weborama.fr/fcgi-bin/aimfar_clic.fcgi?ID_BAN='+wbo1_ban+'"> <PARAM NAME=quality VALUE=high> <EMBED src="?clk=http://gold.weborama.fr/fcgi-bin/aimfar_clic.fcgi?ID_BAN='+wbo1_ban+'" quality=high WIDTH='+wbo1_w+' HEIGHT='+wbo1_h+' bgcolor="#0066cc" name="bigpopup" align="middle" allowscriptaccess="sameDomain" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>'+'</OBJECT>';
} else {
wbo1_pub_contenu2=wbo1_pub_contenu2+'[img][/img]';
}
wbo1_pub_contenu2=wbo1_pub_contenu2+'</BODY></HTML>';
var fs_wbo1_param = 'scrollbars=no,width=10,height=10,left=100,top='+w bo1_yt;
var fs_wbo1_pub = 0;
wbo1_pr_div_inter(300, 250);
if (wbo1_open_pop==1)
{
fs_wbo1_pub = window.open('','',fs_wbo1_param);
self.focus();
if (fs_wbo1_pub != null)
{
fs_wbo1_pub.moveTo(wbo1_xP,wbo1_yP);
fs_wbo1_pub.resizeTo(wbo1_pL,wbo1_pH);
fs_wbo1_pub.document.write(wbo1_ch);
fs_wbo1_pub.document.close();
fs_wbo1_pub.frames[0].document.write(wbo1_pub_contenu);
fs_wbo1_pub.frames[0].document.write(wbo1_pub_contenu2);
fs_wbo1_pub.frames[1].location=wbo1_uwpub;
}
}
document.cookie='wbo1pubv=1; path=/';}
|
La ligne posant probleme est
Citation:
fs_wbo1_pub.moveTo(wbo1_xP,wbo1_yP);
|
Donc voila enfin les quetions
Ce scripte fait aparament reference a des PopUp et coukies
j'ai fait un netoyage de coukies et cela ne regle rien.
Ce sripte ne semble pas indispensable au bon foctionnement de mon IE
Sinon comment reparer ou que reinstaller pour resoudre ce PB
Merci de vos reponces
@+ YvesP