HOW I CREATE POPUP MENU ON MOUSE OVER

hello every body
my question is how to create popupmenu on mouse over on table column data in studio creator.
please help me
thanks

ok this examples runs great on image component, in button or hyperlynk dont work finee or i can find how, paste this code in the head of the jsp code:
<script type="text/javascript"><![CDATA[
var opt=0;
* AnyLink Drop Down Menu- � Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
//Contents for menu 1
var menu1=new Array()
menu1[0]='Information<\/a>'
menu1[1]='Del<\/a>'
var menuwidth='165px' //default menu width
var menubgcolor='lightyellow' //menu bgcolor
var disappeardelay=250 //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?
/////No further editting needed
var ie4=document.all
var ns6=document.getElementById&&!document.all
if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"><\/div>')
function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
return totaloffset;
function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
return edgeoffset
function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)
if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
return clickreturnvalue()
function clickreturnvalue(){
if (ie4||ns6) return false
else return true
function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
if (hidemenu_onclick=="yes")
document.onclick=hidemenu
]]></script>
Next, paste this in css stylesheet:
#dropmenudiv{
position:absolute;
border:1px solid black;
border-bottom-width: 0;
font:normal 12px Verdana;
line-height:18px;
z-index:100;
#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid black;
padding: 1px 0;
text-decoration: none;
font-weight: bold;
#dropmenudiv a:hover{
/*hover background color*/
background-color: #faebeb
and in the image componen in event onClick paste this
dropdownmenu(this, event, menu1, '150px')
onMouseOut event paste this:
delayhidemenu()
this should works, and as u can see, u can get more examples like this in the DHTML page. I hope it helps
Plz tell me if this is what ur looking for, oor if u need help, post again
Beltazor

