EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 11, 2024, 05:14:30 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
>
EasyUI for jQuery
>
$.messager.alert position
Pages: [
1
]
« previous
next »
Print
Author
Topic: $.messager.alert position (Read 9357 times)
sdyson31
Newbie
Posts: 8
$.messager.alert position
«
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
Re: $.messager.alert position
«
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
« 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...