Ciao! Devo inserire per forza questo frammento di codice all'interno di un sito, ma è l'unica parte che non mi fà validare la pagina...ho provato a metterci le mani ma non riesco a risolverla, mi potete aiutare?
Vi ringrazio in anticipo...e spero di non portarvi via troppo tempo!!!
Thanks!
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td>
<script language="JavaScript" type="text/javascript">function passpara(){return '&id=394626&itembgcolor=0xFFFFFF&bordercolor=0x000 000&storewindowbgcolor=0xb8d6b6&toptextcolor=0xFFF FFF&bottomtextcolor=0xFFFFFF&stripcolor=0x516bc6&a uctionclosemessagecolor=0xff0000&emptyboxmessageco lor=0xFFFFFF&buttovercolor=0x660000&buttoutcolor=0 x00000AA&searchtitlecolor=0xFFFFFF&searchbuttbgcol or=0xc0c0c0&searchbutttextcolor=0x000000&searchbut tbordercolor=0x000000&itemhighlightcolor=0xfff000& navbuttonactivecolor=0x4bc1ee&navbuttonoutlinecolo r=0xff9900&navbuttoninactivebgcolor=0x000000&sitei d=101&cat=7297&baseurl='+escape(location.href.subs tring(0, location.href.lastIndexOf('/') + 1));} </script>
<script language="JavaScript" type="text/javascript"><!--
var flashVersion = window.flashVersion ? window.flashVersion : 0;
if (flashVersion <= 0)
{
var agent = navigator.userAgent.toLowerCase();
if (navigator.plugins != null && navigator.plugins.length > 0)
{
var flashPlugin = navigator.plugins['Shockwave Flash'];
if (typeof flashPlugin == 'object')
{
/*
need flash version 6 or higher (this code should work with future flash plugins.)
*/
if (flashPlugin.description.indexOf(' 5.') != -1)
flashVersion = 5;
else if (flashPlugin.description.indexOf(' 4.') != -1)
flashVersion = 4;
else if (flashPlugin.description.indexOf(' 3.') != -1)
flashVersion = 3;
else if (flashPlugin.description.indexOf(' 2.') != -1)
flashVersion = 2;
else if (flashPlugin.description.indexOf(' 1.') != -1)
flashVersion = 1;
else if (flashPlugin.description.indexOf(' 6.') != -1)
flashVersion = 6;
else if (flashPlugin.description.indexOf(' 7.') != -1)
flashVersion = 7;
else
flashVersion = 8;
}
}
else if (agent.indexOf('msie') != -1 && parseInt(navigator.appVersion) >= 4 && agent.indexOf('win')!=-1 && agent.indexOf('16bit')==-1)
{
if (window.sqHasFlash || typeof(window.andale_fv) != 'undefined')
{
if (window.sqHasFlash || andale_fv >= 6)
{
flashVersion = 6;
}
}
else
{
document.writeln('<scr' + 'ipt language="VBScript">');
document.writeln('on error resume next');
document.writeln('dim obFlash ');
document.writeln('set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.7")');
document.writeln('if IsObject(obFlash) then ');
document.writeln('flashVersion = 7 ');
document.writeln('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.6") end if ');
document.writeln('if flashVersion < 7 and IsObject(obFlash) then ');
document.writeln('flashVersion = 6 ');
document.writeln('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.5") end if ');
document.writeln('if flashVersion < 6 and IsObject(obFlash) then ');
document.writeln('flashVersion = 5 ');
document.writeln('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.4") end if ');
document.writeln('if flashVersion < 5 and IsObject(obFlash) then ');
document.writeln('flashVersion = 4 ');
document.writeln('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.3") end if ');
document.writeln('if flashVersion < 4 and IsObject(obFlash) then ');
document.writeln('flashVersion = 3 ');
document.writeln('end if ');
document.writeln('</scr' + 'ipt>');
}
}
}
if (flashVersion >= 6)
{
document.writeln('<table align="center" valign="top" border="0" cellspacing="0" cellpadding="0">');document.writeln('<tr><td width="247"><tr><td align="right" valign="top">');document.writeln('<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="540" HEIGHT="227" id="auctivastorewindow" ALIGN="middle">');document.writeln('<PARAM NAME=movie VALUE="http://asw.auctiva.com/StoreWindow_HScroller.swf">');document.writeln('<P ARAM NAME=FlashVars VALUE="'+passpara()+'">');document.writeln('<PARAM NAME=quality VALUE=high>');
document.writeln('<PARAM NAME=wmode VALUE=transparent>');
document.writeln('<PARAM NAME=allowScriptAccess VALUE=always>');document.writeln('<EMBED src="http://asw.auctiva.com/StoreWindow_HScroller.swf" FlashVars="'+passpara()+'"quality=high ');document.writeln('WIDTH="540" HEIGHT="227" NAME="auctivastorewindow" ALIGN="middle"');document.writeln('TYPE="applicati on/x-shockwave-flash"');document.writeln('PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');document.writeln('</EMBED>');
document.writeln('</OBJECT>');
document.writeln('</td></tr></table>');
}
else
{document.write('<div style="text-align:center"><table align="center"><tr><td>
</td><td height="21px" valign="middle" align="center"><font face="arial" size="2">Tommybike Store</font></td></tr></table></div>');}
//--></script>
<noscript><div style="text-align:center">
<table align="center"><tr><td></td>
<td height="21px" valign="middle" align="center"><font face="arial" size="2">cicli_drigani Store</font></td>
</tr></table></div></noscript>
</td>
</tr>
</tbody></table>