Discussion:
Pop Up >> Your Invoice is Due!!!
(too old to reply)
Kirti
2003-07-15 15:24:49 UTC
Permalink
One of my ISP client wants to add a pop-up which informs
the customers that their invoice is due in X days.

I have done a search on Google. There is lot of
information available. My customer like MS Pop-Up
especially the one which informs a user that a new version
of the "Messenger" is avilable. This MS Pop_Up slides from
bottom of the screen in the bottom-right corner. Get the
idea!!!

Having explained this, I need to accompolish the following:

1) A pop-up screen roll up from the bottom-right of the
screen to inform the customer that their invoice is due.
2) A button on the pop-up screen which takes them to their
account.
3) Af the display, the pop-up screen disappears.

Any suggestion?

Thanks.

Kirti
David Lovell (MSFT)
2003-08-05 20:31:29 UTC
Permalink
DHTML supports several popup options:

Modeless Window Popups:
window.open()
window.showModelessDialog()

Modal Window Popups:
window.showModalDialog()
window.alert()
window.prompt

Modal vs Modeless?
Modal dialogs are those that pause the browser that spawned them until
an action has been taken in the popup. Modeless dialogs do not pause the
browser that spawned them. Modal dialogs are generally popups that ask for
some type of confirmation or perhaps a more detailed question before
contuing on the main page.

See this page on how to implement them:
http://www.webreference.com/js/column90/

As far as making them roll in from off-screen, you can use the
window.moveTo(x,y) method move the window around. You will have to setup a
timer using setTimeout to move the window a few pixels at a time until it
stops wherever you want it to.
--
Thanks,
David W. Lovell

This posting is provided "AS IS" with no warranties, and confers no rights.

If a script was included within this post, use of included
script samples are subject to the terms, specified at
http://www.microsoft.com/info/cpyright.htm"

Please do not send e-mail directly to this alias. This alias is for
newsgroup purposes only.
Post by Kirti
One of my ISP client wants to add a pop-up which informs
the customers that their invoice is due in X days.
I have done a search on Google. There is lot of
information available. My customer like MS Pop-Up
especially the one which informs a user that a new version
of the "Messenger" is avilable. This MS Pop_Up slides from
bottom of the screen in the bottom-right corner. Get the
idea!!!
1) A pop-up screen roll up from the bottom-right of the
screen to inform the customer that their invoice is due.
2) A button on the pop-up screen which takes them to their
account.
3) Af the display, the pop-up screen disappears.
Any suggestion?
Thanks.
Kirti
Loading...