Javascript Syntax Question

Narz

keeping it real
Joined
Jun 1, 2002
Messages
31,514
Location
Haverhill, UK
Hi. Question : How do I put a graphic (.gif, .jpeg, whatver) into an alert box?

Thanks a million! :goodjob:

- Narz :king:
 
The only type of picture I think you can put in an alert box, which I assume is the same thing as the messagebox, would be some icons:
Critical - Red circle with white cross
Exclamation - Yellow triangle with exclamation mark
Question - A white bubble (type used in comics) with a question mark
Information - A white bubble with an 'i' in it

These are taken from WIN API/VB, and might not work with jscript though?:)
 
Yes, just as Funxus said, you can only have the little icons.

Here are the codes for them:
16 : Red circle with a white x in it.
32 : White baloon with a question mark in it.
48 : Yellow triangle with a black exclamation mark in it.
64 : White baloon with a lowercase "i" in it.
0 : Blank.

These are considering that you use Windows.
 
Back
Top Bottom