I'm going to have to disagree with you, JFK. I'm working in a Perl
environment that makes heavy use of iFrames (:/) and AJAX calls, and I
was having this SAME EXACT issue as the OP. I was trying out the
Inline-style lightbox and everything worked beautifully with FF,
Chrome, and IE8, but it fell apart in IE7; instead of loading the
contents of the hidden DIV it would reload the entire page in the
popup... presumably because IE7 was treating the internal link
(#message) as an absolute link (
myplaceofemployment.com/
iframesAreAwful/OMGLOL.html#message). I'd assume this error makes
lighbox implement an AJAX-style lightbox instead.
I used the code from the first post to replace the last else statement
( else { type = 'ajax';} ) at line 125 and everything works EXCELLENT.
Thank you so much to the OP. You made my hours (days really) of
struggling worth it.
-Tim
On Jan 10, 9:10 pm, JFK <
jfk.d...@gmail.com> wrote:
>
asp.net?
> that explain everything
>
> ... well, seriously I am just being ironic ... I have little
> experience with
asp.net, but for sure is not a fancybox issue
>
> On Jan 10, 5:22 am, Joaquin <
jvei...@gmail.com> wrote:
>
>
>
>
>
>
>
> > I've went a little far and the problem is due to content loaded
> > through ajax. somehow inIE7anchors that are loaded through ajax (I'm
> > using
asp.net, mvc and jquery) that link to inline contents get their
> > href attribute set to full address instead of just #something so the
> > assumption that the # is on index = 0 is false and fancybox is
> > processing them as a content to be loaded through an ajax call instead
> > of inline. My patch do verify if the linked address is the same than
> > the location then it's inline content else it should be loaded through
> > ajax.
>
> > On Jan 5, 5:30 pm, JFK <
jfk.d...@gmail.com> wrote:
>
> > > I haveIE7and the inline type works just fine out of the box
>
> > > On Jan 5, 6:59 am, Joaquin <
jvei...@gmail.com> wrote:
>
> > > > I've found that fancybox is not working for inline content onIE7.
>
> > > > The problem is thatIE7sends the full address to the href attribute