Popup from a dropdown item selection

Last post 03-01-2006, 12:05 PM by rokinroj. 2 replies.
Sort Posts: Previous Next
  •  02-28-2006, 12:25 AM 16480

    Popup from a dropdown item selection

    I am trying to use javascript to pop a window based on an item selection in a custom dropdown.  I have seen a custom button example that achieves this, but I was unable to find anyone doing from a menu selection.  Any help is appreciated.
     
    Thanks
    Roger H.
  •  02-28-2006, 12:55 PM 16500 in reply to 16480

    Re: Popup from a dropdown item selection

    I should add that I would like to do this inside of the editor and not in the page if possible.  Is there a way to to modify the common.config to achieve this?  I am hoping for something like this in the dropdowns section of the config file:

    <
    CustomItems>
        <item text="Inset My Custom"">
            <
    value>&lt;script type='text/javascript'&gt;myJsFunction();&lt;/script&gt;</value>
            <
    html></html>
        </
    item>
    </
    CustomItems>
     
    Any ideas?
     
    Thanks
  •  03-01-2006, 12:05 PM 16563 in reply to 16500

    Re: Popup from a dropdown item selection

    If it needs to be done on the page instead of the control, I could do it that way.  But either way can anyone help out with this?
     
    Thanks
View as RSS news feed in XML