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: 19
  • 2.JPG
    2.JPG
    146.3 KB · Views: 18
Last edited by a moderator:

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
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)">
 
Upvote 0

Forum statistics

Threads
1,214,976
Messages
6,122,543
Members
449,089
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top