p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Javascript How-To (http://p2p.wrox.com/forumdisplay.php?f=87)
-   -   Message box without the exclamation icon (http://p2p.wrox.com/showthread.php?t=30438)

lian_a June 15th, 2005 12:54 AM

Message box without the exclamation icon
 
Hi! Is it possible to create a message box without the exclamation point icon in javascript? I know that you can use the ALERT function to create a popup message box. But I need to remove the icon on the side. Is it possible to do this? Please help! thanks

interrupt June 15th, 2005 06:54 AM

You'd be better using vbscript, I don't know of anything in Javascript for this:

<script language ="vbscript">
msgbox "Hi!",0, "Whatever Title"
</script>

0 is the constant for a blank message box. You can use the following constants for other images:

16: White cross in red circle
32: Question bubble
48: Exclamation Mark in yellow triangle
64: Exclamation in bubble

HTH
interrupt


All times are GMT -4. The time now is 02:16 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.