В XP не работает скрипт. ПомогитеПодскажите, почему у меня не работает в XP такой скрипт(в 2K работает), и что можно сделать, чтобы отображались подобные вещи: a=new Array('H1','H2','H3','H4','Bold','Italic','Superscript','Subscript','Underline','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','InsertUnorderedList','InsertOrderedList','Indent','Outdent','CreateLink','InsertHorizontalRule','RemoveFormat',"InsertTable","InsertImage"); b=new Array(0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0); for (i=0;i<22;i++) {document.write("<TD><INPUT type=button style=\"width:22; height:22;background-image: url(images/"+a[i]+".gif)\" OnClick=\"SetStyle ('"+a[i]+"')\" TITLE="+a[i]+"></TD>" ); if (b[i]) document.write('<TD><IMG SRC="images/vline.gif" WIDTH="8" HEIGHT="20" BORDER=0></TD>'); } |