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 @@
<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_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"/>
</td>
<td id="td_ta_center" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextCenter">
</li>
<li id="td_ta_center" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextCenter">
<img class="toolbarImg align_center" src="menu/img/spacer.gif"/>
</td>
<td id="td_ta_right" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextRight">
</li>
<li id="td_ta_right" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextRight">
<img class="toolbarImg align_right" src="menu/img/spacer.gif"/>
</td>
<td id="td_ta_justify" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextJustify">
</li>
<li id="td_ta_justify" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignTextJustify">
<img class="toolbarImg align_justify" src="menu/img/spacer.gif"/>
</td>
<td id="td_verticalAlign" class="ToolbarIconOut selectableIcon iconToolbar" title="AlignVert" style="padding: 0px;">
</li>
</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 class="toolbarImg valign_bottom"></div>
</div>
<div id="td_va_choose" class="ToolbarDropDownInner">
<div class="ToolbarDropDown"></div>
</div>
</td>
<td id="td_text_wrap" class="ToolbarIconOut selectableIcon iconToolbar" title="WrapText">
<img class="toolbarImg text_wrap" src="menu/img/spacer.gif"/>
</td>
<td class="toolbarSep">
</li>
<li class="toolbarSep">
<div class="ToolbarIconOut">
<img src="menu/img/Border.png"/>
</div>
</td>
<td id="td_mergeCells" class="ToolbarIconOut selectableIcon iconToolbar" title="Merge">
<img class="toolbarImg merge_cells" src="menu/img/spacer.gif"/>
</td>
<td class="toolbarSep">
</li>
<li id="td_text_wrap" class="ToolbarIconOut selectableIcon iconToolbar" title="WrapText">
<img class="toolbarImg text_wrap" src="menu/img/spacer.gif"/>
</li>
<li class="toolbarSep">
<div class="ToolbarIconOut">
<img src="menu/img/Border.png"/>
</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">
<div id="td_sort_asc" class="iconToolbar">
......@@ -1444,10 +1453,8 @@
<img class="toolbarImg sort_desc" src="menu/img/spacer.gif"/>
</div>
</td>
<td class="toolbarSep">
<div class="ToolbarIconOut">
<img src="menu/img/Border.png"/>
</div>
<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_Formulas" class="ToolbarIconOut selectableIcon iconToolbar" title="Function" style="padding: 0px;">
<div id="td_sum" class="ToolbarButtonCaption">
......@@ -1457,45 +1464,47 @@
<div class="ToolbarDropDown"></div>
</div>
</td>
<td class="toolbarSep">
<div class="ToolbarIconOut">
<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 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="NumberFormat">
<td>
<ul class="noListStyle">
<li class="ToolbarIconOut selectableIcon" title="NumberFormat">
<div id="td_fmt_digit" class="iconToolbar" grp="digit">
<img class="toolbarImg fmt_digit" src="menu/img/spacer.gif"/>
</div>
</td>
<td class="ToolbarIconOut selectableIcon" title="DateTimeFormat">
</li>
<li class="ToolbarIconOut selectableIcon" title="DateTimeFormat">
<div id="td_fmt_date" class="iconToolbar" grp="date">
<img class="toolbarImg fmt_date" src="menu/img/spacer.gif"/>
</div>
</td>
<td class="ToolbarIconOut selectableIcon" title="PercentStyle">
</li>
<li class="ToolbarIconOut selectableIcon" title="PercentStyle">
<div id="td_fmt_perc" class="iconToolbar" fmt="10">
<img class="toolbarImg fmt_perc" src="menu/img/spacer.gif"/>
</div>
</td>
<td class="ToolbarIconOut selectableIcon" title="Currency">
</li>
<li class="ToolbarIconOut selectableIcon" title="Currency">
<div id="td_fmt_money" class="iconToolbar" grp="money">
<img class="toolbarImg fmt_money" src="menu/img/spacer.gif"/>
</div>
</td>
<td class="toolbarSep">
<div class="ToolbarIconOut">
<img src="menu/img/Border.png"/>
</li>
</ul>
<ul class="noListStyle">
<li class="ToolbarIconOut selectableIcon" title="IncreaseDecimal">
<div id="td_fmt_up" class="iconToolbar">
<img class="toolbarImg fmt_up" src="menu/img/spacer.gif"/>
</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 id="td_add_hyperlink" class="ToolbarIconOut selectableIcon iconToolbar" title="Link">
<img class="ToolbarIcon ToolbarLink" src="menu/img/spacer.gif"/>
......
......@@ -364,19 +364,19 @@
switch(info.asc_getHorAlign()){
case "right":
$("td[id*='td_ta']").removeClass("iconPressed");
$("li[id*='td_ta']").removeClass("iconPressed");
$("#td_ta_right").addClass("iconPressed");
break;
case "left":
$("td[id*='td_ta']").removeClass("iconPressed");
$("li[id*='td_ta']").removeClass("iconPressed");
$("#td_ta_left").addClass("iconPressed");
break;
case "center":
$("td[id*='td_ta']").removeClass("iconPressed");
$("li[id*='td_ta']").removeClass("iconPressed");
$("#td_ta_center").addClass("iconPressed");
break;
case "justify":
$("td[id*='td_ta']").removeClass("iconPressed");
$("li[id*='td_ta']").removeClass("iconPressed");
$("#td_ta_justify").addClass("iconPressed");
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