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,41 +1398,50 @@ ...@@ -1398,41 +1398,50 @@
<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>
<ul class="noListStyle">
<li id="td_ta_left" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextLeft">
<img class="toolbarImg align_left" src="menu/img/spacer.gif"/> <img class="toolbarImg align_left" src="menu/img/spacer.gif"/>
</td> </li>
<td id="td_ta_center" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextCenter"> <li id="td_ta_center" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextCenter">
<img class="toolbarImg align_center" src="menu/img/spacer.gif"/> <img class="toolbarImg align_center" src="menu/img/spacer.gif"/>
</td> </li>
<td id="td_ta_right" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextRight"> <li id="td_ta_right" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextRight">
<img class="toolbarImg align_right" src="menu/img/spacer.gif"/> <img class="toolbarImg align_right" src="menu/img/spacer.gif"/>
</td> </li>
<td id="td_ta_justify" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextJustify"> <li id="td_ta_justify" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextJustify">
<img class="toolbarImg align_justify" src="menu/img/spacer.gif"/> <img class="toolbarImg align_justify" src="menu/img/spacer.gif"/>
</td> </li>
<td id="td_verticalAlign" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignVert" style="padding: 0px;"> </ul>
<ul class="noListStyle">
<li id="td_verticalAlign" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignVert" style="padding-right: 15px;">
<div id="td_va" class="ToolbarButtonCaption" al="bottom"> <div id="td_va" class="ToolbarButtonCaption" al="bottom">
<div class="toolbarImg valign_bottom"></div> <div class="toolbarImg valign_bottom"></div>
</div> </div>
<div id="td_va_choose" class="ToolbarDropDownInner"> <div id="td_va_choose" class="ToolbarDropDownInner">
<div class="ToolbarDropDown"></div> <div class="ToolbarDropDown"></div>
</div> </div>
</td> </li>
<td id="td_text_wrap" class="ToolbarIconOut selectableIcon iconToolbar" title="WrapText"> <li class="toolbarSep">
<img class="toolbarImg text_wrap" src="menu/img/spacer.gif"/>
</td>
<td class="toolbarSep">
<div class="ToolbarIconOut"> <div class="ToolbarIconOut">
<img src="menu/img/Border.png"/> <img src="menu/img/Border.png"/>
</div> </div>
</td> </li>
<td id="td_mergeCells" class="ToolbarIconOut selectableIcon iconToolbar" title="Merge"> <li id="td_text_wrap" class="ToolbarIconOut selectableIcon iconToolbar" title="WrapText">
<img class="toolbarImg merge_cells" src="menu/img/spacer.gif"/> <img class="toolbarImg text_wrap" src="menu/img/spacer.gif"/>
</td> </li>
<td class="toolbarSep"> <li class="toolbarSep">
<div class="ToolbarIconOut"> <div class="ToolbarIconOut">
<img src="menu/img/Border.png"/> <img src="menu/img/Border.png"/>
</div> </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>
<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">
...@@ -1444,10 +1453,8 @@ ...@@ -1444,10 +1453,8 @@
<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"/>
</div>
</td> </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">
...@@ -1457,45 +1464,47 @@ ...@@ -1457,45 +1464,47 @@
<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"/>
</div>
</td>
<td class="ToolbarIconOut selectableIcon" title="IncreaseDecimal">
<div id="td_fmt_up" class="iconToolbar">
<img class="toolbarImg fmt_up" src="menu/img/spacer.gif"/>
</div>
</td>
<td class="ToolbarIconOut selectableIcon" title="DecreaseDecimal">
<div id="td_fmt_down" class="iconToolbar">
<img class="toolbarImg fmt_down" src="menu/img/spacer.gif"/>
</div>
</td> </td>
<td class="ToolbarIconOut selectableIcon" title="NumberFormat"> <td>
<ul class="noListStyle">
<li class="ToolbarIconOut selectableIcon" title="NumberFormat">
<div id="td_fmt_digit" class="iconToolbar" grp="digit"> <div id="td_fmt_digit" class="iconToolbar" grp="digit">
<img class="toolbarImg fmt_digit" src="menu/img/spacer.gif"/> <img class="toolbarImg fmt_digit" src="menu/img/spacer.gif"/>
</div> </div>
</td> </li>
<td class="ToolbarIconOut selectableIcon" title="DateTimeFormat"> <li class="ToolbarIconOut selectableIcon" title="DateTimeFormat">
<div id="td_fmt_date" class="iconToolbar" grp="date"> <div id="td_fmt_date" class="iconToolbar" grp="date">
<img class="toolbarImg fmt_date" src="menu/img/spacer.gif"/> <img class="toolbarImg fmt_date" src="menu/img/spacer.gif"/>
</div> </div>
</td> </li>
<td class="ToolbarIconOut selectableIcon" title="PercentStyle"> <li class="ToolbarIconOut selectableIcon" title="PercentStyle">
<div id="td_fmt_perc" class="iconToolbar" fmt="10"> <div id="td_fmt_perc" class="iconToolbar" fmt="10">
<img class="toolbarImg fmt_perc" src="menu/img/spacer.gif"/> <img class="toolbarImg fmt_perc" src="menu/img/spacer.gif"/>
</div> </div>
</td> </li>
<td class="ToolbarIconOut selectableIcon" title="Currency"> <li class="ToolbarIconOut selectableIcon" title="Currency">
<div id="td_fmt_money" class="iconToolbar" grp="money"> <div id="td_fmt_money" class="iconToolbar" grp="money">
<img class="toolbarImg fmt_money" src="menu/img/spacer.gif"/> <img class="toolbarImg fmt_money" src="menu/img/spacer.gif"/>
</div> </div>
</td> </li>
<td class="toolbarSep"> </ul>
<div class="ToolbarIconOut"> <ul class="noListStyle">
<img src="menu/img/Border.png"/> <li class="ToolbarIconOut selectableIcon" title="IncreaseDecimal">
<div id="td_fmt_up" class="iconToolbar">
<img class="toolbarImg fmt_up" src="menu/img/spacer.gif"/>
</div> </div>
</li>
<li class="ToolbarIconOut selectableIcon" title="DecreaseDecimal">
<div id="td_fmt_down" class="iconToolbar">
<img class="toolbarImg fmt_down" src="menu/img/spacer.gif"/>
</div>
</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>
<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"/>
......
...@@ -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