0

I have a document library, and use office web apps to open the documents for reading. I would like the document to open inside a page viewer web part. Thus one could click a document in the library, and it will be visible in the word viewer app in a webpart on the same page, instead of opening a new page. Is this possible? And how?

regards

1

I believe each PageViewer is really an iframe, so I think you can use jquery or javascript to switch the frame to another site.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js">
    $('#frameid').attr('src', loc);
</script>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.