Thursday, September 30, 2010

Re: opening a popup window when clicking on a link

thx mike,

i was hoping there is a way with $ajax->link and scriptaculous or sth
like that......u know using the ajax helper

On 30 Sep., 15:52, "Mike Karthauser" <mi...@brightstorm.co.uk> wrote:
> On Thu, September 30, 2010 2:03 pm, Tomfox Wiranata wrote:
> > 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 modalhttp://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: mi...@brightstorm.co.uk
> Web:http://www.brightstorm.co.uk
> Tel:  07939 252144begin_of_the_skype_highlighting              07939 252144      end_of_the_skype_highlighting(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: