Drop down select

madu

New Member
Joined
Jul 18, 2020
Messages
2
Office Version
  1. 365
Platform
  1. Windows
HI

Click on the highlighted value in the drop down and help getting the new window




JavaScript:
<table class="adjustHtmlDropDownWrapper" width="185" height="17" border="0" cellpadding="0" cellspacing="0">

  <tbody><tr>

   <td valign="top" align="left">

<script type="text/javascript">

var MENU_ITEMS = [

    {pos:'relative', delay:150, itemoff:[0,(185 - 2)], leveloff:[16,0], style:ACTION_BUTTON_DROP_DOWN_STYLE, size:[17,185]},

    {code:"Print / PDF",

        sub:[

            {itemoff:[15,0], style:ACTION_BUTTON_DROP_DOWN_MENUITEMS_STYLE},


            {code:"Print&nbsp;This&nbsp;Page", "url":"javascript:rs('PrintPreview','PurchaseOrder?key=126544404126&step=PrintOptions&OrderAssignment=121712328375', 420, 570, 0); "},

            {code:"View PDF", "url":"javascript:loadPDF();"},

            {code:"Add to Batch Print", "url":"javascript:submitUserAction('addToBatchPrint')"}        ]

    }

];

var m_adjustHtmlDropDown38263 = new COOLjsMenu("_adjustHtmlDropDown38263", MENU_ITEMS);

</script><div id="_adjustHtmlDropDown38263_r" style="z-index:1000;position:absolute;left:rpx;top:epx;"><div style="position: absolute; visibility: inherit; top: 0px; left: 0px; width: 185px; height: 17px;"><div id="_adjustHtmlDropDown38263_t_0" class="" style="overflow:hidden;position:absolute;width:185px;height:17px;left:0px;top:0px;background-color:#BBBBBB;"></div><table id="_adjustHtmlDropDown38263_t_1" class="" style="position:absolute;left:2px;top:2px;width:181px;height:13px;background-color:#EEEEEE;" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td><div class="dropdownactionbutton actionbuttontext" style="">Print / PDF</div></td></tr></tbody></table><table id="_adjustHtmlDropDown38263_t_2" class="" style="visibility: hidden; position: absolute; left: 2px; top: 2px; width: 181px; height: 13px;" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td><div class="dropdownactionbutton actionbuttontext" style="">Print / PDF</div></td></tr></tbody></table><a id="_adjustHtmlDropDown38263_t_3" style="display:block;position:absolute;width:185px;height:17px;left:0px;top:0px;" class="" title="" accesskey="" href="#" target="" onfocus="return $instances[1].$dispatch('focus',window.event||arguments[0],0)" onblur="return $instances[1].$dispatch('blur',window.event||arguments[0],0)" onkeydown="return $instances[1].$dispatch('keydown',window.event||arguments[0],0)" onmouseover="return $instances[1].$dispatch('mouseover',window.event||arguments[0],0)" onmouseout="return $instances[1].$dispatch('mouseout',window.event||arguments[0],0)" onclick="return $instances[1].$dispatch('click',window.event||arguments[0],0)"><img src="../images/common/apixel.gif" width="100%" height="100%" title="" alt="" border="0"></a></div><div style="position: absolute; visibility: hidden; top: 16px; left: 0px; width: 185px; height: 47px;"><div id="_adjustHtmlDropDown38263_t_4" class="" style="overflow:hidden;position:absolute;width:185px;height:17px;left:0px;top:0px;background-color:#BBBBBB;"></div><table id="_adjustHtmlDropDown38263_t_5" class="" style="position:absolute;left:2px;top:1px;width:181px;height:14px;background-color:#EEEEEE;" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td><div class="dropdownactionbuttonmenuitem dropdownactionbuttonmenuitemtext" style="">Print&nbsp;This&nbsp;Page</div></td></tr></tbody></table><table id="_adjustHtmlDropDown38263_t_6" class="" style="visibility: hidden; position: absolute; left: 2px; top: 1px; width: 181px; height: 14px; background-color: rgb(223, 231, 235);" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td><div class="dropdownactionbuttonmenuitem dropdownactionbuttonmenuitemtext" style="">Print&nbsp;This&nbsp;Page</div></td></tr></tbody></table><a id="_adjustHtmlDropDown38263_t_7" style="display:block;position:absolute;width:185px;height:17px;left:0px;top:0px;" class="" title="" accesskey="" href="javascript:rs('PrintPreview','PurchaseOrder?key=126544404126&amp;step=PrintOptions&amp;OrderAssignment=121712328375', 420, 570, 0); " target="" onfocus="return $instances[1].$dispatch('focus',window.event||arguments[0],1)" onblur="return $instances[1].$dispatch('blur',window.event||arguments[0],1)" onkeydown="return $instances[1].$dispatch('keydown',window.event||arguments[0],1)" onmouseover="return $instances[1].$dispatch('mouseover',window.event||arguments[0],1)" onmouseout="return $instances[1].$dispatch('mouseout',window.event||arguments[0],1)" onclick="return $instances[1].$dispatch('click',window.event||arguments[0],1)"><img src="../images/common/apixel.gif" width="100%" height="100%" title="" alt="" border="0"></a><div id="_adjustHtmlDropDown38263_t_8" class="" style="overflow:hidden;position:absolute;width:185px;height:17px;left:0px;top:15px;background-color:#BBBBBB;"></div><table id="_adjustHtmlDropDown38263_t_9" class="" style="position:absolute;left:2px;top:16px;width:181px;height:14px;background-color:#EEEEEE;" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td><div class="dropdownactionbuttonmenuitem dropdownactionbuttonmenuitemtext" style="">View PDF</div></td></tr></tbody></table><table id="_adjustHtmlDropDown38263_t_10" class="" style="visibility: hidden; position: absolute; left: 2px; top: 16px; width: 181px; height: 14px; background-color: rgb(223, 231, 235);" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td><div class="dropdownactionbuttonmenuitem dropdownactionbuttonmenuitemtext" style="">View PDF</div></td></tr></tbody></table><a id="_adjustHtmlDropDown38263_t_11" style="display:block;position:absolute;width:185px;height:17px;left:0px;top:15px;" class="" title="" accesskey="" href="javascript:loadPDF();" target="" onfocus="return $instances[1].$dispatch('focus',window.event||arguments[0],2)" onblur="return $instances[1].$dispatch('blur',window.event||arguments[0],2)" onkeydown="return $instances[1].$dispatch('keydown',window.event||arguments[0],2)" onmouseover="return $instances[1].$dispatch('mouseover',window.event||arguments[0],2)" onmouseout="return $instances[1].$dispatch('mouseout',window.event||arguments[0],2)" onclick="return $instances[1].$dispatch('click',window.event||arguments[0],2)"><img src="../images/common/apixel.gif" width="100%" height="100%" title="" alt="" border="0"></a><div id="_adjustHtmlDropDown38263_t_12" class="" style="overflow:hidden;position:absolute;width:185px;height:17px;left:0px;top:30px;background-color:#BBBBBB;"></div><table id="_adjustHtmlDropDown38263_t_13" class="" style="position:absolute;left:2px;top:31px;width:181px;height:14px;background-color:#EEEEEE;" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td><div class="dropdownactionbuttonmenuitem dropdownactionbuttonmenuitemtext" style="">Add to Batch Print</div></td></tr></tbody></table><table id="_adjustHtmlDropDown38263_t_14" class="" style="visibility:hidden;position:absolute;left:2px;top:31px;width:181px;height:14px;background-color:#DFE7EB;" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td><div class="dropdownactionbuttonmenuitem dropdownactionbuttonmenuitemtext" style="">Add to Batch Print</div></td></tr></tbody></table><a id="_adjustHtmlDropDown38263_t_15" style="display:block;position:absolute;width:185px;height:17px;left:0px;top:30px;" class="" title="" accesskey="" href="javascript:submitUserAction('addToBatchPrint')" target="" onfocus="return $instances[1].$dispatch('focus',window.event||arguments[0],3)" onblur="return $instances[1].$dispatch('blur',window.event||arguments[0],3)" onkeydown="return $instances[1].$dispatch('keydown',window.event||arguments[0],3)" onmouseover="return $instances[1].$dispatch('mouseover',window.event||arguments[0],3)" onmouseout="return $instances[1].$dispatch('mouseout',window.event||arguments[0],3)" onclick="return $instances[1].$dispatch('click',window.event||arguments[0],3)"><img src="../images/common/apixel.gif" width="100%" height="100%" title="" alt="" border="0"></a></div></div>

