star4
asked on
make a popup html window based on SQL Trigger Values ?
hi,,,
i'm trying to make a small popup html window on the right bottom corner of user screen,,
this window is created based on a tigger on a table ,when ever
a row is inserted to a user a window well popup on his/her screen..
i need that to look as an Email Notification, or an alert to the user.
i'm developing in Vb.Net & SQL Server..
is there a way to do that , or any idea,,
i'm trying to make a small popup html window on the right bottom corner of user screen,,
this window is created based on a tigger on a table ,when ever
a row is inserted to a user a window well popup on his/her screen..
i need that to look as an Email Notification, or an alert to the user.
i'm developing in Vb.Net & SQL Server..
is there a way to do that , or any idea,,
ASKER
if it is not possible , how is Microsoft MSN messanger is working ????
What about Norton AntiVirus Live Update ??????
What about Norton AntiVirus Live Update ??????
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
So you need to fake it. You would have to have an HTML page that used a javascript timer, or a meta refresh to reload itself. When reloaded, if it needed to alert the user it would have to create a new window via javascript and position it in the bottom corner.
It would also have to have at least a title bar and close button, you could remove the toolbar and address bar, but it's never going to look quite like an Email Notification alert.
You can find the screen width and height from the screen object, so you'd create a new window and place it in the corner something like:
var left = screen.width - desiredwindowwidth;
var top = screen.height - desiredwindowheight
var hwnd = window.open('alertwindow.h
You woun't be able to fire it from the trigger.