EasyUI Forum
April 29, 2024, 01:57:36 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Re: Window with two tabs [SOLVED] on: November 07, 2017, 10:00:06 AM
Thank you,
It's working now.
It's so easy, but I was stuck in another paradigm.

Best regards
2  General Category / EasyUI for jQuery / Window with two tabs [SOLVED] on: November 06, 2017, 06:10:24 AM
I have a Treeview with a onclick event that shows a window that loads an specific HTML page:
Code:
  /* On Click Function */
$('#tt').tree({
onClick: function(node){

if (node.url == "" || node.url == null) {
} else {
/* Open a Window to show data */
$('#win').window({
          width:880,
          height:500,
          modal:true
         });
/* load window content from disk */
        $('#win').window('refresh', node.url);

/* Define window properties */
$('#win').window({
cls:'c7',
title: 'Dados',
border:'thin',
collapsible: false,
minimizable: false,
maximizable: true,
closable: true
});

/* alert(node.url);  // alert node text property when clicked */
  }
}
});


Now, I need to open this same window but with two TABs, each loading a specific HTML page.

How can I do this using Javascript?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!