Blogroll

Monday, May 20, 2013

Add a button to open the page in pop-up window: SharePoint 2010


I got a very strange request from the client. Where he has one button added on the SharePoint site and open that button is clicked it opens a Pop-Window and shows another HTML page or a image for guidance.

I this is may be possible with the magic of CEWP and yes there you go.

By adding the onclick="window.open function in the HTML code will help you add a button and open the reference page in new window. 


E.G

Add the following code in the CEWP on your page:



Save the page and you will see the Button on the SharePoint site page:


Click on the page will open a new IE window, which will launch Google Search for you. 


You can replace any link based on your own choices.  

If you have any queries/questions regarding the above mentioned information then please let me know.

I would be more than happy to help you as well as resolves your issues, thank you.


Applies to: SharePoint 2010, SharePoint Foundation Server. 




No comments:

ShareThis

snow flakes

blogger widgets Blogspot Tutorial

LinkWithin

Related Posts Plugin for WordPress, Blogger...