> hi everyone,
>
> in my view I have a link:
> echo $html->link('My
> Favorites'...........);
>
>
> now when a user clicks the link i want a popup window to open and show
> data from the database with the ajax paginator. but how can i open a
> new window as a popup??
doing this will require client side js.
you could look at jquery ui modal
http://jqueryui.com/demos/dialog/#modal-message
bear in mind there are users that cant launch new windows or modal boxes
(mobile users for example) so provide an inpage way to do it and then
enhance with javascript accordingly.
--
Mike Karthauser
Managing Director - Brightstorm Ltd
Email: mikek@brightstorm.co.uk
Web: http://www.brightstorm.co.uk
Tel: 07939 252144 (mobile)
Fax: 0870 1320560
Address: 1 Brewery Court, North Street, Bristol, BS3 1JS
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment