Use of Window.Modal

44 views
Skip to first unread message

Ben

unread,
Mar 8, 2012, 8:26:04 PM3/8/12
to LivePipe UI Users
Hi,

I'm struggling because I can't find a way to trigger an AJAX modal
without having and anchor tag with an href on it.

I want to trigger my modal with a button!

Any ideas? Is there a way to tell the control what its href should be
for the ajax call without having to have an href on a tag? Seems very
restrictive....

Thanks
Ben

Ben

unread,
Mar 8, 2012, 9:22:52 PM3/8/12
to LivePipe UI Users
Also, it seems to be caching the ajax response, which won't work for
me. Do I have no control over that?

B

Ben

unread,
Mar 8, 2012, 11:06:09 PM3/8/12
to LivePipe UI Users
Got around these problems by:

a) Having hidden <a> tags.... (puke)

b) Destroying and remaking the window objects each time they are
closed.... (more puking)

Other ideas still welcome...

H.G.A. Hendriks

unread,
Mar 9, 2012, 8:18:00 AM3/9/12
to livepipe...@googlegroups.com
Hi Ben,
I use hidden <a> tags. Not pretty perhaps but it works. As for your
point b), if you want to refresh the window contents, why not use one
of the open events to update the window container?

Henk

2012/3/9 Ben <ben.p...@petromediacorp.com>:

> --
> You received this message because you are subscribed to the Google Groups "LivePipe UI Users" group.
> To post to this group, send email to livepipe...@googlegroups.com.
> To unsubscribe from this group, send email to livepipe-ui-us...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/livepipe-ui-users?hl=en.
>

Ben

unread,
Mar 9, 2012, 10:54:06 PM3/9/12
to LivePipe UI Users
Thanks Henk. I wrestled it into working in the end...

On Mar 9, 5:18 am, "H.G.A. Hendriks" <hendriks....@gmail.com> wrote:
> Hi Ben,
> I use hidden <a> tags. Not pretty perhaps but it works. As for your
> point b), if you want to refresh the window contents, why not use one
> of the open events to update the window container?
>
> Henk
>
> 2012/3/9 Ben <ben.pet...@petromediacorp.com>:
Reply all
Reply to author
Forward
0 new messages