• Using Chrome. Here is the content from my Infopopup entry:

    “<div style=”padding: 10px 0px 20px; font-family: calibri, tahoma, sans-serif; color: black; font-size: 24px;”>Click OK to bring up the KGTiger Direct Sourcing PLUS website.</div>
    OK???<input type=”button” value=”Close this window” onclick=”infoCloseAllPopups()”><br>”

    The Close button successfully closes the popup window. If OK is pressed, it opens the href in another page, but the Popup window stays open.

    QUESTION: How can I have the popup window automatically close when OK is pressed and the link to the new page is executed?

    • This topic was modified 8 years, 4 months ago by doughty10. Reason: couldn't read the html
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter doughty10

    (@doughty10)

    HTML for OK…
    ‘a class=”mybutton” href=”/sourcing” target=”_blank ” infoCloseAllPopups()>OK’

    Thread Starter doughty10

    (@doughty10)

    I figured this out. For those that want to know how, here’s the right code:

    “{a class=”mybutton” href=”/direct-sourcing” target=”_new” onclick=”infoCloseAllPopups()”} OK{/a} ???{input type=”button” value=”Close this window” onclick=”infoCloseAllPopups()”}{br}

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to auto close popup window after hyperlink?’ is closed to new replies.