EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
November 15, 2025, 02:11:00 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
General Discussion
>
Programatically open window in Easyui Desktop
Pages: [
1
]
« previous
next »
Print
Author
Topic: Programatically open window in Easyui Desktop (Read 11031 times)
Alfred
Full Member
Posts: 134
-Licensed User-
Programatically open window in Easyui Desktop
«
on:
July 20, 2018, 04:11:58 AM »
How do I programmatically open a window using js in Easyui Desktop. In some case, I would like to open a window using js instead of clicking the icon on the desktop.
Please help.
Thanks and regards
Alfred
Logged
jarry
Administrator
Hero Member
Posts: 2300
Re: Programatically open window in Easyui Desktop
«
Reply #1 on:
July 20, 2018, 05:18:50 AM »
Call the openApp method to open a window.
Code:
$('body').desktop('openApp', {
icon: 'images/win.png',
name: 'About',
width: 400,
height: 200,
href: '_about.html'
})
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...