|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Hiyas,
I'm not too sure if this is the right forum for this, but lets try. Firstly a quick rundown of the script: It's a multi-user ASP script (to be hosted on IIS 5.0) that monitors a specific variable in Application_OnStart. When this variable is updated by another user, the change is detected and the asp script then reads text from a table in the .MDB database to display to the user online. (Sort of like a instant-messaging type system, but there is a small delay between checks!) ![]() The text would contain something like "Call John on 521-xxx-xxx" or similar. What I want to do with this text is display it in a balloon type popup from the taskbar area. Similar to the Outlook 2003 Desktop Alert pop up. I suspect this is called by a .DLL or ACTIVEX script, but I'm having difficulty locating something that will do this for me that will work in ASP and I wouldn't know how to impliment it. I don't really want to use a IFRAME or a Dialogue box to do this if I can help it. Any suggestions, throughts, urls would be appreciated. Thanks Peter
__________________
Hawk - The flightless Kiwi bird Did I help you out? Click the and agree.
|
|
#2
|
||||
|
||||
|
The Outlook desktop alert would be a client side program. I'd look at implementing a sliding DIV which "pops" the message into the document in the least obtrusive place
Personally, I'd say that an alert() dialog would be Ok. This is basically how the private message alert works on this forum and it always seems Ok to me
__________________
selwonk If I've posted some code above, you might think it looks a bit simplistic. It might be. I'd rather people tried the next step themselves rather than getting a full solution on a plate. That way they learn more! |
|
#3
|
||||
|
||||
|
Quote:
A sliding DIV would be a good idea. But to keep things simple, I may have to revert to an alert() dialog. Maybe I was just wanting too much in my program! ![]() Appreciate the advice. |
|
#4
|
||||
|
||||
|
You could use ECMAScript to create a borderless window that opens in the lower-left corner of the client's desktop
...but I'd kill anyone who actually does that ![]() But yeah, stick with selwonk's suggestion, its the best, imho ![]() -D00d |
|
#5
|
||||
|
||||
|
Yep - as D00d knows, I like keeping things simple. I'm always acutely aware that if the user is familiar with something, they will adopt it without question. A modal dialog pop-up is something that most users are familiar with - it does exactly what it says on the tin. Nice and simple, the user has probably dealt with it before, and it can even be made into a nice tidy function:
Code:
<%
Sub Alert(str_Message)
Response.Write("<script language=""JavaScript"">alert('" & str_Message & "');</script>")
End Sub
Alert('Your message here')
%>
|
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > ASP & Balloon popup problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|