Yes exactly. The login should wait for a return value, and do the
redirect itself. The server side should issue a redirect only if it
knows it's not an ajax request.

On Sat, Dec 11, 2010 at 5:45 PM, Luther Goh Lu Feng <[email protected]> wrote:
> Yes, you are clearer now. I don't know the answer but maybe your login
> should be an ajax submission using jquery's ajax calls. Maybe someone
> with more experience can help.
>
> On Dec 12, 12:34 am, pk <[email protected]> wrote:
>> hi,
>> here are the pix. the loginview:http://www.hs-augsburg.de/~pk/pix/login.png
>>
>> after the user submit a redirect works in the 
>> colorbox:http://www.hs-augsburg.de/~pk/pix/redirect.png
>>
>> but this redirect should not be shown in the colorbox!
>> i hop it is clearer?
>>
>> thanks peter
>>
>> On 11 Dez., 17:29, Luther Goh Lu Feng <[email protected]> wrote:
>>
>>
>>
>>
>>
>>
>>
>> > I would love to help you but I am afraid that I have difficulty
>> > understanding your problem. If words fail perhaps some screenshots to
>> > tinypic.com can help make your question clearer?
>>
>> > On Dec 11, 11:33 pm, pk <[email protected]> wrote:
>>
>> > > Hi together,
>>
>> > > it works fine to display the login formular in my jquery colorbox.
>> > > but now i have a question. if user login successfully, i get a refresh
>> > > to
>> > > the userpage in the little colorbox. but i will close the colorbox
>> > > before
>> > > refreshing with this js-command: $.colorbox.close()
>>
>> > > have anybody an idea to solve my problem?
>>
>> > > thanks
>> > > peter



-- 
Branko Vukelić

[email protected]
[email protected]

Check out my blog: http://www.brankovukelic.com/
Check out my portfolio: http://www.flickr.com/photos/foxbunny/
Registered Linux user #438078 (http://counter.li.org/)
I hang out on identi.ca: http://identi.ca/foxbunny

Gimp Brushmakers Guild
http://bit.ly/gbg-group

Reply via email to