Sono asolutamente inseperta, uso macromedia dreamweaber.
ho un file html che non vorrei cambiare impostato con tabelle, in una tabella ho inserito questo script
-
<script language="JavaScript" type="text/JavaScript">
document.write('<STYLE TYPE="text/css">\na.mv2style {color:#ffffff;text-decoration:none;}\na:hover.mv2style {color:#333333;text-decoration:underlined;}\n</STYLE>');
mv2_menu = new Array();
mv2_lien = new Array();
mv2_menu[0] = '<b>Lombardia Uno</b>';
mv2_menu[1] = '<b>Coerver Coaching</b>';
mv2_menu[2] = '<b>Tornei</b>';
mv2_menu[3] = '<b>Beach Volley</b>';
mv2_menu[4] = '<b>Beach Tennis</b>';
mv2_menu[5] = '<b>........</b>';
mv2_menu[6] = '<b>Ginnastica artistica</b>';
mv2_menu[7] = '<b>Free Climbing</b>';
mv2_lien[0] = '<A HREF="http://www.html.it" CLASS=mv2style TARGET="_self"> . Home page</A><BR>'
mv2_lien[1] = '<A HREF="http://freephp.html.it" CLASS=mv2style TARGET="_self"> . Freephp</A><BR>'
mv2_lien[2] = '<A HREF="http://forum.html.it/forum/forumdisplay.php?s=&forumid=39" CLASS=mv2style TARGET="_self"> . Forum Php</A><BR>';
mv2_lien[1] += '<A HREF="http://freeasp.html.it" CLASS=mv2style TARGET="_self"> . Freeasp</A><BR>';
mv2_lien[1] += '<A HREF="http://cgipoint.html.it/" CLASS=mv2style TARGET="_self"> . Cgipoint</A><BR>';
mv2_lien[2] += '<A HREF="http://forum.html.it/forum/forumd?????????<!Display.php?s=&forumid=1" CLASS=mv2style TARGET="_self"> . Forum Html</A><BR>';
mv2_lien[2] += '<A HREF="http://forum.html.it/forum/forumdisplay.php?s=&forumid=7" CLASS=mv2style TARGET="_self"> . Discussioni Off Topic</A><BR>';
mv2_pos = -1;
function mv2_menu_draw()
{
mv2_aff = "<TABLE BORDER=0 BGCOLOR=#ffffff CELLPADDING=0 CELLSPACING=0 WIDTH=200><TR><TD><TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=100%>";
for(a=0;a<mv2_menu.length;a++)
{
if(mv2_pos == a || !document.getElementById)
bgcolor = "#CC0000";
else
bgcolor = "#000000";
if(document.getElementById)
mv2_aff += "<TR><TD BGCOLOR="+bgcolor+"><A HREF=\"#\" onMouseOver=\"mv2_pos="+a+";mv2_menu_draw()\" CLASS=mv2style><FONT FACE=\"Verdana\" SIZE=2>"+mv2_menu[a]+"</FONT></A></TD></TR>";
else
mv2_aff += "<TR><TD BGCOLOR="+bgcolor+"><FONT FACE=\"Verdana\" SIZE=2 COLOR=#000000>"+mv2_menu[a]+"</FONT></TD></TR>"
if(mv2_pos == a || !document.getElementById)
mv2_aff += "<TR><TD BGCOLOR="+bgcolor+"><FONT FACE=\"Verdana\" SIZE=1>"+mv2_lien[a]+"</FONT></TD></TR>";
}
mv2_aff += "</TABLE></TD></TR></TABLE>";
if(document.getElementById)
document.getElementById("mv2").innerHTML = mv2_aff;
else
document.write(mv2_aff);
}
mv2_menu_draw();
</script>-
per un menu ma non si vede!!!!
se invece metto solo quello in una pagina nuova sempre html si vede....!
cosa devo fare???
grazie
ho un file html che non vorrei cambiare impostato con tabelle, in una tabella ho inserito questo script
-
<script language="JavaScript" type="text/JavaScript">
document.write('<STYLE TYPE="text/css">\na.mv2style {color:#ffffff;text-decoration:none;}\na:hover.mv2style {color:#333333;text-decoration:underlined;}\n</STYLE>');
mv2_menu = new Array();
mv2_lien = new Array();
mv2_menu[0] = '<b>Lombardia Uno</b>';
mv2_menu[1] = '<b>Coerver Coaching</b>';
mv2_menu[2] = '<b>Tornei</b>';
mv2_menu[3] = '<b>Beach Volley</b>';
mv2_menu[4] = '<b>Beach Tennis</b>';
mv2_menu[5] = '<b>........</b>';
mv2_menu[6] = '<b>Ginnastica artistica</b>';
mv2_menu[7] = '<b>Free Climbing</b>';
mv2_lien[0] = '<A HREF="http://www.html.it" CLASS=mv2style TARGET="_self"> . Home page</A><BR>'
mv2_lien[1] = '<A HREF="http://freephp.html.it" CLASS=mv2style TARGET="_self"> . Freephp</A><BR>'
mv2_lien[2] = '<A HREF="http://forum.html.it/forum/forumdisplay.php?s=&forumid=39" CLASS=mv2style TARGET="_self"> . Forum Php</A><BR>';
mv2_lien[1] += '<A HREF="http://freeasp.html.it" CLASS=mv2style TARGET="_self"> . Freeasp</A><BR>';
mv2_lien[1] += '<A HREF="http://cgipoint.html.it/" CLASS=mv2style TARGET="_self"> . Cgipoint</A><BR>';
mv2_lien[2] += '<A HREF="http://forum.html.it/forum/forumd?????????<!Display.php?s=&forumid=1" CLASS=mv2style TARGET="_self"> . Forum Html</A><BR>';
mv2_lien[2] += '<A HREF="http://forum.html.it/forum/forumdisplay.php?s=&forumid=7" CLASS=mv2style TARGET="_self"> . Discussioni Off Topic</A><BR>';
mv2_pos = -1;
function mv2_menu_draw()
{
mv2_aff = "<TABLE BORDER=0 BGCOLOR=#ffffff CELLPADDING=0 CELLSPACING=0 WIDTH=200><TR><TD><TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=100%>";
for(a=0;a<mv2_menu.length;a++)
{
if(mv2_pos == a || !document.getElementById)
bgcolor = "#CC0000";
else
bgcolor = "#000000";
if(document.getElementById)
mv2_aff += "<TR><TD BGCOLOR="+bgcolor+"><A HREF=\"#\" onMouseOver=\"mv2_pos="+a+";mv2_menu_draw()\" CLASS=mv2style><FONT FACE=\"Verdana\" SIZE=2>"+mv2_menu[a]+"</FONT></A></TD></TR>";
else
mv2_aff += "<TR><TD BGCOLOR="+bgcolor+"><FONT FACE=\"Verdana\" SIZE=2 COLOR=#000000>"+mv2_menu[a]+"</FONT></TD></TR>"
if(mv2_pos == a || !document.getElementById)
mv2_aff += "<TR><TD BGCOLOR="+bgcolor+"><FONT FACE=\"Verdana\" SIZE=1>"+mv2_lien[a]+"</FONT></TD></TR>";
}
mv2_aff += "</TABLE></TD></TR></TABLE>";
if(document.getElementById)
document.getElementById("mv2").innerHTML = mv2_aff;
else
document.write(mv2_aff);
}
mv2_menu_draw();
</script>-
per un menu ma non si vede!!!!
se invece metto solo quello in una pagina nuova sempre html si vede....!
cosa devo fare???
grazie