Here's the .js file: menu_name=new Array(); menu_link=new Array(); menu_name[1]="Link 1"; menu_link[1]="http://www.site.com"; menu_name[2]="Link 2"; menu_link[2]="]="http://www.site.com"; menu_name[3]="Link 3"; menu_link[3]="]="http://www.site.com"; menu_name[4]="Link 4"; menu_link[4]="]="http://www.site.com"; menu_name[5]="Link 5"; menu_link[5]="]="http://www.site.com"; menu_name[6]="Link 6"; menu_link[6]="]="http://www.site.com"; menu_name[7]="Link 7"; menu_link[7]="]="http://www.site.com"; menu_name[8]="Link 8"; menu_link[8]="]="http://www.site.com"; menu_name[9]="Link 9"; menu_link[9]="]="http://www.site.com"; for (cur=1;cur<menu_name.length;cur++) { document.write("<TABLE cellSpacing=0 cellPadding=0 width=170 bgColor=#f8f7f5 border=0>"); document.write("<TBODY>"); document.write("<TR class=button_level1_main_1 id=menu_"+(cur-1)+" onmouseover=\"ov_M_main('menu_"+(cur-1)+"')\" onclick=\"document.location.href='"+menu_link[cur]+"'\" onmouseout=\"ot_M_main('menu_"+(cur-1)+"','button_level1_main_1')\">"); document.write("<TD vAlign=center align=left height=20>"); document.write("<TABLE height=1 cellSpacing=0 cellPadding=0 width=170 bgColor=#ffffff border=0>"); document.write("<TBODY>"); document.write("<TR>"); document.write("<TD vAlign=center align=middle width=20></TD>"); document.write("<TD></TD></TR></TBODY></TABLE>"); document.write('<TABLE height="100%" cellSpacing=0 cellPadding=0 width=170 border=0>'); document.write("<TBODY>"); document.write("<TR>"); document.write('<TD vAlign=center align=middle width=20><IMG height=7 src="images/arrow_black_nofill.gif" width=7></TD>'); document.write('<TD>'); document.write('<TABLE cellSpacing=3 cellPadding=0 width="100%" border=0>'); document.write('<TBODY>'); document.write('<TR>'); document.write('<TD>'+menu_name[cur]+'</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>'); } I tried to post a thread for some help in the Design area, but so far no responses. I'm willing to pay for some help.
I was bored, So Did it for free, or if you want you can pay me lol... <html> <head> </head> <body bgcolor="red"><table cellpadding="22" border="0"> <tr><td bgcolor="#EFFF5F"> <p> <font size="+2"><b><font color="#3303FF">m</font></b></font> <font color="<font color="blue"><a href="http://www.site.com";<br">207183">enu_name=new Array();<br />menu_link=new Array();<br />menu_name[1]="Link 1";<br />menu_link[1]=" />menu_name[2]="Link 2";<br />menu_link[2]="]=" http://www.site.com";<br />menu_name[3]="Link 3";<br />menu_link[3]="]=" http://www.site.com";<br />menu_name[4]="Link 4";<br />menu_link[4]="]=" http://www.site.com";<br />menu_name[5]="Link 5";<br />menu_link[5]="]=" http://www.site.com";<br />menu_name[6]="Link 6";<br />menu_link[6]="]=" http://www.site.com";<br />menu_name[7]="Link 7";<br />menu_link[7]="]=" http://www.site.com";<br />menu_name[8]="Link 8";<br />menu_link[8]="]=" http://www.site.com";<br />menu_name[9]="Link 9";<br />menu_link[9]="]=" http://www.site.com"; </font></p> <p> <font size="+2"><b><font color="</a></font>FFB030">f</font></b></font> <font color="#596919">or (cur=1;cur </font></p> <menu_name.length;cur++) { document.write("<TABLE cellSpacing=0 cellPadding=0 width=170 bgColor=#f8f7f5 border=0>"); document.write("<TBODY>"); document.write("<TR class=button_level1_main_1 id=menu_"+(cur-1)+" onmouseover=\"ov_M_main('menu_"+(cur-1)+"')\" onclick=\"document.location.href='"+menu_link[cur]+"'\" onmouseout=\"ot_M_main('menu_"+(cur-1)+"','button_level1_main_1')\">"); document.write("<TD vAlign=center align=left height=20>"); document.write("<TABLE height=1 cellSpacing=0 cellPadding=0 width=170 bgColor=#ffffff border=0>"); document.write("<TBODY>"); document.write("<TR>"); document.write("<TD vAlign=center align=middle width=20></TD>"); document.write("<TD></TD></TR></TBODY></TABLE>"); document.write('<TABLE height="100%" cellSpacing=0 cellPadding=0 width=170 border=0>'); document.write("<TBODY>"); document.write("<TR>"); document.write('<TD vAlign=center align=middle width=20><IMG height=7 src="images/arrow_black_nofill.gif" width=7></TD>'); document.write('<TD>'); document.write('<TABLE cellSpacing=3 cellPadding=0 width="100%" border=0>'); document.write('<TBODY>'); document.write('<TR>'); document.write('<TD>'+menu_name[cur]+'</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>'); } <p> </p></td></tr> </table></body> </html>
I haven't tried it, but I was looking to get rid of the "document.write" and menu link numbers. That's not straight html, is it?
I wasn't talking about your actual code "xyphlo", i was talking to "ricepudding9" because the code which he did for FREE while he was getting bored is not working, so I wanted to know whether he tested it before posting it here