EasyUI Forum
March 28, 2024, 09:45:21 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: $.messager.alert position  (Read 9268 times)
sdyson31
Newbie
*
Posts: 8


View Profile
« on: May 29, 2015, 05:15:15 AM »

Hi,

Is there any way to show $.messager.alert on top center of the screen?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: May 29, 2015, 05:40:05 PM »

To display the message window on the top of screen, please set 'top' property to 0.
Code:
$.messager.alert({
title: 'Warning',
msg: 'The warning message',
icon: 'info',
top: 0
})
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!