On Sat, Jan 22, 2011 at 9:37 AM, WhyNotSmile <sharongilmor...@gmail.com> wrote: > Another question: > > what are 'pages_modal' and 'pages_modal_content'? Are those in the > original window or the pop-up?
It's '#newsletter_modal'. That's a hidden div in the page that JQModal uses to create the pop-up (it's not a separate window). See: http://dev.iceburg.net/jquery/jqModal/ This gets JQModal to show the hidden div, styled as a popo-up. $('#newsletter_modal').jqmShow() And this part places the rendered view in the inner content div. .find('#newsletter_modal_content').html(responseText); But there are a ton of other plugins available (lightbox, etc.) to choose from for creating a pop-up. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php