Java Alert Boxes
onclick="alert('Class was cancelled this day.')">
<font size="2" face="verdana" color="#c51585">
<b>- 31 Oct 05 -</b></font></a>"
("Class was cancelled this day.")'>- 31 Oct 05 -</A>"
I can make that work, no problem. My question is this, does anyone know how to make the yellow background pop up text box that i mentioned earlier, and does anyone know how to make mulitple lines of text in the same alert window?
Appreciate any help. Please e-mail responses to email@example.com
<a href="#" title="popup message here">hover here</a>
for security reasons, (i.e. to prevent your website spoofing a system dialog, etc...) the dialogs available in a web application are fairly limited.
You have "alert()" (with a message and an "OK" button), "confirm()" (with message, "OK" and "Cancel") and "prompt()" (message, text input, "OK" and "Cancel")
In certain versions of IE, you can pop-up a modal HTML dialog but... well, that's only in certain versions of IE.
Your other options are:
- opening a full-fledged new window (not recommended for dialogs)
- creating "virtual" a modal dialog using an absolutely positioned DIV
<a href="#" title="popup message here">hover here</a>"
That works. It's not exactly what I was going for, but it works just the same.
I want to make a link that will pop-up with a yellow text box [http://www.htmlgoodies.com/beyond/java/article.php/3470731 (scroll down until you see a green underlined link and place the mouse over the link, but don't click. The box that pops up is what i want to creat)]
Check this link (and its demo) and the post on aw cell implementation.
(should be almost the same for a content-link).
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.