• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    How to make Opera button with dropdown

    Opera for Windows
    3
    16
    3921
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • emc
      emc last edited by

      Hello,

      I know basic skill on how to make button :

      i.e.
      Button0, "<< S >>"=Save window setup, "600", , "<< S >>" & Focus next widget & Delay, 300 & Check item & Focus next widget & Focus next widget & Delay, 300 & Click button & Delay, 100 & Click button

      Button1, "Delay"=Delay, 10, , "D e l l" & Email Clear Formatting & Delay, 200 & Open

      How I can make for example the 2 buttons above in 1 single button with dropdown ?

      Thank you very much.
      Edmond.

      Reply Quote 0
        1 Reply Last reply
      • emc
        emc last edited by

        anyone please...........

        Thank you very much.

        Reply Quote 0
          1 Reply Last reply
        • emc
          emc last edited by

          Can someone show me please...............

          Thank you very much.
          edmond.

          Reply Quote 0
            1 Reply Last reply
          • stng
            stng last edited by

            @emc

            How I can make for example the 2 buttons above in 1 single button with dropdown ?
            Thank you very much. Edmond.

            1. Create in your menu configuration a new menu section and new strings (menu items) with actions you want. For an example: [My_Menu_Section01]

            2. Create new button with primary action Show popup menu, "My_Menu_Section01"

            p.s. Keep in mind that not all actions and their combinations will work through the menu.

            Reply Quote 0
              1 Reply Last reply
            • emc
              emc last edited by

              Thankssssssssssss

              I tried both of these, button okay and is there with name "ABC" I can put at start bar okay but the button is not press-able.

              Please can you point me where need to be correct ?

              Opera:/button/Delay,10,,ABC%20&%20show%20popup%20menu%20,%20"MyMenuSection01"

              OR

              Opera:/button/Delay,10,,ABC%20&go%20to%20page%20,%20"https://www.gmail.com"%20&%20show%20popup%20menu%20,%20"MyMenuSection01"

              My Menu is :

              Opera Preferences version 2.1

              ; Do not edit this file while Opera is running

              ; This file is stored in UTF-8 encoding

              [Version]

              File Version=2

              [Info]

              Description=Opera Standard menu setup

              Author=Opera Software ASA

              Version=1

              NAME=Copy of Opera Standard

              [MyMenuSection01]

              Item, "ABCC"=Go to page, "https://www.gmail.com"

              Item, "DEF"=Go to page , "http://yahoo.com"

              Item, "XYZ"=Go to page, "http://MSN.com"

              [Links Panel Item Menu]

              Item, SI_OPEN_BUTTON_TEXT=Open link

              Item, MI_IDM_MENU_PAGEBAR_LINK_IN_NEW_PAGE=Open link in new page......................................

              Thank you very much.
              Edmond.

              Reply Quote 0
                1 Reply Last reply
              • emc
                emc last edited by

                Thank stng ,

                Button is working back on now.............

                Thank you very much.
                edmond.

                Reply Quote 0
                  1 Reply Last reply
                • emc
                  emc last edited by

                  Hello ,

                  This button can click & immediately go to the 1st website from [MyMenuSection01]. Also I can click the same button & choose other website to go to.

                  Button01, "Delay"="Delay, 10, , "Yahoo" & Go to page, "https://www.Yahoo.com" & Show popup menu, "MyMenuSection01""

                  But why the same string ( almost same ) of this another button does not perform the same ? It does not go to the 1st website when click on it but show me the multi buttons I created.

                  Button02, "Delay"="Delay, 10, , "GMAIL" & "Open URL in new page, "http://gmail.com"" & Show popup menu , "MyMenuSection02"

                  I want to :

                  1. Open URL in new page.

                  2. Button response on click & open the 1st website from "MyMenuSection02"

                  Thank you very much.
                  Edmond

                  Reply Quote 0
                    1 Reply Last reply
                  • A Former User
                    A Former User last edited by

                    There should be a double <"> at the end of the line, as in the first example, you only have a single one in the second example.
                    🙂

                    Reply Quote 0
                      1 Reply Last reply
                    • emc
                      emc last edited by

                      Thanks

                      My problem is :

                      Button1, "Delay"="Delay, 10, , "GMAILMJC" & Go to page, "https://www.gmail.com" & Show popup menu, "MyMenuSection01""

                      Can Automatically go the the first item of "MyMenuSection01"" when click on the button.

                      I also choose the sister button from "MyMenuSection01""

                      But it does not open it on a new tab.

                      This one :

                      Button2, "Delay"=Delay, 10, , "GMAIL" & "Open URL in new page, "http://gmail.com"" & Show popup menu , "MyMenuSection01""

                      Cannot automatically go to the first item of "MyMenuSection01"" when click on the button.

                      But it does open it on a new tab.

                      How to make a button to have both :

                      Can automatically go to the first item of "MyMenuSection01"" when click on the button.

                      And it does open it on a new tab.

                      Thank you very much.
                      Edmond.

                      Reply Quote 0
                        1 Reply Last reply
                      • emc
                        emc last edited by

                        Hello,

                        How to modify the button below so that the "1st command" will fire once press ?

                        Also, can give me time to select "2nd command" to fire if I choose before Delay, 100.

                        Button12, "Delay"="Delay, 100 , , "INSPR|LENOV" & Show popup menu , "MyMenuSectionsinspiron""

                        Now it shows only dropdown & wait for me choose.

                        I want this button default fire the 1st command when button is pressed.

                        [MyMenuSectionsinspiron]

                        Item, "inspiron"=Delay, 600, , "Inspiron 11" & Email Clear Formatting & ..Send mail & Delay, 600 & Send queued mail

                        Item, "Lenovo"=Delay, 600, , "Lenovo" & Email Clear Formatting & ....Send mail & Delay, 600 & Send queued mail

                        Thank you very much.
                        Edmond.

                        Reply Quote 0
                          1 Reply Last reply
                        • stng
                          stng last edited by

                          @emc

                          But why the same string ( almost same ) of this another button does not perform the same ? It does not go to the 1st website when click on it but show me the multi buttons I created. Button02, "Delay"="Delay, 10, , "GMAIL" & "Open URL in new page, "http://gmail.com"" & Show popup menu , "MyMenuSection02"

                          That's probably because Opera ignores "Show popup menu" command due to lost of focus after the new page command.

                          1.Try to use a different method. Use "hold on" function (Opera's special function for a toolbar buttons) to show your customized popup menu after new page.

                          Button2, "MyButton02"="Delay, 10, , "GMAIL", "MyButton02_ICON" & Open url in new page, "http://gmail.com" + Show hidden popup menu, "MyMenuSection02""

                          How this works. Click on the button opens gmail.com in new tab. But when you click on this toolbar button with left mouse button and hold on left mouse button (w/o release) for two seconds - it will show your popup menu.

                          2.There is alternative method without hold on, just adds a dropdown arrow for a popup menu:

                          Button2, "MyButton02"="Delay, 10, , "GMAIL", "MyButton02_ICON" & Open url in new page, "http://gmail.com" + Show popup menu, "MyMenuSection02""

                          Reply Quote 0
                            1 Reply Last reply
                          • emc
                            emc last edited by

                            Hi Stng,

                            Thanks a thousand ......... !

                            What is purpose of the 2 below :

                            "MyButton02"

                            "MyButton02_ICON"

                            I can make custom icon ....... ?

                            Thank you very much.
                            Edmond.

                            Reply Quote 0
                              1 Reply Last reply
                            • stng
                              stng last edited by

                              @emc

                              "MyButton02" - is a button name (basically tooltip)

                              "MyButton02_ICON" - is a button icon

                              This link should help to choose a preferable icon: http://www.opera1.ovh.org/skinoskop.php
                              You can use any icon from a Opera's skin (standard or not standard - doesn't matter) .

                              I can make custom icon ....... ?

                              Yes, of course. You can add your own icon. But this is a little bit tricky, requiring editing of the skin.ini of your Opera's skin configuration. Here is a good manual: http://homepage.hispeed.ch/ttt-o/guide/32full/a-images.html

                              Reply Quote 0
                                1 Reply Last reply
                              • emc
                                emc last edited by

                                Hi stng ,

                                Button2, "MyButton02"="Delay, 10, , "GMAIL", "MyButton02_ICON" & Open url in new page, "http://gmail.com" + Show hidden popup menu, "MyMenuSection02""

                                I should made my custom button with format .ico ., 16x16 pixel ?

                                If I give it a name " Funny.ico " ., where I should change from here ===> Button2, "MyButton02"="Delay, 10, , "GMAIL", "MyButton02_ICON" ?? ( Because I do not understand why needs B"MyButton02" and "MyButton02_ICON"

                                Finally, my " Funny.ico " should put in folder buttons ?

                                To the Email contact icons, maximum allowing to ? I can see now default is like this :

                                Contact38 = contacts/contact_followed.png

                                Contact39 = contacts/contact_ignored.png

                                Thank you very much.
                                Edmond.

                                Reply Quote 0
                                  1 Reply Last reply
                                • stng
                                  stng last edited by

                                  @emc
                                  Hi

                                  I should made my custom button with format .ico ., 16x16 pixel ?

                                  There are two standard(most used) sizes of icons in Opera:

                                  16x16 (small)

                                  22x22 (normal)

                                  32x32

                                  Also, Opera supports a bigger icons (up to 128x128, AFAIK), but it's need a specified skin with large icons support.

                                  http://homepage.hispeed.ch/ttt-o/guide/32full/l-specialsections.html#options

                                  I should made my custom button with format .ico ., 16x16 pixel ?

                                  Yes. Also, you can use 22x22 and bigger icons.

                                  Because I do not understand why needs B"MyButton02" and "MyButton02ICON"

                                  Replace with you own names.

                                  MyButton02 = Replace with the button's name you want

                                  MyButton02_ICON = Replace with "Funny" if you've added the new ICON (with "Funny" name) in skin.

                                  Finally, my " Funny.ico " should put in folder buttons ?

                                  Any folder inside skin's archive. Just use a correct path in skin.ini.

                                  "Open the program executable in an Icon Editor such as Icon Sushi and save the icon as a 32 pixel transparent PNG. Unzip the entire skin from the skin directory to create subdirctories. The external program icons from my Opera Glasses skin can be found in \Skin\Opera Glasses\buttons2\ — copy your new PNG icon e.g. maintype.png to this directory."

                                  Source: https://web.archive.org/web/20051228221335/http://www.aimwell.org/Help/Buttons/buttons.html

                                  Reply Quote 0
                                    1 Reply Last reply
                                  • emc
                                    emc last edited by

                                    Hi stng ,

                                    Create in your menu configuration a new menu section and new strings (menu items) with actions you want. For an example: [MyMenuSection01]

                                    in this , If I put 'Contact-Flat' submenu to
                                    Contact-Thread'., I basically knows how to make something like :

                                    Submenu, "Contact-Thread|Flat" , Flat="Show popup menu,,,, " ""

                                    [Flat]
                                    Item, "Contact-Flat" M_MAIL_ITEM_GOTO_CONTACT=Duplicate page & View messages from selected contact & Set mail view type, 0 & go to end
                                    Item, " I add some of my other stuffs too "

                                    My Question is, how to make this item "Contact-Thread|Flat also clickable with function of :

                                    Item, "Contact-Thread" M_MAIL_ITEM_GOTO_CONTACT=Duplicate page & View messages from selected contact & Set mail view type, 1 & delay, 30 & expand all & go to end & delay, 100 & expand all?

                                    so that my mouse can either click direct "Contact-Thread|Flat" to activate aove function and if I do not do a " click " I can choose a submenu..............

                                    Do I need to assign Double click & how ?

                                    Thank you very much.
                                    edmond.

                                    Reply Quote 0
                                      1 Reply Last reply
                                    • First post
                                      Last post

                                    Computer browsers

                                    • Opera for Windows
                                    • Opera for Mac
                                    • Opera for Linux
                                    • Opera beta version
                                    • Opera USB

                                    Mobile browsers

                                    • Opera for Android
                                    • Opera Mini
                                    • Opera Touch
                                    • Opera for basic phones

                                    • Add-ons
                                    • Opera account
                                    • Wallpapers
                                    • Opera Ads

                                    • Help & support
                                    • Opera blogs
                                    • Opera forums
                                    • Dev.Opera

                                    • Security
                                    • Privacy
                                    • Cookies Policy
                                    • EULA
                                    • Terms of Service

                                    • About Opera
                                    • Press info
                                    • Jobs
                                    • Investors
                                    • Become a partner
                                    • Contact us

                                    Follow Opera

                                    • Opera - Facebook
                                    • Opera - Twitter
                                    • Opera - YouTube
                                    • Opera - LinkedIn
                                    • Opera - Instagram

                                    © Opera Software 1995-2025