Reputation: 3036
The JavaScript alert
box is appearing without close mark on top right side nor its showing any alert symbol as shown below.
The same in IE8 works fine
Both are running on Windows 7 platform
Upvotes: 1
Views: 1010
Reputation: 168853
What you're seeing is how Firefox 4 renders an alert box. They've gone for a minimalist look.
There's nothing you can do about it -- how the alert()
function renders its popup is entirely at the discression of the browser, and they all do it slightly differently.
If you want control over how the box looks, you will need to write your own in Javascript, or use one of the hundreds of Javascript and JQuery examples written by other people who have already found they need more flexibility than the standard alert box can give them.
[EDIT]
Here's a blog post where the change to how the alert box works is discussed: http://www.derekallard.com/blog/post/firefox-4-alert-boxes/
There's actually a lot more that's changed than just how it looks; it actually works quite differently too in FF4.
Upvotes: 2