How do I make a dialog box??

M

MobileOhm

I need to make a simple dialog box and don't seem to be able to do so.... Does anyone know a simple method to do this?

Thanks
 
S

Steve Easton

For what purpose? There are several types of dialog boxes.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
M

MobileOhm

When a user selects a button, I want a dialog box to popup with a message.

ie: User selects product button - "Product not available at this time" is the dialog box.

Thanks,
 
S

Steve Easton

Use a javascript alert.


<input type="button" value="Button" onclick="popup()">

<script type="text/javascript">
function popup(){
alert("This product is currently unavailable");
}
</script>


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
A

Andrew Murray

Do you mean like the ones that windows uses? Do you mean a simple "error" or
"alert" box - these are done with either Javascript or VBScript, but have
specific purposes i.e. the 'information' (white 'i' on blue circle), the "alert"
(black exclamation point on yellow triangle) and 'critical error' (white "X" on
red circle).....

If you mean a pop-up window then try www.jimcoaddins.com
look for the popup spawn


MobileOhm said:
I need to make a simple dialog box and don't seem to be able to do so.... Does
anyone know a simple method to do this?
 
Top