It'll still work fine. _top and _parent both load in the current
window if it is already the top level window.
--Erik
On 4/4/07, Olivier Percebois-Garve <[EMAIL PROTECTED]> wrote:
yep but it would become obtrusive
javascript enabled --> thickbox loads ---> so I need to "give the link
to the parent"
no javascript ---> the iframe load like a normal pahe ---> there is no
parent so the link should behave normally
what do u think ?
Erik Beeson wrote:
>
> Depending on your setup, you could instead just set the target of your
> links to _parent or _top.
>
> --Erik
>
>
> On 4/4/07, Olivier Percebois-Garve <[EMAIL PROTECTED]> wrote:
>>
>> I use this in my iframe code :
>>
>> $(document).ready(function() {
>> $('a').click(function(){
>> parent.location.href=$(this).href();
>> });
>> });
>>
>> Olivier
>>
>> Chris W. Parker wrote:
>> > Hello,
>> >
>> > I'm using ThickBox in IFrame mode and I'm loading a form that
>> submits to
>> > another page and then redirects to a third page. I just did a test of
>> > this and ThickBox loads my form page fine but after I submit the form
>> > and the processing page is done and redirects to the third page, the
>> > third page is loaded within the ThickBox.
>> >
>> > What I need to happen is that after the form is submitted to the
>> > processing page the ThickBox will be closed and the table in the
>> parent
>> > page be updated. I know the updating of the parent page's table
>> requires
>> > some AJAX magic but I think I can handle that part once I know how to
>> > get the ThickBox to close on its own.
>> >
>> > How can I get started with this?
>> >
>> >
>> > Thanks,
>> > Chris.
>> >
>> >
>> >
>> >
>>
>>
>