WordPress.org

Ready to get started?Download WordPress

Forums

Simple Popup Plugin
Add a new Close Text (2 posts)

  1. redlinepc
    Member
    Posted 2 years ago #

    Hi, can you help me to create a text that closes the popup with a cookie.

    I have this:

    <a class="destroy" href="#" onclick="tinyMCEPopup.close();" />I already subscrived, dont show this again.</a>

    But dont works, what i doing wrong?

    http://wordpress.org/extend/plugins/simple-popup-plugin/

  2. grimmdude
    Member
    Plugin Author

    Posted 2 years ago #

    First, that onclick event won't work to close the popup created by this plugin. Changing that to window.close() should work to close the popup.

    As far as the cookie functionality goes, you'll have to add a lot more code to get it to work like that. Are you sure we're talking about the same plugin here?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic