Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
| Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 15th, 2005, 12:54 AM
Authorized User
 
Join Date: Apr 2004
Location: , , .
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
  #2 (permalink)  
Old June 15th, 2005, 06:54 AM
Friend of Wrox
 
Join Date: May 2004
Location: , , .
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use message box? andy hee ASP.NET 1.0 and 1.1 Basics 1 April 18th, 2006 04:53 AM
message box nalla ASP.NET 1.0 and 1.1 Professional 5 December 22nd, 2005 11:56 PM
Yes No Message box dbartelt Access 7 October 28th, 2005 08:16 AM
Message Box HELP!!! Dwizz ASP.NET 1.0 and 1.1 Basics 1 July 21st, 2005 07:22 AM
Spurious Exclamation Marks patwadd VBScript 0 November 18th, 2004 02:03 PM





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