I have an aspx page onto which I have added a page viewer web part to display a powerpoint file. I wanted to hide or remove the close button because closing returns to the library in which the file lives, which is not the desired behavior.
my first solution was to hide the close button using jquery using the following
as best as I can tell, this function is actually called before the page has rendered the page viewer web part, meaning that the html element of interest is not even on the page, which in turn would explain why the function does not do what I desire.
is there a way to trigger this function after the web part is rendered? or, is there a way to intercept the close event or its redirection so that I can send the user to the desired page?
perhaps there is a 3d way? I have tried html without success.
sharepoint 2013 sp1 enterprise farm.