/    Sign up×
Community /Pin to ProfileBookmark

Anymore Message Boxes?

Hi

I’m relatively new to Javascripting. I need to know if besides alert, confirm and prompt message boxes there are other types also.

My problem consists of displaying a message box with the button text as “Open” and “Download” on click of another button. Moreover the icon/image that gets displayed has to be customized one (a light bulb, like a hint).

Also.. How do we get that Error message box, the one with a red CIRCLE with a white coloured cross in it.

IMO, d alert method should be overloaded. Its powerful but underutilised

[U]also, are codingforums.com and webdeveloper.com linked? almost identical interfaces![/U]

thnks n regards

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@FangMar 06.2006 — That's basically it except for a new [URL=http://www.mozilla.org/docs/dom/domref/dom_window_ref76.html]browser window[/URL] or [URL=http://www.google.com/search?sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2005-09,GGGL:en&q=javascript+popup+div]div popup[/URL].

VBscript can customize modal (message) windows, but that will only work in IE.
Copy linkTweet thisAlerts:
@mrhooMar 06.2006 — You can use document.createElement and styles to create a message box that looks the way you like, and disable everything else on the page until the message box button is clicked.
Copy linkTweet thisAlerts:
@nikhilaroraauthorMar 07.2006 — You can use documentCreateElement and styles to create a message box that looks the way you like, and disable everything else on the page until the message box button is clicked.[/QUOTE]


Thnks.. will try that.. though it wud help if u wud link me up a starting site to luk up for tutorials..
Copy linkTweet thisAlerts:
@FangMar 07.2006 — It's [I]document.createElement[/I]

[URL=http://www.scottandrew.com/weblog/articles/domwin_1]Tutorial[/URL]
×

Success!

Help @nikhilarora spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...