function SendMessageToFrame message var elem document getElementById i

1
2
3
4
5
function SendMessageToFrame(message) {
var elem = document.getElementById('innerFrameProxy');
elem.contentWindow.location = 'http://www.pierslawson.plus.com/Examples/CrossDomain/InnerFrameProxy.html#' + message;
elem.width = elem.width> 50 ? 50 : 100;
}