EasyUI Forum
April 25, 2024, 06:38:35 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Desktop - Context Menu & Icons  (Read 966 times)
serit
Newbie
*
Posts: 4


View Profile Email
« on: June 12, 2023, 07:29:56 AM »

Hi there.

Is it possible to have context menu in desktop icons (icon.png)?
Is it possible to keep fixed desktop icons?
Is it possible to have context menus on minimized window to click in window on taskbar to restore, minimize, maximize ou close (taskbar.png)?
Is it possible to show window when we click on the window listed in taskbar? Because if we have multiple windows, if you click on window in taskbar, it minimizes instead of show on front of others windows.
Is it possible to have context menu in the rest of taskbar to choose windows showing like Cascade or Tile (cascade.png)

Thanks in advance
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: June 15, 2023, 07:52:44 PM »

The context menu is available now. Please download the latest version from https://www.jeasyui.com/extension/desktop.php.
Code:
$('body').desktop({
    ...
    onShortcutContextMenu: function(e,app){
        e.preventDefault();
        $('#menu1').menu('show', {left:e.pageX,top:e.pageY});
    }

})
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!