Помогите с кодом

Тема в разделе "PHP", создана пользователем sergey_prusov, 13 июл 2009.

Статус темы:
Закрыта.
Модераторы: latteo
  1. sergey_prusov

    sergey_prusov

    Регистр.:
    31 окт 2008
    Сообщения:
    205
    Симпатии:
    3
    В данном отрывке кода в Мазиле не нажимается ссылка на выбор цветов..подскажите пожалуйста как поправить...



    HTML:
    
    
    
    <tr>
    		<td>
    		
    		<input type="text" id="linkcolor" size="7" onKeyUp="return checkForm();" value="3366FF" /><img style="cursor: hand;" onclick="color('linkcolor.php');" src="/images/color_ico.gif" width="17" height="17" border="0" alt="Выбрать цвет" /> - Цвет ссылки объявлений
    
    		</td>
    		<td>
    		<input type="text" id="width" size="7" value="200" onKeyUp="return checkForm();" /> - Ширина блока
    		</td>
    	</tr>
    	<tr>
    		<td>
    		<input type="text" id="textcolor" size="7" value="000000" onKeyUp="return checkForm();" /><img style="cursor: hand;" onclick="color('textcolor.php');" src="/images/color_ico.gif" width="17" height="17" border="0" alt="Выбрать цвет" /> - Цвет текста объявления
    		</td>
    		<td>
    		<input type="text" id="count" size="7" onKeyUp="return checkForm();" value="5" /> - Кол-во объявлений
    		</td>
    	</tr>
    	<tr>
    		<td>
    		<input type="text" id="domencolor" size="7" onKeyUp="return checkForm();" value="009900" /><img style="cursor: hand;" onclick="color('domencolor.php');" src="/images/color_ico.gif" width="17" height="17" border="0" alt="Выбрать цвет" /> - Цвет домена объявления
    		</td>
    		<td>
    		<input type="text" id="ptlink" size="7" onKeyUp="return checkForm();" value="10" /> pt размер шрифта ссылки объявлений
    		</td>
    	</tr>
    	<tr>
    		<td>
    		<input type="text" id="foncolor" size="7" onKeyUp="return checkForm();" value="FFFFFF" /><img style="cursor: hand;" onclick="color('foncolor.php');" src="/images/color_ico.gif" width="17" height="17" border="0" alt="Выбрать цвет" /> - Цвет фона блока объявлений
    		</td>
    		<td>
    		<input type="text" id="pttext" size="7" onKeyUp="return checkForm();" value="8" /> pt размер текста объявления
    		</td>
    	</tr>
    	<tr>
    		<td>
    		<input type="text" id="bordercolor" size="7" onKeyUp="return checkForm();" value="CCCCCC" /><img style="cursor: hand;" onclick="color('bordercolor.php');" src="/images/color_ico.gif" width="17" height="17" border="0" alt="Выбрать цвет" /> - Цвет рамки блока объявлений
    		</td>
    		<td>
    		<input type="text" id="ptdomen" size="7" onKeyUp="return checkForm();" value="9" /> pt размер домена объявления
    		</td>
    	</tr>
    </table>
    </form>
    
    <table width="100%" style="margin-top: 25px;">
    	<tr>
    		<td style="padding-left: 20px; background:URL(/images/line_title.gif) no-repeat bottom left;"><b style="color: #999999; background-color: #ffffff; padding-left: 3px; padding-right: 3px;">Скопируйте код с формы и вставьте на Вашем сайте:</b></td>
    	</tr>
    	<tr>
    		<td><form method="post" action="" name="CodeForm">
    			<textarea id="code" name="code" style="width: 100%; height: 300px;"></textarea>
    		</form></td>
    	</tr>
    </table>
    <script type="text/javascript">
    	checkForm();
    </script>
     
  2. t0os

    t0os

    Регистр.:
    21 окт 2007
    Сообщения:
    284
    Симпатии:
    36
    Функцию color нам покажите. Или может ее вообще нет на странице?
     
  3. sergey_prusov

    sergey_prusov

    Регистр.:
    31 окт 2008
    Сообщения:
    205
    Симпатии:
    3
    вот linkcolor.php к примеру



    HTML:
    <html>
    <head>
    <title>Выберите цвет</title>
    <script language="javascript">
    var sData = dialogArguments;
    function _CloseOnEsc() {
      if (event.keyCode == 27) { window.close(); return; }
    }
    
    function Init() {
      document.body.onkeypress = _CloseOnEsc;
    
      color = window.dialogArguments;
      color = ValidateColor(color) || '000000';
      View(color);
    }
    
    function View(color) {
      document.all.ColorPreview.style.backgroundColor = '#' + color;
      document.all.ColorHex.value = '#' + color;
    }
    
    function Set(string) {
      color = ValidateColor(string);
      if (color == null) { alert("Invalid color code: " + string); }
      else {
        View(color);
    	
        sData.Form.linkcolor.focus();
    	sData.Form.linkcolor.value = color;
    	sData.checkForm();
        window.close();
      }
    }
    
    function ValidateColor(string) {
      string = string || '';
      string = string + "";
      string = string.toUpperCase();
      chars = '0123456789ABCDEF';
      out   = '';
    
      for (i=0; i<string.length; i++) {
        schar = string.charAt(i);
        if (chars.indexOf(schar) != -1) { out += schar; }
      }
    
      if (out.length != 6) { return null; }
      return out;
    }
    
    </script>
    </head>
    <body bgcolor="#000000" topmargin=0 leftmargin=0 onload="Init()">
    <form method=get onSubmit="Set(document.all.ColorHex.value); return false;">
    
    <table border=0 cellspacing=0 cellpadding=4 width=100%>
     <tr>
      <td bgcolor="buttonface" valign=center><div style="background-color: #000000; padding: 1; height: 21px; width: 50px"><div id="ColorPreview" style="height: 100%; width: 100%"></div></div></td>
      <td bgcolor="buttonface" valign=center><input type="text" name="ColorHex" value="" size=15 style="font-size: 12px"></td>
      <td bgcolor="buttonface" width=100%></td>
     </tr>
    </table>
    
    <table border=0 cellspacing=1 cellpadding=0 bgcolor=#000000 style="cursor: hand;">
    <tr>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#003300 onMouseOver=View('003300') onClick=Set('003300') height=10 width=10></td>
    <td bgcolor=#006600 onMouseOver=View('006600') onClick=Set('006600') height=10 width=10></td>
    <td bgcolor=#009900 onMouseOver=View('009900') onClick=Set('009900') height=10 width=10></td>
    <td bgcolor=#00CC00 onMouseOver=View('00CC00') onClick=Set('00CC00') height=10 width=10></td>
    <td bgcolor=#00FF00 onMouseOver=View('00FF00') onClick=Set('00FF00') height=10 width=10></td>
    <td bgcolor=#330000 onMouseOver=View('330000') onClick=Set('330000') height=10 width=10></td>
    <td bgcolor=#333300 onMouseOver=View('333300') onClick=Set('333300') height=10 width=10></td>
    <td bgcolor=#336600 onMouseOver=View('336600') onClick=Set('336600') height=10 width=10></td>
    <td bgcolor=#339900 onMouseOver=View('339900') onClick=Set('339900') height=10 width=10></td>
    <td bgcolor=#33CC00 onMouseOver=View('33CC00') onClick=Set('33CC00') height=10 width=10></td>
    <td bgcolor=#33FF00 onMouseOver=View('33FF00') onClick=Set('33FF00') height=10 width=10></td>
    <td bgcolor=#660000 onMouseOver=View('660000') onClick=Set('660000') height=10 width=10></td>
    <td bgcolor=#663300 onMouseOver=View('663300') onClick=Set('663300') height=10 width=10></td>
    <td bgcolor=#666600 onMouseOver=View('666600') onClick=Set('666600') height=10 width=10></td>
    <td bgcolor=#669900 onMouseOver=View('669900') onClick=Set('669900') height=10 width=10></td>
    <td bgcolor=#66CC00 onMouseOver=View('66CC00') onClick=Set('66CC00') height=10 width=10></td>
    <td bgcolor=#66FF00 onMouseOver=View('66FF00') onClick=Set('66FF00') height=10 width=10></td>
    </tr>
    <tr>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#333333 onMouseOver=View('333333') onClick=Set('333333') height=10 width=10></td>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#000033 onMouseOver=View('000033') onClick=Set('000033') height=10 width=10></td>
    <td bgcolor=#003333 onMouseOver=View('003333') onClick=Set('003333') height=10 width=10></td>
    <td bgcolor=#006633 onMouseOver=View('006633') onClick=Set('006633') height=10 width=10></td>
    <td bgcolor=#009933 onMouseOver=View('009933') onClick=Set('009933') height=10 width=10></td>
    <td bgcolor=#00CC33 onMouseOver=View('00CC33') onClick=Set('00CC33') height=10 width=10></td>
    <td bgcolor=#00FF33 onMouseOver=View('00FF33') onClick=Set('00FF33') height=10 width=10></td>
    <td bgcolor=#330033 onMouseOver=View('330033') onClick=Set('330033') height=10 width=10></td>
    <td bgcolor=#333333 onMouseOver=View('333333') onClick=Set('333333') height=10 width=10></td>
    <td bgcolor=#336633 onMouseOver=View('336633') onClick=Set('336633') height=10 width=10></td>
    <td bgcolor=#339933 onMouseOver=View('339933') onClick=Set('339933') height=10 width=10></td>
    <td bgcolor=#33CC33 onMouseOver=View('33CC33') onClick=Set('33CC33') height=10 width=10></td>
    <td bgcolor=#33FF33 onMouseOver=View('33FF33') onClick=Set('33FF33') height=10 width=10></td>
    <td bgcolor=#660033 onMouseOver=View('660033') onClick=Set('660033') height=10 width=10></td>
    <td bgcolor=#663333 onMouseOver=View('663333') onClick=Set('663333') height=10 width=10></td>
    <td bgcolor=#666633 onMouseOver=View('666633') onClick=Set('666633') height=10 width=10></td>
    <td bgcolor=#669933 onMouseOver=View('669933') onClick=Set('669933') height=10 width=10></td>
    <td bgcolor=#66CC33 onMouseOver=View('66CC33') onClick=Set('66CC33') height=10 width=10></td>
    <td bgcolor=#66FF33 onMouseOver=View('66FF33') onClick=Set('66FF33') height=10 width=10></td>
    </tr>
    <tr>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#666666 onMouseOver=View('666666') onClick=Set('666666') height=10 width=10></td>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#000066 onMouseOver=View('000066') onClick=Set('000066') height=10 width=10></td>
    <td bgcolor=#003366 onMouseOver=View('003366') onClick=Set('003366') height=10 width=10></td>
    <td bgcolor=#006666 onMouseOver=View('006666') onClick=Set('006666') height=10 width=10></td>
    <td bgcolor=#009966 onMouseOver=View('009966') onClick=Set('009966') height=10 width=10></td>
    <td bgcolor=#00CC66 onMouseOver=View('00CC66') onClick=Set('00CC66') height=10 width=10></td>
    <td bgcolor=#00FF66 onMouseOver=View('00FF66') onClick=Set('00FF66') height=10 width=10></td>
    <td bgcolor=#330066 onMouseOver=View('330066') onClick=Set('330066') height=10 width=10></td>
    <td bgcolor=#333366 onMouseOver=View('333366') onClick=Set('333366') height=10 width=10></td>
    <td bgcolor=#336666 onMouseOver=View('336666') onClick=Set('336666') height=10 width=10></td>
    <td bgcolor=#339966 onMouseOver=View('339966') onClick=Set('339966') height=10 width=10></td>
    <td bgcolor=#33CC66 onMouseOver=View('33CC66') onClick=Set('33CC66') height=10 width=10></td>
    <td bgcolor=#33FF66 onMouseOver=View('33FF66') onClick=Set('33FF66') height=10 width=10></td>
    <td bgcolor=#660066 onMouseOver=View('660066') onClick=Set('660066') height=10 width=10></td>
    <td bgcolor=#663366 onMouseOver=View('663366') onClick=Set('663366') height=10 width=10></td>
    <td bgcolor=#666666 onMouseOver=View('666666') onClick=Set('666666') height=10 width=10></td>
    <td bgcolor=#669966 onMouseOver=View('669966') onClick=Set('669966') height=10 width=10></td>
    <td bgcolor=#66CC66 onMouseOver=View('66CC66') onClick=Set('66CC66') height=10 width=10></td>
    <td bgcolor=#66FF66 onMouseOver=View('66FF66') onClick=Set('66FF66') height=10 width=10></td>
    </tr>
    <tr>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#999999 onMouseOver=View('999999') onClick=Set('999999') height=10 width=10></td>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#000099 onMouseOver=View('000099') onClick=Set('000099') height=10 width=10></td>
    <td bgcolor=#003399 onMouseOver=View('003399') onClick=Set('003399') height=10 width=10></td>
    <td bgcolor=#006699 onMouseOver=View('006699') onClick=Set('006699') height=10 width=10></td>
    <td bgcolor=#009999 onMouseOver=View('009999') onClick=Set('009999') height=10 width=10></td>
    <td bgcolor=#00CC99 onMouseOver=View('00CC99') onClick=Set('00CC99') height=10 width=10></td>
    <td bgcolor=#00FF99 onMouseOver=View('00FF99') onClick=Set('00FF99') height=10 width=10></td>
    <td bgcolor=#330099 onMouseOver=View('330099') onClick=Set('330099') height=10 width=10></td>
    <td bgcolor=#333399 onMouseOver=View('333399') onClick=Set('333399') height=10 width=10></td>
    <td bgcolor=#336699 onMouseOver=View('336699') onClick=Set('336699') height=10 width=10></td>
    <td bgcolor=#339999 onMouseOver=View('339999') onClick=Set('339999') height=10 width=10></td>
    <td bgcolor=#33CC99 onMouseOver=View('33CC99') onClick=Set('33CC99') height=10 width=10></td>
    <td bgcolor=#33FF99 onMouseOver=View('33FF99') onClick=Set('33FF99') height=10 width=10></td>
    <td bgcolor=#660099 onMouseOver=View('660099') onClick=Set('660099') height=10 width=10></td>
    <td bgcolor=#663399 onMouseOver=View('663399') onClick=Set('663399') height=10 width=10></td>
    <td bgcolor=#666699 onMouseOver=View('666699') onClick=Set('666699') height=10 width=10></td>
    <td bgcolor=#669999 onMouseOver=View('669999') onClick=Set('669999') height=10 width=10></td>
    <td bgcolor=#66CC99 onMouseOver=View('66CC99') onClick=Set('66CC99') height=10 width=10></td>
    <td bgcolor=#66FF99 onMouseOver=View('66FF99') onClick=Set('66FF99') height=10 width=10></td>
    </tr>
    <tr>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#CCCCCC onMouseOver=View('CCCCCC') onClick=Set('CCCCCC') height=10 width=10></td>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#0000CC onMouseOver=View('0000CC') onClick=Set('0000CC') height=10 width=10></td>
    <td bgcolor=#0033CC onMouseOver=View('0033CC') onClick=Set('0033CC') height=10 width=10></td>
    <td bgcolor=#0066CC onMouseOver=View('0066CC') onClick=Set('0066CC') height=10 width=10></td>
    <td bgcolor=#0099CC onMouseOver=View('0099CC') onClick=Set('0099CC') height=10 width=10></td>
    <td bgcolor=#00CCCC onMouseOver=View('00CCCC') onClick=Set('00CCCC') height=10 width=10></td>
    <td bgcolor=#00FFCC onMouseOver=View('00FFCC') onClick=Set('00FFCC') height=10 width=10></td>
    <td bgcolor=#3300CC onMouseOver=View('3300CC') onClick=Set('3300CC') height=10 width=10></td>
    <td bgcolor=#3333CC onMouseOver=View('3333CC') onClick=Set('3333CC') height=10 width=10></td>
    <td bgcolor=#3366CC onMouseOver=View('3366CC') onClick=Set('3366CC') height=10 width=10></td>
    <td bgcolor=#3399CC onMouseOver=View('3399CC') onClick=Set('3399CC') height=10 width=10></td>
    <td bgcolor=#33CCCC onMouseOver=View('33CCCC') onClick=Set('33CCCC') height=10 width=10></td>
    <td bgcolor=#33FFCC onMouseOver=View('33FFCC') onClick=Set('33FFCC') height=10 width=10></td>
    <td bgcolor=#6600CC onMouseOver=View('6600CC') onClick=Set('6600CC') height=10 width=10></td>
    <td bgcolor=#6633CC onMouseOver=View('6633CC') onClick=Set('6633CC') height=10 width=10></td>
    <td bgcolor=#6666CC onMouseOver=View('6666CC') onClick=Set('6666CC') height=10 width=10></td>
    <td bgcolor=#6699CC onMouseOver=View('6699CC') onClick=Set('6699CC') height=10 width=10></td>
    <td bgcolor=#66CCCC onMouseOver=View('66CCCC') onClick=Set('66CCCC') height=10 width=10></td>
    <td bgcolor=#66FFCC onMouseOver=View('66FFCC') onClick=Set('66FFCC') height=10 width=10></td>
    </tr>
    <tr>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#FFFFFF onMouseOver=View('FFFFFF') onClick=Set('FFFFFF') height=10 width=10></td>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#0000FF onMouseOver=View('0000FF') onClick=Set('0000FF') height=10 width=10></td>
    <td bgcolor=#0033FF onMouseOver=View('0033FF') onClick=Set('0033FF') height=10 width=10></td>
    <td bgcolor=#0066FF onMouseOver=View('0066FF') onClick=Set('0066FF') height=10 width=10></td>
    <td bgcolor=#0099FF onMouseOver=View('0099FF') onClick=Set('0099FF') height=10 width=10></td>
    <td bgcolor=#00CCFF onMouseOver=View('00CCFF') onClick=Set('00CCFF') height=10 width=10></td>
    <td bgcolor=#00FFFF onMouseOver=View('00FFFF') onClick=Set('00FFFF') height=10 width=10></td>
    <td bgcolor=#3300FF onMouseOver=View('3300FF') onClick=Set('3300FF') height=10 width=10></td>
    <td bgcolor=#3333FF onMouseOver=View('3333FF') onClick=Set('3333FF') height=10 width=10></td>
    <td bgcolor=#3366FF onMouseOver=View('3366FF') onClick=Set('3366FF') height=10 width=10></td>
    <td bgcolor=#3399FF onMouseOver=View('3399FF') onClick=Set('3399FF') height=10 width=10></td>
    <td bgcolor=#33CCFF onMouseOver=View('33CCFF') onClick=Set('33CCFF') height=10 width=10></td>
    <td bgcolor=#33FFFF onMouseOver=View('33FFFF') onClick=Set('33FFFF') height=10 width=10></td>
    <td bgcolor=#6600FF onMouseOver=View('6600FF') onClick=Set('6600FF') height=10 width=10></td>
    <td bgcolor=#6633FF onMouseOver=View('6633FF') onClick=Set('6633FF') height=10 width=10></td>
    <td bgcolor=#6666FF onMouseOver=View('6666FF') onClick=Set('6666FF') height=10 width=10></td>
    <td bgcolor=#6699FF onMouseOver=View('6699FF') onClick=Set('6699FF') height=10 width=10></td>
    <td bgcolor=#66CCFF onMouseOver=View('66CCFF') onClick=Set('66CCFF') height=10 width=10></td>
    <td bgcolor=#66FFFF onMouseOver=View('66FFFF') onClick=Set('66FFFF') height=10 width=10></td>
    </tr>
    <tr>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#FF0000 onMouseOver=View('FF0000') onClick=Set('FF0000') height=10 width=10></td>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#990000 onMouseOver=View('990000') onClick=Set('990000') height=10 width=10></td>
    <td bgcolor=#993300 onMouseOver=View('993300') onClick=Set('993300') height=10 width=10></td>
    <td bgcolor=#996600 onMouseOver=View('996600') onClick=Set('996600') height=10 width=10></td>
    <td bgcolor=#999900 onMouseOver=View('999900') onClick=Set('999900') height=10 width=10></td>
    <td bgcolor=#99CC00 onMouseOver=View('99CC00') onClick=Set('99CC00') height=10 width=10></td>
    <td bgcolor=#99FF00 onMouseOver=View('99FF00') onClick=Set('99FF00') height=10 width=10></td>
    <td bgcolor=#CC0000 onMouseOver=View('CC0000') onClick=Set('CC0000') height=10 width=10></td>
    <td bgcolor=#CC3300 onMouseOver=View('CC3300') onClick=Set('CC3300') height=10 width=10></td>
    <td bgcolor=#CC6600 onMouseOver=View('CC6600') onClick=Set('CC6600') height=10 width=10></td>
    <td bgcolor=#CC9900 onMouseOver=View('CC9900') onClick=Set('CC9900') height=10 width=10></td>
    <td bgcolor=#CCCC00 onMouseOver=View('CCCC00') onClick=Set('CCCC00') height=10 width=10></td>
    <td bgcolor=#CCFF00 onMouseOver=View('CCFF00') onClick=Set('CCFF00') height=10 width=10></td>
    <td bgcolor=#FF0000 onMouseOver=View('FF0000') onClick=Set('FF0000') height=10 width=10></td>
    <td bgcolor=#FF3300 onMouseOver=View('FF3300') onClick=Set('FF3300') height=10 width=10></td>
    <td bgcolor=#FF6600 onMouseOver=View('FF6600') onClick=Set('FF6600') height=10 width=10></td>
    <td bgcolor=#FF9900 onMouseOver=View('FF9900') onClick=Set('FF9900') height=10 width=10></td>
    <td bgcolor=#FFCC00 onMouseOver=View('FFCC00') onClick=Set('FFCC00') height=10 width=10></td>
    <td bgcolor=#FFFF00 onMouseOver=View('FFFF00') onClick=Set('FFFF00') height=10 width=10></td>
    </tr>
    <tr>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#00FF00 onMouseOver=View('00FF00') onClick=Set('00FF00') height=10 width=10></td>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#990033 onMouseOver=View('990033') onClick=Set('990033') height=10 width=10></td>
    <td bgcolor=#993333 onMouseOver=View('993333') onClick=Set('993333') height=10 width=10></td>
    <td bgcolor=#996633 onMouseOver=View('996633') onClick=Set('996633') height=10 width=10></td>
    <td bgcolor=#999933 onMouseOver=View('999933') onClick=Set('999933') height=10 width=10></td>
    <td bgcolor=#99CC33 onMouseOver=View('99CC33') onClick=Set('99CC33') height=10 width=10></td>
    <td bgcolor=#99FF33 onMouseOver=View('99FF33') onClick=Set('99FF33') height=10 width=10></td>
    <td bgcolor=#CC0033 onMouseOver=View('CC0033') onClick=Set('CC0033') height=10 width=10></td>
    <td bgcolor=#CC3333 onMouseOver=View('CC3333') onClick=Set('CC3333') height=10 width=10></td>
    <td bgcolor=#CC6633 onMouseOver=View('CC6633') onClick=Set('CC6633') height=10 width=10></td>
    <td bgcolor=#CC9933 onMouseOver=View('CC9933') onClick=Set('CC9933') height=10 width=10></td>
    <td bgcolor=#CCCC33 onMouseOver=View('CCCC33') onClick=Set('CCCC33') height=10 width=10></td>
    <td bgcolor=#CCFF33 onMouseOver=View('CCFF33') onClick=Set('CCFF33') height=10 width=10></td>
    <td bgcolor=#FF0033 onMouseOver=View('FF0033') onClick=Set('FF0033') height=10 width=10></td>
    <td bgcolor=#FF3333 onMouseOver=View('FF3333') onClick=Set('FF3333') height=10 width=10></td>
    <td bgcolor=#FF6633 onMouseOver=View('FF6633') onClick=Set('FF6633') height=10 width=10></td>
    <td bgcolor=#FF9933 onMouseOver=View('FF9933') onClick=Set('FF9933') height=10 width=10></td>
    <td bgcolor=#FFCC33 onMouseOver=View('FFCC33') onClick=Set('FFCC33') height=10 width=10></td>
    <td bgcolor=#FFFF33 onMouseOver=View('FFFF33') onClick=Set('FFFF33') height=10 width=10></td>
    </tr>
    <tr>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#0000FF onMouseOver=View('0000FF') onClick=Set('0000FF') height=10 width=10></td>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#990066 onMouseOver=View('990066') onClick=Set('990066') height=10 width=10></td>
    <td bgcolor=#993366 onMouseOver=View('993366') onClick=Set('993366') height=10 width=10></td>
    <td bgcolor=#996666 onMouseOver=View('996666') onClick=Set('996666') height=10 width=10></td>
    <td bgcolor=#999966 onMouseOver=View('999966') onClick=Set('999966') height=10 width=10></td>
    <td bgcolor=#99CC66 onMouseOver=View('99CC66') onClick=Set('99CC66') height=10 width=10></td>
    <td bgcolor=#99FF66 onMouseOver=View('99FF66') onClick=Set('99FF66') height=10 width=10></td>
    <td bgcolor=#CC0066 onMouseOver=View('CC0066') onClick=Set('CC0066') height=10 width=10></td>
    <td bgcolor=#CC3366 onMouseOver=View('CC3366') onClick=Set('CC3366') height=10 width=10></td>
    <td bgcolor=#CC6666 onMouseOver=View('CC6666') onClick=Set('CC6666') height=10 width=10></td>
    <td bgcolor=#CC9966 onMouseOver=View('CC9966') onClick=Set('CC9966') height=10 width=10></td>
    <td bgcolor=#CCCC66 onMouseOver=View('CCCC66') onClick=Set('CCCC66') height=10 width=10></td>
    <td bgcolor=#CCFF66 onMouseOver=View('CCFF66') onClick=Set('CCFF66') height=10 width=10></td>
    <td bgcolor=#FF0066 onMouseOver=View('FF0066') onClick=Set('FF0066') height=10 width=10></td>
    <td bgcolor=#FF3366 onMouseOver=View('FF3366') onClick=Set('FF3366') height=10 width=10></td>
    <td bgcolor=#FF6666 onMouseOver=View('FF6666') onClick=Set('FF6666') height=10 width=10></td>
    <td bgcolor=#FF9966 onMouseOver=View('FF9966') onClick=Set('FF9966') height=10 width=10></td>
    <td bgcolor=#FFCC66 onMouseOver=View('FFCC66') onClick=Set('FFCC66') height=10 width=10></td>
    <td bgcolor=#FFFF66 onMouseOver=View('FFFF66') onClick=Set('FFFF66') height=10 width=10></td>
    </tr>
    <tr>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#FFFF00 onMouseOver=View('FFFF00') onClick=Set('FFFF00') height=10 width=10></td>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#990099 onMouseOver=View('990099') onClick=Set('990099') height=10 width=10></td>
    <td bgcolor=#993399 onMouseOver=View('993399') onClick=Set('993399') height=10 width=10></td>
    <td bgcolor=#996699 onMouseOver=View('996699') onClick=Set('996699') height=10 width=10></td>
    <td bgcolor=#999999 onMouseOver=View('999999') onClick=Set('999999') height=10 width=10></td>
    <td bgcolor=#99CC99 onMouseOver=View('99CC99') onClick=Set('99CC99') height=10 width=10></td>
    <td bgcolor=#99FF99 onMouseOver=View('99FF99') onClick=Set('99FF99') height=10 width=10></td>
    <td bgcolor=#CC0099 onMouseOver=View('CC0099') onClick=Set('CC0099') height=10 width=10></td>
    <td bgcolor=#CC3399 onMouseOver=View('CC3399') onClick=Set('CC3399') height=10 width=10></td>
    <td bgcolor=#CC6699 onMouseOver=View('CC6699') onClick=Set('CC6699') height=10 width=10></td>
    <td bgcolor=#CC9999 onMouseOver=View('CC9999') onClick=Set('CC9999') height=10 width=10></td>
    <td bgcolor=#CCCC99 onMouseOver=View('CCCC99') onClick=Set('CCCC99') height=10 width=10></td>
    <td bgcolor=#CCFF99 onMouseOver=View('CCFF99') onClick=Set('CCFF99') height=10 width=10></td>
    <td bgcolor=#FF0099 onMouseOver=View('FF0099') onClick=Set('FF0099') height=10 width=10></td>
    <td bgcolor=#FF3399 onMouseOver=View('FF3399') onClick=Set('FF3399') height=10 width=10></td>
    <td bgcolor=#FF6699 onMouseOver=View('FF6699') onClick=Set('FF6699') height=10 width=10></td>
    <td bgcolor=#FF9999 onMouseOver=View('FF9999') onClick=Set('FF9999') height=10 width=10></td>
    <td bgcolor=#FFCC99 onMouseOver=View('FFCC99') onClick=Set('FFCC99') height=10 width=10></td>
    <td bgcolor=#FFFF99 onMouseOver=View('FFFF99') onClick=Set('FFFF99') height=10 width=10></td>
    </tr>
    <tr>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#00FFFF onMouseOver=View('00FFFF') onClick=Set('00FFFF') height=10 width=10></td>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#9900CC onMouseOver=View('9900CC') onClick=Set('9900CC') height=10 width=10></td>
    <td bgcolor=#9933CC onMouseOver=View('9933CC') onClick=Set('9933CC') height=10 width=10></td>
    <td bgcolor=#9966CC onMouseOver=View('9966CC') onClick=Set('9966CC') height=10 width=10></td>
    <td bgcolor=#9999CC onMouseOver=View('9999CC') onClick=Set('9999CC') height=10 width=10></td>
    <td bgcolor=#99CCCC onMouseOver=View('99CCCC') onClick=Set('99CCCC') height=10 width=10></td>
    <td bgcolor=#99FFCC onMouseOver=View('99FFCC') onClick=Set('99FFCC') height=10 width=10></td>
    <td bgcolor=#CC00CC onMouseOver=View('CC00CC') onClick=Set('CC00CC') height=10 width=10></td>
    <td bgcolor=#CC33CC onMouseOver=View('CC33CC') onClick=Set('CC33CC') height=10 width=10></td>
    <td bgcolor=#CC66CC onMouseOver=View('CC66CC') onClick=Set('CC66CC') height=10 width=10></td>
    <td bgcolor=#CC99CC onMouseOver=View('CC99CC') onClick=Set('CC99CC') height=10 width=10></td>
    <td bgcolor=#CCCCCC onMouseOver=View('CCCCCC') onClick=Set('CCCCCC') height=10 width=10></td>
    <td bgcolor=#CCFFCC onMouseOver=View('CCFFCC') onClick=Set('CCFFCC') height=10 width=10></td>
    <td bgcolor=#FF00CC onMouseOver=View('FF00CC') onClick=Set('FF00CC') height=10 width=10></td>
    <td bgcolor=#FF33CC onMouseOver=View('FF33CC') onClick=Set('FF33CC') height=10 width=10></td>
    <td bgcolor=#FF66CC onMouseOver=View('FF66CC') onClick=Set('FF66CC') height=10 width=10></td>
    <td bgcolor=#FF99CC onMouseOver=View('FF99CC') onClick=Set('FF99CC') height=10 width=10></td>
    <td bgcolor=#FFCCCC onMouseOver=View('FFCCCC') onClick=Set('FFCCCC') height=10 width=10></td>
    <td bgcolor=#FFFFCC onMouseOver=View('FFFFCC') onClick=Set('FFFFCC') height=10 width=10></td>
    </tr>
    <tr>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#FF00FF onMouseOver=View('FF00FF') onClick=Set('FF00FF') height=10 width=10></td>
    <td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
    <td bgcolor=#9900FF onMouseOver=View('9900FF') onClick=Set('9900FF') height=10 width=10></td>
    <td bgcolor=#9933FF onMouseOver=View('9933FF') onClick=Set('9933FF') height=10 width=10></td>
    <td bgcolor=#9966FF onMouseOver=View('9966FF') onClick=Set('9966FF') height=10 width=10></td>
    <td bgcolor=#9999FF onMouseOver=View('9999FF') onClick=Set('9999FF') height=10 width=10></td>
    <td bgcolor=#99CCFF onMouseOver=View('99CCFF') onClick=Set('99CCFF') height=10 width=10></td>
    <td bgcolor=#99FFFF onMouseOver=View('99FFFF') onClick=Set('99FFFF') height=10 width=10></td>
    <td bgcolor=#CC00FF onMouseOver=View('CC00FF') onClick=Set('CC00FF') height=10 width=10></td>
    <td bgcolor=#CC33FF onMouseOver=View('CC33FF') onClick=Set('CC33FF') height=10 width=10></td>
    <td bgcolor=#CC66FF onMouseOver=View('CC66FF') onClick=Set('CC66FF') height=10 width=10></td>
    <td bgcolor=#CC99FF onMouseOver=View('CC99FF') onClick=Set('CC99FF') height=10 width=10></td>
    <td bgcolor=#CCCCFF onMouseOver=View('CCCCFF') onClick=Set('CCCCFF') height=10 width=10></td>
    <td bgcolor=#CCFFFF onMouseOver=View('CCFFFF') onClick=Set('CCFFFF') height=10 width=10></td>
    <td bgcolor=#FF00FF onMouseOver=View('FF00FF') onClick=Set('FF00FF') height=10 width=10></td>
    <td bgcolor=#FF33FF onMouseOver=View('FF33FF') onClick=Set('FF33FF') height=10 width=10></td>
    <td bgcolor=#FF66FF onMouseOver=View('FF66FF') onClick=Set('FF66FF') height=10 width=10></td>
    <td bgcolor=#FF99FF onMouseOver=View('FF99FF') onClick=Set('FF99FF') height=10 width=10></td>
    <td bgcolor=#FFCCFF onMouseOver=View('FFCCFF') onClick=Set('FFCCFF') height=10 width=10></td>
    <td bgcolor=#FFFFFF onMouseOver=View('FFFFFF') onClick=Set('FFFFFF') height=10 width=10></td>
    </tr>
    </table>
    
    </form>
    </body></html>
     
  4. sergey_prusov

    sergey_prusov

    Регистр.:
    31 окт 2008
    Сообщения:
    205
    Симпатии:
    3
    вы наверное имели ввиду вот это?


    HTML:
    function color(link)
    {
       var x = event.screenX - 150;
       var y = event.screenY + 130;
       var sFeatures = 'dialogLeft:'+x+'px;dialogTop:'+y+'px;dialogHeight:163px;dialogWidth:232px;help:no;status:no;unadorned:yes';
       window.showModelessDialog(link, window, sFeatures);
    }
    function cvetvibr(kuda, otkuda){
    	var tdid=kuda;
    	tdo=document.getElementById(tdid);
    	tdo.innerHTML='<table border=0 cellspacing=1 cellpadding=0 bgcolor=#000000 style="cursor: hand;"><tr><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#003300 onclick=Set("003300","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#006600 onclick=Set("006600","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#009900 onclick=Set("009900","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#00CC00 onclick=Set("00CC00","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#00FF00 onclick=Set("00FF00","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#330000 onclick=Set("330000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#333300 onclick=Set("333300","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#336600 onclick=Set("336600","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#339900 onclick=Set("339900","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#33CC00 onclick=Set("33CC00","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#33FF00 onclick=Set("33FF00","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#660000 onclick=Set("660000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#663300 onclick=Set("663300","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#666600 onclick=Set("666600","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#669900 onclick=Set("669900","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#66CC00 onclick=Set("66CC00","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#66FF00 onclick=Set("66FF00","'+otkuda+'","'+tdid+'") height=10 width=10></td></tr><tr><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#333333 onclick=Set("333333","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#000033 onclick=Set("000033","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#003333 onclick=Set("003333","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#006633 onclick=Set("006633","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#009933 onclick=Set("009933","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#00CC33 onclick=Set("00CC33","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#00FF33 onclick=Set("00FF33","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#330033 onclick=Set("330033","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#333333 onclick=Set("333333","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#336633 onclick=Set("336633","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#339933 onclick=Set("339933","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#33CC33 onclick=Set("33CC33","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#33FF33 onclick=Set("33FF33","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#660033 onclick=Set("660033","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#663333 onclick=Set("663333","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#666633 onclick=Set("666633","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#669933 onclick=Set("669933","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#66CC33 onclick=Set("66CC33","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#66FF33 onclick=Set("66FF33","'+otkuda+'","'+tdid+'") height=10 width=10></td></tr><tr><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#666666 onclick=Set("666666","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#000066 onclick=Set("000066","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#003366 onclick=Set("003366","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#006666 onclick=Set("006666","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#009966 onclick=Set("009966","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#00CC66 onclick=Set("00CC66","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#00FF66 onclick=Set("00FF66","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#330066 onclick=Set("330066","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#333366 onclick=Set("333366","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#336666 onclick=Set("336666","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#339966 onclick=Set("339966","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#33CC66 onclick=Set("33CC66","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#33FF66 onclick=Set("33FF66","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#660066 onclick=Set("660066","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#663366 onclick=Set("663366","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#666666 onclick=Set("666666","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#669966 onclick=Set("669966","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#66CC66 onclick=Set("66CC66","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#66FF66 onclick=Set("66FF66","'+otkuda+'","'+tdid+'") height=10 width=10></td></tr><tr><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#999999 onclick=Set("999999","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#000099 onclick=Set("000099","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#003399 onclick=Set("003399","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#006699 onclick=Set("006699","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#009999 onclick=Set("009999","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#00CC99 onclick=Set("00CC99","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#00FF99 onclick=Set("00FF99","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#330099 onclick=Set("330099","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#333399 onclick=Set("333399","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#336699 onclick=Set("336699","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#339999 onclick=Set("339999","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#33CC99 onclick=Set("33CC99","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#33FF99 onclick=Set("33FF99","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#660099 onclick=Set("660099","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#663399 onclick=Set("663399","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#666699 onclick=Set("666699","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#669999 onclick=Set("669999","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#66CC99 onclick=Set("66CC99","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#66FF99 onclick=Set("66FF99","'+otkuda+'","'+tdid+'") height=10 width=10></td></tr><tr><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CCCCCC onclick=Set("CCCCCC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#0000CC onclick=Set("0000CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#0033CC onclick=Set("0033CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#0066CC onclick=Set("0066CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#0099CC onclick=Set("0099CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#00CCCC onclick=Set("00CCCC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#00FFCC onclick=Set("00FFCC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#3300CC onclick=Set("3300CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#3333CC onclick=Set("3333CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#3366CC onclick=Set("3366CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#3399CC onclick=Set("3399CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#33CCCC onclick=Set("33CCCC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#33FFCC onclick=Set("33FFCC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#6600CC onclick=Set("6600CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#6633CC onclick=Set("6633CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#6666CC onclick=Set("6666CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#6699CC onclick=Set("6699CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#66CCCC onclick=Set("66CCCC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#66FFCC onclick=Set("66FFCC","'+otkuda+'","'+tdid+'") height=10 width=10></td></tr><tr><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FFFFFF onclick=Set("FFFFFF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#0000FF onclick=Set("0000FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#0033FF onclick=Set("0033FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#0066FF onclick=Set("0066FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#0099FF onclick=Set("0099FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#00CCFF onclick=Set("00CCFF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#00FFFF onclick=Set("00FFFF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#3300FF onclick=Set("3300FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#3333FF onclick=Set("3333FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#3366FF onclick=Set("3366FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#3399FF onclick=Set("3399FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#33CCFF onclick=Set("33CCFF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#33FFFF onclick=Set("33FFFF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#6600FF onclick=Set("6600FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#6633FF onclick=Set("6633FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#6666FF onclick=Set("6666FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#6699FF onclick=Set("6699FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#66CCFF onclick=Set("66CCFF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#66FFFF onclick=Set("66FFFF","'+otkuda+'","'+tdid+'") height=10 width=10></td></tr><tr><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF0000 onclick=Set("FF0000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#990000 onclick=Set("990000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#993300 onclick=Set("993300","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#996600 onclick=Set("996600","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#999900 onclick=Set("999900","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#99CC00 onclick=Set("99CC00","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#99FF00 onclick=Set("99FF00","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC0000 onclick=Set("CC0000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC3300 onclick=Set("CC3300","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC6600 onclick=Set("CC6600","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC9900 onclick=Set("CC9900","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CCCC00 onclick=Set("CCCC00","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CCFF00 onclick=Set("CCFF00","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF0000 onclick=Set("FF0000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF3300 onclick=Set("FF3300","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF6600 onclick=Set("FF6600","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF9900 onclick=Set("FF9900","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FFCC00 onclick=Set("FFCC00","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FFFF00 onclick=Set("FFFF00","'+otkuda+'","'+tdid+'") height=10 width=10></td></tr><tr><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#00FF00 onclick=Set("00FF00","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#990033 onclick=Set("990033","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#993333 onclick=Set("993333","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#996633 onclick=Set("996633","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#999933 onclick=Set("999933","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#99CC33 onclick=Set("99CC33","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#99FF33 onclick=Set("99FF33","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC0033 onclick=Set("CC0033","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC3333 onclick=Set("CC3333","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC6633 onclick=Set("CC6633","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC9933 onclick=Set("CC9933","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CCCC33 onclick=Set("CCCC33","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CCFF33 onclick=Set("CCFF33","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF0033 onclick=Set("FF0033","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF3333 onclick=Set("FF3333","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF6633 onclick=Set("FF6633","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF9933 onclick=Set("FF9933","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FFCC33 onclick=Set("FFCC33","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FFFF33 onclick=Set("FFFF33","'+otkuda+'","'+tdid+'") height=10 width=10></td></tr><tr><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#0000FF onclick=Set("0000FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#990066 onclick=Set("990066","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#993366 onclick=Set("993366","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#996666 onclick=Set("996666","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#999966 onclick=Set("999966","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#99CC66 onclick=Set("99CC66","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#99FF66 onclick=Set("99FF66","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC0066 onclick=Set("CC0066","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC3366 onclick=Set("CC3366","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC6666 onclick=Set("CC6666","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC9966 onclick=Set("CC9966","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CCCC66 onclick=Set("CCCC66","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CCFF66 onclick=Set("CCFF66","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF0066 onclick=Set("FF0066","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF3366 onclick=Set("FF3366","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF6666 onclick=Set("FF6666","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF9966 onclick=Set("FF9966","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FFCC66 onclick=Set("FFCC66","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FFFF66 onclick=Set("FFFF66","'+otkuda+'","'+tdid+'") height=10 width=10></td></tr><tr><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FFFF00 onclick=Set("FFFF00","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#990099 onclick=Set("990099","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#993399 onclick=Set("993399","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#996699 onclick=Set("996699","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#999999 onclick=Set("999999","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#99CC99 onclick=Set("99CC99","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#99FF99 onclick=Set("99FF99","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC0099 onclick=Set("CC0099","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC3399 onclick=Set("CC3399","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC6699 onclick=Set("CC6699","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC9999 onclick=Set("CC9999","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CCCC99 onclick=Set("CCCC99","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CCFF99 onclick=Set("CCFF99","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF0099 onclick=Set("FF0099","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF3399 onclick=Set("FF3399","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF6699 onclick=Set("FF6699","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF9999 onclick=Set("FF9999","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FFCC99 onclick=Set("FFCC99","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FFFF99 onclick=Set("FFFF99","'+otkuda+'","'+tdid+'") height=10 width=10></td></tr><tr><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#00FFFF onclick=Set("00FFFF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#9900CC onclick=Set("9900CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#9933CC onclick=Set("9933CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#9966CC onclick=Set("9966CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#9999CC onclick=Set("9999CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#99CCCC onclick=Set("99CCCC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#99FFCC onclick=Set("99FFCC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC00CC onclick=Set("CC00CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC33CC onclick=Set("CC33CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC66CC onclick=Set("CC66CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC99CC onclick=Set("CC99CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CCCCCC onclick=Set("CCCCCC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CCFFCC onclick=Set("CCFFCC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF00CC onclick=Set("FF00CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF33CC onclick=Set("FF33CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF66CC onclick=Set("FF66CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF99CC onclick=Set("FF99CC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FFCCCC onclick=Set("FFCCCC","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FFFFCC onclick=Set("FFFFCC","'+otkuda+'","'+tdid+'") height=10 width=10></td></tr><tr><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF00FF onclick=Set("FF00FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#000000 onclick=Set("000000","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#9900FF onclick=Set("9900FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#9933FF onclick=Set("9933FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#9966FF onclick=Set("9966FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#9999FF onclick=Set("9999FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#99CCFF onclick=Set("99CCFF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#99FFFF onclick=Set("99FFFF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC00FF onclick=Set("CC00FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC33FF onclick=Set("CC33FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC66FF onclick=Set("CC66FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CC99FF onclick=Set("CC99FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CCCCFF onclick=Set("CCCCFF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#CCFFFF onclick=Set("CCFFFF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF00FF onclick=Set("FF00FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF33FF onclick=Set("FF33FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF66FF onclick=Set("FF66FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FF99FF onclick=Set("FF99FF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FFCCFF onclick=Set("FFCCFF","'+otkuda+'","'+tdid+'") height=10 width=10></td><td bgcolor=#FFFFFF onclick=Set("FFFFFF","'+otkuda+'","'+tdid+'") height=10 width=10></td></tr></table>';
    	return false;
    }
    
    function Set(chto,otkuda,kuda){
    document.getElementById(otkuda).value=chto;
    document.getElementById(kuda).innerHTML='';
    checkForm();
    
    	return false;
    }
     
  5. Kloster

    Kloster

    Регистр.:
    22 июн 2009
    Сообщения:
    216
    Симпатии:
    12
    Синтаксис функции:
    http://wdh.suncloud.ru/dhtml14.htm#mshowmodelessdialog
    Зачем второй параметр? Может быть вот так сделать?
    Код:
    function color(link)
    {
       var x = event.screenX - 150;
       var y = event.screenY + 130;
       var sFeatures = 'dialogLeft:'+x+'px;dialogTop:'+y+'px;dialogHeight:163px;dialogWidth:232px;help:no;status:no;unadorned:yes';
       window.showModelessDialog(link, "", sFeatures);
    }
    
     
  6. sergey_prusov

    sergey_prusov

    Регистр.:
    31 окт 2008
    Сообщения:
    205
    Симпатии:
    3
    к сожалению...не заработало(((:)bc:
     
Статус темы:
Закрыта.