Click to See Complete Forum and Search --> : more then one alert?


richardiler172
05-14-2003, 09:00 AM
ok im new to this stuff but you know those little alert pop ups well how do i get more then one to pop up in a speciffic order???

pyro
05-14-2003, 09:24 AM
Huh? If you just put your alerts in order, they will popup one after the other. What exactly do you need?

alert ("one");
alert ("two");

will first alert you "one", then "two"

richardiler172
05-14-2003, 01:32 PM
i tried some thing like this for my Free open diary description

<SCRIPT language="JavaScript">alert("Have you ever loved someone so much that you could feel their pain?")</SCRIPT>
<SCRIPT language="JavaScript">alert("Have you ever loved someone so much that you could feel their joy?")</SCRIPT>
<SCRIPT language="JavaScript">confirm("Have you ever loved someone so much then have to let them go")</SCRIPT>

but it dosen't seem to work

pyro
05-14-2003, 02:02 PM
That will work fine, so there must be some other problem. Here is a better way of doing it, though.

<script language="javascript" type="text/javascript">
alert("Have you ever loved someone so much that you could feel their pain?");
alert("Have you ever loved someone so much that you could feel their joy?");
confirm("Have you ever loved someone so much then have to let them go");
</script>

richardiler172
05-14-2003, 02:07 PM
thanks a bunch man