Small help in alert box by moo tools
Posted
by piemesons
on Stack Overflow
See other posts from Stack Overflow
or by piemesons
Published on 2010-05-17T07:20:31Z
Indexed on
2010/05/17
9:30 UTC
Read the original article
Hit count: 331
JavaScript
|mootools
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/mootools/1.2.2/mootools-yui-compressed.js"></script>
<script type="text/javascript" src="sexyalertbox.v1.2.moo.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="sexyalertbox.css"/>
<body>
<p><a href="#" onclick="Sexy.alert('<h1>hello</h1><p>Please enter a valid email address</p>');return false;">Click here</a></p>
</body>
</html>
When we click on click here then a alert box will appear. I want to have that alert box in javascript ie
alert("Same sexy alert box type alert box"); // hwo to do this??
© Stack Overflow or respective owner