So I have a library with PDF documents in it and a content editor web part underneath. When I select a PDF item I would like it to display in the <iframe>
. I can accomplish this with a static URL currently but I am having trouble dynamically getting the item URL and refreshing the <iframe>
. I am guessing I will need to use javascript to accomplish this.
Has anyone every tried anything like this before?
Thanks