When I create a new resource using 'Compose a Web Page', I would like the user to have the option to press a button to close the page. When I use the 'Open in new window' option, I would like to add the java script:
<input type=button value="Close Window" onClick="javascript:self.close();">
I assume it goes into one of the resource/type/html folder files but not sure which one or where. My skills don't extent to this yet
Can anyone help me? I think this would be a useful item to have on the page.
Simon