<div style="display: inline; position: absolute; z-index: 1001; width: 185; height: 17px; cursor: pointer; cursor: hand;" onclick="eval(this.onmouseover.call(this));" onfocus="this.parentNode.getElementsByTagName('a')[0].focus();" onmouseover="this.parentNode.getElementsByTagName('a')[0].onmouseover();" onmouseout="this.parentNode.getElementsByTagName('a')[0].onmouseout();"><img src="../images/common/apixel.gif" width="185" height="17/"></div>

    </td><td>

  </td></tr>

</tbody></table>
 

Attachments

  • 1.JPG
    1.JPG
    121.3 KB · Views: 6
  • 2.JPG
    2.JPG
    146.3 KB · Views: 5
Last edited by a moderator:

Some videos you may like

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

madu

New Member
Joined
Jul 18, 2020
Messages
2
Office Version
  1. 365
Platform
  1. Windows
please help to the select below value in the drop down

<a id="_adjustHtmlDropDown38263_t_11" style="display:block;position:absolute;width:185px;height:17px;left:0px;top:15px;" class="" title="" accesskey="" href="javascript:loadPDF();" target="" onfocus="return $instances[1].$dispatch('focus',window.event||arguments[0],2)" onblur="return $instances[1].$dispatch('blur',window.event||arguments[0],2)" onkeydown="return $instances[1].$dispatch('keydown',window.event||arguments[0],2)" onmouseover="return $instances[1].$dispatch('mouseover',window.event||arguments[0],2)" onmouseout="return $instances[1].$dispatch('mouseout',window.event||arguments[0],2)" onclick="return $instances[1].$dispatch('click',window.event||arguments[0],2)">
 

Watch MrExcel Video

Forum statistics

Threads
1,113,833
Messages
5,544,576
Members
410,621
Latest member
S Oberlander
Top