Hi
i am using the following script to set height and width of iframe dynamically.
if(window.location.hash.length != 0)
{
var hostUrl = window.location.hash.substring(1);
hostUrl += "#";
hostUrl += 'height=' + height.toString();
hostUrl += '&';
hostUrl += 'width=' + width.toString();
window.top.location = hostUrl;
}
This function is calling from
function SetSessionItems() {
publishHeight(100,70);
window.open('test.aspx', null, '');
}
But as per passed parameters height and width are not setting. Please suggest me solution. Regards KJcreddy