In the iframe you’ll use the below code: window.parent.postMessage(“Hello World !”, “http://your.site.web”); And in the parent window: // function that will be called when the message is received function receiveMessage(event) { alert(event.data); // it’ll show “Hello World !” } // we listen to a message if (window.addEventListener) { window.addEventListener(‘message’, receiveMessage, false); } else if (window.attachEvent) […]
Month: August 2014
Use hash word in the Sharepoint navigation
Let’s say you have the url http://my.site.com/myfolder/mypage.aspx#hash and you want to use it as a link into your left navigation bar in Sharepoint…. If you try putting that name, Sharepoint will not keep your link. The trick here is to add a questionmark juste before the #. The URL to use will be http://my.site.com/myfolder/mypage.aspx?#hash and […]