locked
javascript:OpenPopUpPage is not working well with google chrome RRS feed

  • Question

  • I am using google chrome Version 29.0.1547.66 m. I have added the following code inside a script editor web part, to show a pop up when clicking on Camera link:-

    <li unselectable="on"><a href="javascript:OpenPopUpPage('/view/viewer_index.shtml?id=726',1000,1000);" unselectable="on">Camera</a></li>
    The pop-up will be shown well on IE and firefox, while it will be shown as if it is minimized when opening the pop-up using google chrome web browser, as shown below:-

    So what might be causing this problem ?

    Wednesday, September 11, 2013 10:56 AM

Answers

  • I am more curious as to why it works in IE.  You just forgot the function callback.  Try:

    OpenPopUpPage('/view/viewer_index.shtml?id=726',null,1000,1000)

    Hope this helps.


    -James
    MCPD: SharePoint Developer 2010
    Posting is provided "AS IS" with no warranties, and confers no rights.
    Please mark as answer or helpful as appropriate

    • Marked as answer by Patrick_Liang Thursday, September 19, 2013 3:21 PM
    Thursday, September 12, 2013 2:19 AM