[TYPO3-ect] AJAX and thickbox
Philip Almeida
philip.almeida at gmail.com
Wed Sep 19 14:30:10 CEST 2007
Well I make a work around.
Put the link in the first calling page(not in a ajax request).
Then in all ajax request I alter the href attribute via javascript with
element id and call the link via javascript DOM link() when needed.
The click() DOM attribute does not work in Firefox because W3C says it
should not apply to A tags, I found this work around for firefox (
http://www.faqts.com/knowledge_base/view.phtml/aid/9368/fid/128)
Well now I have thickbox and xajax working.
regards,
philip
On 9/19/07, Philip Almeida <philip.almeida at gmail.com> wrote:
>
> Hello ECT,
>
> yesterday I come into a "thing" I want to share to see if you now
> something
> more:
> I am using MVC with xajax.
> I wanted to use "thickbox" (http://jquery.com/demo/thickbox/) from jquery
> to
> lunch a iframe.
>
> If I insert the launch code beneath in the original html page it works:
> <a href="'http://www.mypage.com?&TB_iframe=true&height=400&width=750'"
> class="thickbox">
> Launch
> </a>
>
> If the same code is call by ajax (this is, a ajax call returns the above
> code to the browser) it falls.
>
> Any ideias?
>
> thanks,
>
> philip
> _______________________________________________
> TYPO3-team-extension-coordination mailing list
> TYPO3-team-extension-coordination at lists.netfielders.de
>
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-extension-coordination
>
--
-- -- -- -- -- -- -- -- -- -- -- -- --
Philip de Oliveira de Almeida
Tel. 966 356 008
More information about the TYPO3-team-extension-coordination
mailing list