If you want to do an actual JavaScript Alert, this, to my knowlege, is not possible.
But if you want to utilize JavaScript to make that kind of effect, similar to what under_dog said.
u can use a <Div> and then set it to a Z-index higher than that of your page. Then make it look like an alert would...basically, utilizing any photoshop skill you may have. you can then after a onmouseclick event, set the div's visibility to none.
That would make it look how you want and acheive the desired effect.
Main Topics
Browse All Topics





by: under_dogPosted on 2007-03-25 at 10:29:13ID: 18788725
There is no way to change the appearance of the javascript alert() popup since this is controlled by the user's browser and not by the html code itself.
You could use a popup DIV for instance ... which would be customisable, but I'm not sure if it would meet your requirements since it's not really "alert like". What "alert like" behaviour are you looking for?