I have a normal sharepoint page, on it I have a page viewer web part that views a page, what I want to be able to do is create 2 links on the page, when each link is displayed it shows a different page in the same page viewer. I am pretty new to code so any assistance greatly recieved

1 Answer 1


The pageviewer webpart is basically an iframe. So what I would do is create a JavaScript/jQuery function that triggers on click of your links. The script should update the iframe src.

Look here for a similar question https://stackoverflow.com/q/3730159/4699406

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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