Commit 9c04b8b2 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

update test menu

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47067 954022d7-b5bf-4e40-9824-e11837661b57
parent 7f1c555e
...@@ -1398,42 +1398,51 @@ ...@@ -1398,42 +1398,51 @@
<td class="cp toolbarSep" style="vertical-align: top; width: 15px;min-width:15px;"> <td class="cp toolbarSep" style="vertical-align: top; width: 15px;min-width:15px;">
<div class="sepMenu ToolbarIconOut" style="position: absolute; background: url('menu/img/sep.png') repeat-y scroll 0pt 0pt transparent; margin-top: -7px; height: 65px; margin-left: 6px;"></div> <div class="sepMenu ToolbarIconOut" style="position: absolute; background: url('menu/img/sep.png') repeat-y scroll 0pt 0pt transparent; margin-top: -7px; height: 65px; margin-left: 6px;"></div>
</td> </td>
<td id="td_ta_left" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextLeft"> <td>
<img class="toolbarImg align_left" src="menu/img/spacer.gif"/> <ul class="noListStyle">
</td> <li id="td_ta_left" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextLeft">
<td id="td_ta_center" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextCenter"> <img class="toolbarImg align_left" src="menu/img/spacer.gif"/>
<img class="toolbarImg align_center" src="menu/img/spacer.gif"/> </li>
</td> <li id="td_ta_center" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextCenter">
<td id="td_ta_right" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextRight"> <img class="toolbarImg align_center" src="menu/img/spacer.gif"/>
<img class="toolbarImg align_right" src="menu/img/spacer.gif"/> </li>
</td> <li id="td_ta_right" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextRight">
<td id="td_ta_justify" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextJustify"> <img class="toolbarImg align_right" src="menu/img/spacer.gif"/>
<img class="toolbarImg align_justify" src="menu/img/spacer.gif"/> </li>
</td> <li id="td_ta_justify" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextJustify">
<td id="td_verticalAlign" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignVert" style="padding: 0px;"> <img class="toolbarImg align_justify" src="menu/img/spacer.gif"/>
<div id="td_va" class="ToolbarButtonCaption" al="bottom"> </li>
<div class="toolbarImg valign_bottom"></div> </ul>
</div> <ul class="noListStyle">
<div id="td_va_choose" class="ToolbarDropDownInner"> <li id="td_verticalAlign" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignVert" style="padding-right: 15px;">
<div class="ToolbarDropDown"></div> <div id="td_va" class="ToolbarButtonCaption" al="bottom">
</div> <div class="toolbarImg valign_bottom"></div>
</td> </div>
<td id="td_text_wrap" class="ToolbarIconOut selectableIcon iconToolbar" title="WrapText"> <div id="td_va_choose" class="ToolbarDropDownInner">
<img class="toolbarImg text_wrap" src="menu/img/spacer.gif"/> <div class="ToolbarDropDown"></div>
</td> </div>
<td class="toolbarSep"> </li>
<div class="ToolbarIconOut"> <li class="toolbarSep">
<img src="menu/img/Border.png"/> <div class="ToolbarIconOut">
</div> <img src="menu/img/Border.png"/>
</td> </div>
<td id="td_mergeCells" class="ToolbarIconOut selectableIcon iconToolbar" title="Merge"> </li>
<img class="toolbarImg merge_cells" src="menu/img/spacer.gif"/> <li id="td_text_wrap" class="ToolbarIconOut selectableIcon iconToolbar" title="WrapText">
</td> <img class="toolbarImg text_wrap" src="menu/img/spacer.gif"/>
<td class="toolbarSep"> </li>
<div class="ToolbarIconOut"> <li class="toolbarSep">
<img src="menu/img/Border.png"/> <div class="ToolbarIconOut">
</div> <img src="menu/img/Border.png"/>
</td> </div>
</li>
<li id="td_mergeCells" class="ToolbarIconOut selectableIcon iconToolbar" title="Merge">
<img class="toolbarImg merge_cells" src="menu/img/spacer.gif"/>
</li>
</ul>
</td>
<td class="cp toolbarSep" style="vertical-align: top; width: 15px;min-width:15px;">
<div class="sepMenu ToolbarIconOut" style="position: absolute; background: url('menu/img/sep.png') repeat-y scroll 0pt 0pt transparent; margin-top: -7px; height: 65px; margin-left: 6px;"></div>
</td>
<td class="ToolbarIconOut selectableIcon" title="SortAtoZ"> <td class="ToolbarIconOut selectableIcon" title="SortAtoZ">
<div id="td_sort_asc" class="iconToolbar"> <div id="td_sort_asc" class="iconToolbar">
<img class="toolbarImg sort_asc" src="menu/img/spacer.gif"/> <img class="toolbarImg sort_asc" src="menu/img/spacer.gif"/>
...@@ -1444,11 +1453,9 @@ ...@@ -1444,11 +1453,9 @@
<img class="toolbarImg sort_desc" src="menu/img/spacer.gif"/> <img class="toolbarImg sort_desc" src="menu/img/spacer.gif"/>
</div> </div>
</td> </td>
<td class="toolbarSep"> <td class="cp toolbarSep" style="vertical-align: top; width: 15px;min-width:15px;">
<div class="ToolbarIconOut"> <div class="sepMenu ToolbarIconOut" style="position: absolute; background: url('menu/img/sep.png') repeat-y scroll 0pt 0pt transparent; margin-top: -7px; height: 65px; margin-left: 6px;"></div>
<img src="menu/img/Border.png"/> </td>
</div>
</td>
<td id="td_Formulas" class="ToolbarIconOut selectableIcon iconToolbar" title="Function" style="padding: 0px;"> <td id="td_Formulas" class="ToolbarIconOut selectableIcon iconToolbar" title="Function" style="padding: 0px;">
<div id="td_sum" class="ToolbarButtonCaption"> <div id="td_sum" class="ToolbarButtonCaption">
<div class="toolbarImg sum"></div> <div class="toolbarImg sum"></div>
...@@ -1457,46 +1464,48 @@ ...@@ -1457,46 +1464,48 @@
<div class="ToolbarDropDown"></div> <div class="ToolbarDropDown"></div>
</div> </div>
</td> </td>
<td class="toolbarSep"> <td class="cp toolbarSep" style="vertical-align: top; width: 15px;min-width:15px;">
<div class="ToolbarIconOut"> <div class="sepMenu ToolbarIconOut" style="position: absolute; background: url('menu/img/sep.png') repeat-y scroll 0pt 0pt transparent; margin-top: -7px; height: 65px; margin-left: 6px;"></div>
<img src="menu/img/Border.png"/> </td>
</div> <td>
</td> <ul class="noListStyle">
<td class="ToolbarIconOut selectableIcon" title="IncreaseDecimal"> <li class="ToolbarIconOut selectableIcon" title="NumberFormat">
<div id="td_fmt_up" class="iconToolbar"> <div id="td_fmt_digit" class="iconToolbar" grp="digit">
<img class="toolbarImg fmt_up" src="menu/img/spacer.gif"/> <img class="toolbarImg fmt_digit" src="menu/img/spacer.gif"/>
</div> </div>
</td> </li>
<td class="ToolbarIconOut selectableIcon" title="DecreaseDecimal"> <li class="ToolbarIconOut selectableIcon" title="DateTimeFormat">
<div id="td_fmt_down" class="iconToolbar"> <div id="td_fmt_date" class="iconToolbar" grp="date">
<img class="toolbarImg fmt_down" src="menu/img/spacer.gif"/> <img class="toolbarImg fmt_date" src="menu/img/spacer.gif"/>
</div> </div>
</td> </li>
<td class="ToolbarIconOut selectableIcon" title="NumberFormat"> <li class="ToolbarIconOut selectableIcon" title="PercentStyle">
<div id="td_fmt_digit" class="iconToolbar" grp="digit"> <div id="td_fmt_perc" class="iconToolbar" fmt="10">
<img class="toolbarImg fmt_digit" src="menu/img/spacer.gif"/> <img class="toolbarImg fmt_perc" src="menu/img/spacer.gif"/>
</div> </div>
</td> </li>
<td class="ToolbarIconOut selectableIcon" title="DateTimeFormat"> <li class="ToolbarIconOut selectableIcon" title="Currency">
<div id="td_fmt_date" class="iconToolbar" grp="date"> <div id="td_fmt_money" class="iconToolbar" grp="money">
<img class="toolbarImg fmt_date" src="menu/img/spacer.gif"/> <img class="toolbarImg fmt_money" src="menu/img/spacer.gif"/>
</div> </div>
</td> </li>
<td class="ToolbarIconOut selectableIcon" title="PercentStyle"> </ul>
<div id="td_fmt_perc" class="iconToolbar" fmt="10"> <ul class="noListStyle">
<img class="toolbarImg fmt_perc" src="menu/img/spacer.gif"/> <li class="ToolbarIconOut selectableIcon" title="IncreaseDecimal">
</div> <div id="td_fmt_up" class="iconToolbar">
</td> <img class="toolbarImg fmt_up" src="menu/img/spacer.gif"/>
<td class="ToolbarIconOut selectableIcon" title="Currency"> </div>
<div id="td_fmt_money" class="iconToolbar" grp="money"> </li>
<img class="toolbarImg fmt_money" src="menu/img/spacer.gif"/> <li class="ToolbarIconOut selectableIcon" title="DecreaseDecimal">
</div> <div id="td_fmt_down" class="iconToolbar">
</td> <img class="toolbarImg fmt_down" src="menu/img/spacer.gif"/>
<td class="toolbarSep"> </div>
<div class="ToolbarIconOut"> </li>
<img src="menu/img/Border.png"/> </ul>
</div> </td>
</td> <td class="cp toolbarSep" style="vertical-align: top; width: 15px;min-width:15px;">
<div class="sepMenu ToolbarIconOut" style="position: absolute; background: url('menu/img/sep.png') repeat-y scroll 0pt 0pt transparent; margin-top: -7px; height: 65px; margin-left: 6px;"></div>
</td>
<td id="td_add_hyperlink" class="ToolbarIconOut selectableIcon iconToolbar" title="Link"> <td id="td_add_hyperlink" class="ToolbarIconOut selectableIcon iconToolbar" title="Link">
<img class="ToolbarIcon ToolbarLink" src="menu/img/spacer.gif"/> <img class="ToolbarIcon ToolbarLink" src="menu/img/spacer.gif"/>
</td> </td>
......
...@@ -364,19 +364,19 @@ ...@@ -364,19 +364,19 @@
switch(info.asc_getHorAlign()){ switch(info.asc_getHorAlign()){
case "right": case "right":
$("td[id*='td_ta']").removeClass("iconPressed"); $("li[id*='td_ta']").removeClass("iconPressed");
$("#td_ta_right").addClass("iconPressed"); $("#td_ta_right").addClass("iconPressed");
break; break;
case "left": case "left":
$("td[id*='td_ta']").removeClass("iconPressed"); $("li[id*='td_ta']").removeClass("iconPressed");
$("#td_ta_left").addClass("iconPressed"); $("#td_ta_left").addClass("iconPressed");
break; break;
case "center": case "center":
$("td[id*='td_ta']").removeClass("iconPressed"); $("li[id*='td_ta']").removeClass("iconPressed");
$("#td_ta_center").addClass("iconPressed"); $("#td_ta_center").addClass("iconPressed");
break; break;
case "justify": case "justify":
$("td[id*='td_ta']").removeClass("iconPressed"); $("li[id*='td_ta']").removeClass("iconPressed");
$("#td_ta_justify").addClass("iconPressed"); $("#td_ta_justify").addClass("iconPressed");
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment