Close window AND log off

By Toledoh - February 5, 2011

Hi Guys,

I've got the membership pages showing within Shadowbox. I've created a button which I want to do 2 things, log off, and close the window.



<a href="?action=logoff" > logs out.

<a href="#" onclick="window.parent.Shadowbox.close();"> closes the window

<a href="?action=logoff" onclick="window.parent.Shadowbox.close();"> closes the window, but doesn't log out...

Any ideas?
Cheers,

Tim (toledoh.com.au)