English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How i can apply style for alert message using javascript, i need my own style using css file, how can i achieve this, any one can help me?

2006-06-26 22:53:47 · 5 answers · asked by Anonymous in Computers & Internet Programming & Design

5 answers

Check this link there is a sample how to setup custom alert message boxes: http://slayeroffice.com/code/custom_alert/

2006-06-26 23:01:20 · answer #1 · answered by d4Mn 1 · 0 0

Javascript Alert Box Style

2016-12-18 09:03:31 · answer #2 · answered by shuler 4 · 0 0

If you're asking how to use CSS to apply style information to an alert box that is brought up by the javascript:alert(), then it is impossible. Those alert boxes are controlled by the browser, and you cannot use CSS to affect them. There are various tutorials/scripts/code examples on the web that detail how to make custom alert boxes, however, they all are part of the page, and cannot do things such as flash the browser window in the taskbar, and whatnot, as a regular alert box (created with javascript) can do.

2006-07-02 17:38:44 · answer #3 · answered by tswift_2 1 · 0 0

best help i can give ya is to check into this site below. I've used it for many years, but, it's been awhile since javascript. It goes into massive detail!

2006-06-26 22:57:20 · answer #4 · answered by XxDJToxic420xX 3 · 0 0

Try this link and you will learn it yourself.

http://www.ditchnet.org/wp/2006/01/30/style-tip-for-oo-javascript/#comment-906

2006-06-26 22:59:36 · answer #5 · answered by Joe_Young 6 · 0 0

fedest.com, questions and answers