Similar Messages

  • How i create popup menu when button onclick

    how i create popup menu when button onclick

    You try adding a scrip tag in your jsp code, and calling the function in the onclick attribute.
    Example:
    <script><![CDATA[
                    function confirmDelete(){
                    if(confirm("Are you sure you want to delete selected user")){
                    return true;
                    } else{
    return false;
    ]]></script>
    <ui:button action="#{View.delete_action}" binding="#{View.delete}" id="delete" onclick="confirmDelete"/>
    Cheers
    Daniel
    null

  • Oracle form 6.0, how to do 3D chart, calender,mouser over changing....

    oracle form 6.0, how to do 3D chart, calender,mouser over changing....in we form, like microsoft style.
    Or it's better use 9i or 10g jdeveloper? or other tchnology?

    The cpu resources are only limited once the cpu's are 100% utilized. It is highly unlikely that dom0 will try to use 100% of a cpu, let alone all cpus. Only when there are no idle physical cpus would you run into issues.
    You may want to try reducing the number of vcpus in the windows guest. I have seen reports from users claiming that having more vcpus in a windows guest causes it to run slower.

  • How to create popup in ABAP webdynpro.

    Hi,
    I found lot of examples to create a popup/ model window for java webdynpro.
    Could anyone give a pointer to an example which explains how to create popup in ABAP webdynpro??
    Kind Regards
    Shahul

    Hi Thomas:
    It worked fine the 1st time. Second time when the user clicks on the button to open up the popup it dumps.
    Here is the code in the action for popup:
    data: l_cmp_api type ref to if_wd_Component,
            l_window_manager type ref to if_wd_window_manager,
            l_api type ref to if_wd_View_controller,
            l_text type string_table.
      l_cmp_api = wd_comp_controller->wd_get_api( ).
      l_window_manager = l_cmp_api->get_window_manager( ).
      if wd_this->m_popup is initial.
        wd_this->m_popup = l_window_manager->create_window(
                 window_name = 'DOCQSOW'
                 button_kind = if_wd_window=>co_buttons_ok
                 message_type = if_wd_window=>co_msg_type_none ).
               component_usage_name = 'DOCQUERY_USAGE_1'
        l_api = wd_this->wd_get_api( ).
        wd_this->m_popup->subscribe_to_button_event(
              button = if_wd_window=>co_button_ok
              button_text = 'Transfer'
              action_name = 'POPUP_CLOSED'
              action_view = l_api  ) .
        wd_this->m_popup->SET_REMOVE_ON_CLOSE( abap_true ).
       endif.
      wd_this->m_popup->open( ).
    Second time when the popup tries to open, I get the following error:
    Method: RENDER_WINDOW of program CL_WDR_WINDOW_RENDERER========CP
    Method: RENDER_WINDOW of program CL_WDR_CLIENT_SSR=============CP
    Method: RENDER_POPUP_WINDOWS of program CL_WDR_CLIENT_SSR=============CP
    Method: RENDER_WINDOWS of program CL_WDR_CLIENT_SSR=============CP
    Method: IF_WDR_RESPONSE_RENDERER~RENDER_VIEWS of program CL_WDR_CLIENT_SSR=============CP
    Method: IF_WDR_RESPONSE_RENDERER~RENDER_USER_INTERFACE_UPDATES of program CL_WDR_CLIENT_SSR=============CP
    Method: IF_WDR_CLIENT~SEND_RESPONSE of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_WDR_CLIENT~SEND_RESPONSE of program CL_WDR_CLIENT_SSR=============CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Is there a way to destroy the instance of the m_popup?
    Any help is appreciated!
    Thanks

  • How to create a Menu for PeopleSoft HRMS application program ?

    Folks,
    Hello. I am developing PeopleSoft HRMS application program for a client. I have created 10 components. But I don't understand how to create a Menu on the left handside for users to access the components. The Menu's structure is as follows:
    Folder Root containing Folder1, Folder2.
    Folder1 containing Folder1a, Folder1b.
    Folder2 containing Folder2a, Folder2b.
    Folder1a containing Component1, Component2.
    Folder1b containing Component3, Component4.
    Folder2a containing Component5, Component6, Component7.
    Folder2b containing Component8, Component9, Component10.
    The Folder Root should appear in the Menu on the left handside. A user can reach Compoent1 by clicking
    Folder Root -> Folder1->Folder1a ->Component1.
    Can any folks tell me how to create such a hiearachical Menu ? Thanks.

    Folks,
    Hello. Thanks a lot for replying to me. By using PeopleTools->Portal->Structure and Content Reference, I have created the hierachical folder groups:
    FolderRoot containing Folder1 and Folder2
    Folder1 -> Folder1a -> the link to a Component
    Folder1 -> Folder1b -> the link to a Component
    Folder2 -> Folder2a -> the link to a Component
    The above hierachical folder groups have appeared on the left handside under "Menu" and work correctly.
    But when click on "FolderRoot", "Folder1" and "Folder2" don't appear under "FolderRoot" on the right handside of the screen. When click on "Folder1", "Folder1a" and "Folder1b" don't appear under "Folder1" on the right handside of the screen.
    I have checked PeopleTools ->Portal -> Structure and Content Reference's folder administration, there are no places to type in information to have children folders appear under its parent folder on the right handside of the screen.
    My question is :
    How to make children folders appear under its parent folder on the right handside of the screen ?

  • How to create file menu in the swing?

    How to create file menu or any menu in the swing?
    Please help me.

    How to create file menu or any menu in the
    swing?
    Please help me.By file menu, do you mean where you can choose a file to open or save to? If so, have you had a look at the File Chooser component? If not, please click on the link in the previous sentence to the Sun tutorial.
    Good luck
    /Pete

  • How to create Dynamic Menu in 11g?

    Hello All,
    I am using JDeveloper/Adf 11g.
    Can you please tell me how to create Dynamic menu(means Menu will be created from table if we make any changes in table it will reflect to the Menu).
    Thanks.
    Neelmani Jaiswal
    (Madhav, Hayaghat)
    Edited by: Neelmani Jaiswal on Jan 6, 2009 11:01 AM
    Edited by: Neelmani Jaiswal on Jan 6, 2009 11:01 AM
    Edited by: Neelmani Jaiswal on Feb 3, 2009 8:46 AM

    Neelmani,
    How: write some code.
    The Web User Interface Developer's Guide for Oracle Application Development Framework will be helpful. Hint: you may want to read section 14.2 (especially 14.2.1, item 2, which talks about using iterators in a menu) OR section 17.5, which talks about creating menus to support page hierarchies.
    John

  • Help!!! How to create simple menu with buttons.

    I basically need help on how to create a menu with Up, Left, Next and Back buttons.
    Then it must have a submenus like Telephone, Lights, Fans and Television.
    and more sub sub menus of On and Off buttons.
    Ive jut started to learn Labview and a newbie at it.
    It could be really nice if someone could make an example.
    Would appreciate it if it could work like Ipod interface.
    Thanksssss! Pls help!

    Duplicate post.

  • How to create a menu with pages linked as sub menu in ADF?

    Hi Experts,
    I'm new to ADF and trying to create a menu like below in ADF.
    Actions Menu
    |
    |
    Option 1 -- A page with some static text and links.
    Option 2 - A different page with some static text and links.
    Have evaluated options like panelGroupLayout and menu components, requesting experts opinion on the best way to do it.
    Thanks in advance..

    Thanks AP.
    Not like outlook. Here's some more details on what I'm looking for.
    Create a menu bar.
    Create a menu called "Actions"
    Create two items under it called "Option1" and "Option2".
    When I move the mouse over "Option1", I want a page to be shown on the right (just like how a sub menu will be displayed usually).
    When I move the mouse over "Option2", I want to show a different page on the right (just like how a sub menu will be displayed usually).
    Thanks in advance.
    Edited by: Muruhanantham C on Dec 28, 2012 12:51 PM

  • Creating an interactive CV: mouse over / roll over pop ups, embedded documents and videos

    Hi everyone,
    I am pretty new to Adobe Acrobat Pro and new to this forum (1st post here!). Greetings from Spain... and apologies for grammar mistakes and misleading explanations (in advance). I have been checking this forum and googling quite a bit, but I do not get to many conclusions (maybe I sleep few due to our baby!).
    I want to create an interactive CV with the following characteristics:
    1) CV in 1 page in a PDF document (no problem here!)
    2) Hyperlinks in the text which open embedded files (pdf of others) hidden to the viewer but which are in the pdf document. Possible? (I want the recruiter to receive just one file). Even better if they could be open in another window (doubt it).
              How could it be done? I try add documents and they are attached at the end, so the original pdf gets to have more pages, all viewable.
    3) Furthermore, mouse over / roll over pop ups which show you a preview of the file you may open clicking the hyperlink, for a quick view of the content.
              I think that this may be done, but using other programs, like InDesign. I just try to add a document, but it's sort of a link to a document in my computer. I may add pdf, pps files.
    4) Even more, would it be possible to embed a video which would open in a new window? If not, I tried to add a link to youtube and there was a warning as "this program tries to open a window, if you trust the owner... " (similar safety message) and the very last thing I want the recruiter to have to decide whether to decide to watch it or not.
    I know its a questions in its very first stages, but the big point is to know if/what it is possible to do, so that I search in the right direction.
    If you have any idea or advice (even if not related to PDF pro, of course), just please let me know.
    Thanks a lot in advance. I hope this thread may help others.
    Cheers,
    tebanseeker

    Hi Dave,
    Thanks a lot for the input.
    (3) Right, I could not find either a way using just Acrobat Pro (I'm using XI). Sad thing that you confirm it... But it looks like you may do it using other programs on the PDF, but I don't know to use them. You may take a look at this:
    https://www.youtube.com/watch?v=HEyJuT8SSME (popup rollovers using Illustrator)
    https://www.youtube.com/watch?v=YOVRMVdZbVE (popup rollovers using InDesign)
    (4) I think that embedding would make the file to big, so I may opt for the hyperlink to youtube option, even if I deeply dislike that message, although youtube is a reliable source for the viewer.
    Any other input is very welcome. I am pretty illiterate in the field!
    Have a nice weekend,
    tebanseeker

  • Spry Menu bar mouse-over?

    Hi there,
    I have created a spry menu bar and it's almost finished but I am having trouble with these 2 things:
    1. Only the buttons that have submenus change when the mouse pointer moves over it. This happened when I applied a background image to the buttons.
    2. I don't want the background image to be applied to the submenu items. I want those to have just 1 color and another color when the mouse pointer moves over it. (If this last part isn't possible, I would just like the first part to happen: I want it to have a color and not the background image that I applied)
    Could you please have a look at my CSS and tell me what I did wrong? Or what I should add?
    Thank you very very much.
    EC
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
    padding: 0;
    list-style-type: none;
    font-size: 155%;
    cursor: default;
    width: auto;
    font: "Bell MT";
    margin: 0;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
    z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 90%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: 204.8px;
    float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    z-index: 1020;
    cursor: default;
    width: 204.8px;
    position: absolute;
    left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    width: 204.8px;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
    position: absolute;
    margin: 0 0 0 0;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
    left: auto;
    top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    border: 1px solid #151515;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
    display: block;
    cursor: pointer;
    background-color: #EEE;
    padding: 0.5em 2.5em;
    color: #C3C2C2;
    text-decoration: none;
    background-image: url(Skyline/images/Background%20Menu%202.png);
    background-repeat: repeat-x;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    background-color: #414040;
    color: #C3C2C2;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
    background-color: #414040;
    color: #C3C2C2;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
    background-image: url(Skyline/images/Background%20Menu%202.png);
    background-repeat: repeat-x;
    background-position: 95% 50%;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
    background-repeat: no-repeat;
    background-position: 95% 50%;
    background-color: #414040;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
    background-image: url(SpryAssets/SpryMenuBarDownHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
    background-image: url(SpryAssets/SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;

    http://foundationphp.com/tutorials/sprymenu/customize2.php
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Dreamweaver menu widget mouse over

    Hi
    I'm trying to get my head around the menu widget in CS3 and thing are progressing ok.
    Things are progressing, but I have two small questions relating to this screenshot: http://www.violetmount.com/August/menu.png
    1. How can I only make the menu appear when I move the mouse over to it?
    2. Is there any way to have the top menu cell transparent?
    The first one is probably the most urgent at the moment! All the examples I've seen have the menu sitting there all the time, whereas I could do with it working like the menu bar in applications.
    Thanks
    Alexis

    Is it the roof or the driver's side window?It's where the 2 meet - it's a t-bar roof
    If is the window, try to determine if the seal
    between the window glass and the door frame is
    somehow messed up- bent, dirty, something that
    prevents a tight seal. You'll need to fix that, if
    that is the cause.There is no door frame!
    Like I always say, you can never have enough
    lubrication. Use some clear silicone spray on the
    window seal. Same with the door-to-frame seal.Ah, interesting. Thanks
    (this is actually the cure for said woes, so you've inadvertently set a dangerous precedent here!)
    If it is the roof itself, you'll have to perform
    similar investigations to determine the source of the
    leak.
    Hope that helps.It has, thanks!

  • How to create Static menu and Dynamic menu..?

    Hi,
         I'm new to flash and Action Script, I need to add static menu and dynamic menu to my application. I'm using Action Script 1.0. Can you help me to solve my problem..?
    Regards,
    Appu

    Hi Adithya,
    I think the following article is a great resource :
    http://www.ibm.com/developerworks/library/os-eclipse-3.3menu /index.html
    The current documentation for popup menu could be found here :
    http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench_basicext_popupMenus.htm
    (it is also available locally if you install the Eclipse Platform SDK, in "Help" -> "Help Contents"-> "Platform Plug-in Developer guide")
    Best regards,
    Mariot
    adithya a écrit :
    > Hello,
    > Can anyone tell me as to how to create a 'Context Menu' (static and
    > dynamic)??
    > Also what is the difference between a static and dynamic context menus?
    >
    > Are there any javadocs or tutorials?
    > Please help.
    >
    > Adithya.
    >

  • How to place popup menu on clicking a Component

    Hi everybody.
    I have a swing application where I have JFrame and so many components in that. I want to open Popup menu on clicking a button. The menu should have three menu items into that. It looks very simple but I am not sure how should I do that.
    If possible, try to explain it with small piece of code.
    Thanks in advance.

    yourJbutton.addMouseListener(new MouseAdapter() { //Listen for mouse events
      public void mousePressed(MouseEvent e) {
        if (SwingUtilities.isRightMouseButton(e) == true && e.isMetaDown() == true) {
          JPopupMenu popup = new JPopupMenu();
          JMenuItem mItem = new JMenuItem("Something");
          mItem.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
              // do your thing
          popup.add(mItem);
          popup.addSeparator();
          mItem = new JMenuItem("Close Popup");
          mItem.addActionListener(new ActionListener() {public void actionPerformed(ActionEvent e) {}});
          popup.add(mItem);
          popup.show(e.getComponent(), e.getX(), e.getY());
    });

  • Creating Popup Menu in Desktop Intelligence

    I need help creating a popup menu in the Tool menu of Deski.
    This popup needs to be visible when a report is open or when no report is open.
    It's my first add-in and I can't make my code work.
    Sub BuildMyMenu()
    Dim PopMenu As CmdBarControl
    Dim CleanPop As CmdBarControl
    Dim unvButton As CmdBarControl
    Dim lsiButton As CmdBarControl
    On Error Resume Next    'disable errors temporarily
    Set PopMenu = Application.CmdBars(1).Controls("&Tools").Controls("&Clean-Up Utility")
        If Err.Number = 0 Then  'button already exists
            Button.Delete       'delete it so that it can be re-defined
        Else
            Err.Clear           'clear the error so other testing can take place
        End If
    Set PopMenu = Application.CmdBars(1).Controls("&Tools").Controls.Add(boBarPopup)
    PopMenu.Caption = "&Clean-Up Utility"
    PopMenu.DescriptionText = "Clean-Up Utility"
    PopMenu.TooltipText = "Clean-Up Utility"
    Set unvButton = PopMenu.CmdBarPopup.Controls.Add(boControlButton)
    unvButton.Caption = "C&lean-Up Universe..."
    unvButton.DescriptionText = "Clean-Up Universe"
    unvButton.TooltipText = "Clean-Up Universe"
    unvButton.OnAction = filename(ThisDocument) & "!ShowUserForm2"
    Set PopMenu = Application.CmdBars(2).Controls("&Tools").Controls("&Clean-Up Utility")
        If Err.Number = 0 Then  'button already exists
            Button.Delete       'delete it so that it can be re-defined
        Else
            Err.Clear           'clear the error so other testing can take place
        End If
    Set PopMenu = Application.CmdBars(2).Controls("&Tools").Controls.Add(boBarPopup)
    PopMenu.Caption = "&Clean-Up Utility"
    PopMenu.DescriptionText = "Clean-Up Utility"
    PopMenu.TooltipText = "Clean-Up Utility"
    Set unvButton = PopMenu.CmdBarPopup.Controls.Add(boControlButton)
    unvButton.Caption = "C&lean-Up Universe..."
    unvButton.DescriptionText = "Clean-Up Universe"
    unvButton.TooltipText = "Clean-Up Universe"
    unvButton.OnAction = filename(ThisDocument) & "!ShowUserForm2"
    End Sub
    What I need is a popup menu from the Tools menu, that says "Clean-Up Utilities". From that popup menu, 2 more buttons: one that says "Clean-Up Universes" and the other "Clean-Up LSI".
    Thanks for your help.

    In what way, exactly, isn't it working? Do you see the pop up menu at all?
    Did you make sure that JS is enabled in your Acrobat?
    I've ran the code and it seems to work fine for me. However, I don't quite
    get what it's supposed to do.
    Is it supposed to take the user to a specific page, or to a named
    destination? It seems like it's trying to do both, which doesn't make much
    sense.

Maybe you are looking for

  • Need help for Adapter Specific Message Attributes in Receiver Email Adapter

    We want to use Adapter Specifice Message Attributes(ASMA) in Receiver Email Adapter for sending the mails dynamically, and to set the CC and BCC. I have gone through the help give in <a href="http://help.sap.com/saphelp_nw04/helpdata/en/a5/1b5342d8a7

  • Where has the colored fringe removal tool gone in ACR 6.7?

    Having just updated ACR to ver 6.7 (6.7.0.339) I am surprised to find that the colored fringe removal tool in the Lens Correction palette has disappeared. All that there is now is Transform, Lens Vignetting and the relatively useless Defringe. I thou

  • Business Area Wise Number Ranges

    Hi All, Can you please guide me  how to maintain Business Area wise Number Ranges for Vendor and Cust Payment , FI Invoices and other Fi documents. Regards, Javed

  • How to configure Rman for Grid 11g

    hi all i am using Oracle Grid 11g R2. Oracle Database 11g R2. Oracle Linux 5.5 i want to configure Rman for my Rac i searched and found some notes such as http://oraclehack.blogspot.com/2010/07/oracle-11gr2-rman-netbackup-and-media.html http://oracle

  • Best way to transfer csv or excel file ??

    Hi Can anyone recommend the best way for a customer emailing a csv or excel file to me - how can i guarantee it came from them and hasn't been tampered with. This file is generated from the application i develped if this helps. Have looked at public