|
|
|
|
|
NotificationDisplay (Function) Displays a message outside the browser. A browser can display information outside its window. For example, a browser in Windows can display a notification for incoming emails at the bottom right of the desktop. The information will be shown even if the browser is minimized.
NotificationDisplay("Messaging", "New incoming email", ...
"Message.gif")
Sintaxis
NotificationDisplay(<Title> , <Message> [, <Image>])
<Title>: Character string Title of the message displayed. If this parameter corresponds to an empty string (""), the title will not be displayed. <Message>: Character string Message to display in the notification. <Image>: Optional character string Image of the message displayed. In a dynamic page, if the image is found in the "_WEB" directory of the project, you must specify the virtual path of this directory, by using FolderWeb for example. For example: FolderWeb() + "MyImage.gif". Observaciones - Notifications must be enabled on Windows on the user's computer. Otherwise, the notification will not be displayed.
- The notifications are not supported by some browsers. If the browser does not support notifications, the notification will not be displayed.
- If notifications are not allowed, an authorization request will be displayed in the browser.
Warning: If you call the function NotificationDisplay function is called in a button that executes server code, the browser's notification authorization request will be cleared when the page is refreshed, making it impossible for the user to authorize notifications.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|