php - Link from Lightbox to Lightbox of different sizes -


i have login , sign forms. both opening in lightbox. login have link sign , vice versa. links working properly, issue sign box's height 600px while of login 250px. so, when navigating login sign up, opening 250 height , scroll bar appears gives ugly look.

i want sign should open 600px height when clicking login have 250px height.

i using thickbox.js lightbox

what tried is:

function signup() {      window.location="sign_up.php?tb_iframe=true&height=600&width=330";    } 

if forms same domain can try code before navigating iframe link:

window.parent.$('#tb_window').animate({     height: 600 }); 

so if changing iframe location signup function should modify it

function signup() {      window.parent.$('#tb_window').animate({         width: 330         height: 600     });     window.location="sign_up.php?tb_iframe=true&height=600&width=330";    } 

Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -