EasyUI Forum
October 17, 2025, 07:40:56 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: navpanel info  (Read 10384 times)
roberto
Jr. Member
**
Posts: 88


View Profile Email
« on: November 19, 2015, 03:45:12 PM »

Is there any documentation about navpanel?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: November 21, 2015, 07:15:36 AM »

The navpanel is a special panel with fullscreen and no border. It acts as a top panel in a mobile application.
Logged
roberto
Jr. Member
**
Posts: 88


View Profile Email
« Reply #2 on: November 21, 2015, 08:58:19 AM »

thanks for your answer.
Yes, I know it. I would like to know how to create it at runtime.
I'am using
Code:
$('body').append('<div id="np"></div>');
$('#np').navpanel();
but I would like to get it from a .php file like I do with refresh method of panel.
All that I can load from an external file is its content but not the header, toolbar, title, etc..
Is it possible?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #3 on: November 22, 2015, 02:42:20 AM »

Please include the 'jquery.easyui.mobile.js' file to the page before using the navpanel plugin. Be sure to download the patch from http://www.jeasyui.com/download/downloads/jquery-easyui-1.4.4-patch.zip.
Code:
$('body').append('<div id="np"></div>');
$('#np').navpanel({
  href: ...
});
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!