leeuniverse Posted July 31, 2013 Report Share Posted July 31, 2013 With MX Classic it was easy to make a Drop-down with a plugin that had several different options, and you could run things right from there. But this new system and the forced "Sidebar" extensions, I'm not seeing if or how to add more features? The only thing I'm seeing is that a person if they want to do anything else "other" than the MAIN command button click, they have to know how to write Javascript. Is this correct, or is there a way that I'm not seeing yet? If so, this is stupid. Maxthon Developers, please give us back our Toolbar with the ability to do this again, if the sidebar can't do it....!!! PLEASE!!!! I have like 50 Sidebar and Toolbar plugins from MX Classic that has about a 150 features to them, most of which I want as plugins again. I REALLY DON'T WANT TO CREATE A 150 SEPARATE PLUGINS, just so I can have various features. Tip Give Link to comment Share on other sites More sharing options...
7twenty Posted July 31, 2013 Report Share Posted July 31, 2013 Not being that cluey with Java/HTML/CSS i'm going to throw this out there. In the toolbar the button for MXSnap uses a dropdown menu to select fullscreen or region only. I'm sure the same code could be used in a sidebar extension. Even if it's not direct from the button, it may open a panel then you can use the code to create a dropdown within that. Like I said, just thinking out loud. Hopefully it may give you/someone an idea. Tip Give Link to comment Share on other sites More sharing options...
leeuniverse Posted July 31, 2013 Author Report Share Posted July 31, 2013 Of course, already thought of that.... But, I think the last time I looked for those I found out they were .dll files and whatever. Do you know where they are? Tip Give Link to comment Share on other sites More sharing options...
7twenty Posted July 31, 2013 Report Share Posted July 31, 2013 No they're not .dll files. The module for it is, but the code for the buttons/menu is all in the skin code. Below is the code that is required to make these elements work. This is from my modded skin to add MXSnap to the status bar. The basic structure and hierarchy should stay the same/similar. You'd just need to change the commands like mx-click to open whatever it is required. Buttons.htm Buttons.menu.htm $snapScreen.region$ $snapScreen.page$ Tip Give Link to comment Share on other sites More sharing options...
leeuniverse Posted August 1, 2013 Author Report Share Posted August 1, 2013 So, are you saying the Toolbar is actually HTML code that has been added to the Skins? If so, holy cow, that's the crazyest thing I've seen..... Maybe a person can create a dropdown out of an icon on an html page with your code, but I wouldn't have a clue how to add it to the sidebar button itself. That's not HTML coding. Tip Give Link to comment Share on other sites More sharing options...
7twenty Posted August 1, 2013 Report Share Posted August 1, 2013 The whole skin system is HTML/CSS. There's also some javascript in there as well for some elements. But everything you see onscreen is HTML/CSS. That's not HTML coding. Yes even the sidebar is mostly HTML/CSS. I think there is some javascript for the Favourites extension, and possibly for reader mode off the top of my head. It's just a matter of knowing how and what to adjust to make it do what you want. There may be a restriction there to not allow menus from the sidebar, but it shouldn't stop you from creating a popout panel with the list of things within that, and then if required a third hierarchy after that if required using the menu option as shown above. Tip Give Link to comment Share on other sites More sharing options...
Tony Posted August 1, 2013 Report Share Posted August 1, 2013 i would be looking at tools in main menu - that looks a good place to start to do a drop down with many options Tony - Vivaldi 4 on Windows 10 64Bit Tip Give Link to comment Share on other sites More sharing options...
7twenty Posted August 2, 2013 Report Share Posted August 2, 2013 htm, not html. The file extension is htm, yes. But it is written in HTML which is what I was referring to. And I believe that html/htm are interchangeable, just depends on how the files are called for in the code and the users preference. :-) Tip Give Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.