On Feb 12, 12:44 am, Brice Burgess <[EMAIL PROTECTED]> wrote:
   <snip>
> Here is my version (which works);
> ---
> <a href="#" id="alertTrigger">Show Last Alert</a>
> <div id="alert" style="color: red; background-color: white; padding:
> 10px;"></div>
>
> <script type="text/javascript">
> function alert(i) {
>     $('#alert').html(i);
>     $('#alertTrigger').click();
>
> }
>
> $().ready(function(){
>     $('#alert').jqm({trigger: '#alertTrigger'});
>     alert('This is a test');});
>
> </script>
> ---
>
> I guess it's time to start styling a alert dialog ;)

   Nice. I think, it would be nice if you could minimize the config or
tweak the doc. Current configurations as shown here http://
dev.iceburg.net/jquery/jqModal/#ex2atrigger looks little scary at
first sight, IMHO.

--
  <?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com    Blog: http://rajeshanbiah.blogspot.com/


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to