I'm using jqModal..

I simply want an email subscription list to pop up when the page is
loaded here's what I've got.

<script type="text/javascript">
$(document).ready(function() {
  $('#dialog').jqm();
   });
</script>
<a href="#" class="jqModal">view</a> <-------------that is a link... I
don't want to use a manual link to open up the div

<div class="jqmWindow" id="dialog">

<a href="#" class="jqmClose">Close</a><p>
Please Sign up for our mailing list:
<div style="height:300px;"><form action="/email.php"  method="post">
<input type="hidden" name="subject" value="Form Submission" />
<input type="hidden" name="redirect" value="thankyou.html" />
<p>First Name:<input type="text" name="firstname" /></p>
<p>Last Name:<input type="text" name="lastname" /></p>
<p>E-Mail:<input type="text" name="email" /></p>
<p><textarea name="comments" cols="40" rows="6">
Type comments or questions here.</textarea></p>
<div align="right"><input type="submit" name="submit" value="submit"/
></div>
</form></div>

in the jqModal.js file there is " trigger: '.jqModal', "

How do I just have the div pop up? I've looked everywhere, and
everything seems to have to do with clicking.... I am new to jquery by
the way.

Reply via email to