Issue with Control.Window loading content from Ajax in IE9

33 views
Skip to first unread message

Paolo Dona

unread,
Jun 27, 2011, 5:33:12 PM6/27/11
to LivePipe UI Users
Hello guys,

I've just noticed that Control.Window fails to load content using Ajax
in IE9. The browser goes to the link straight away without loading it
into the window.

You can see this behaviour in the sample provided at http://livepipe.net/control/window
under 'Relative Window / Content from Ajax'

Can anyone suggest a workaround? Maybe insterting the result of the
ajax call via javascript when the window opens?

Best,
Paolo

karmacoma

unread,
Jun 28, 2011, 11:45:44 AM6/28/11
to LivePipe UI Users
I have also noticed the same problem with Internet Explorer 9.
Unfortunately, I have not found a solution so far.

Regards, Oliver.

On Jun 27, 10:33 pm, Paolo Dona <paolo.d...@gmail.com> wrote:
> Hello guys,
>
> I've just noticed that Control.Window fails to load content using Ajax
> in IE9. The browser goes to the link straight away without loading it
> into the window.
>
> You can see this behaviour in the sample provided athttp://livepipe.net/control/window

Paolo Donà

unread,
Jun 28, 2011, 11:54:25 AM6/28/11
to livepipe...@googlegroups.com
I found a workaround: instead of using an anchor as target element you
can use a normal div or span with an href attribute... eg:

<div class="link" href="/ajax_example">Relative Window / Content from Ajax</div>

instead of:

<a href="/ajax_example">Relative Window / Content from Ajax</a>

Control.Window will still pick the href attribute, whatever the tag..
but this trick will stop IE9 from following the link directly.
Of course you need to style your element properly to make it look like a link:

.link { color: #037CD5; cursor:pointer; text-decoration: underline;}

This html won't validate as href is not a valid attribute for a div
but it seems not to have other nasty drawbacks.

Best,
Paolo

> --
> 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.
>
>

--
Paolo Dona' | http://paolodona.com

karmacoma

unread,
Aug 16, 2011, 8:45:09 AM8/16/11
to LivePipe UI Users
Hi,

Thank you very much for the workaround.

It is much appreciated.

Kind regards, Oliver.
> > For more options, visit this group athttp://groups.google.com/group/livepipe-ui-users?hl=en.
Reply all
Reply to author
Forward
0 new messages