Viewing 6 replies - 1 through 6 (of 6 total)
  • Wootie

    (@wootie)

    Hey drew173 – I posted a couple follow-up questions on the developer page via the link you provided…think you could help me out?

    benkurbis

    (@benkurbis)

    Having same problem with the auto close after submit. Any fix yet?

    benkurbis

    (@benkurbis)

    I used the following code and it worked for me. Window closes as soon as the user clicks Submit.
    <input type="button" name="button" class="TellAFriend_Button" value="Submit" onClick="javascript:TellAFriend_Submit(this.parentNode,'<?php echo get_option('siteurl'); ?>/wp-content/plugins/wp-tell-a-friend-popup-form/');javascript:TellAFriend_HideForm('TellAFriend_BoxContainer','TellAFriend_BoxContainerFooter');">

    Thread Starter drew173

    (@drew173)

    Good stuff Ben. Thanks.

    JR-WP

    (@jr-wordpress)

    Hi ben / drew,

    1. In which file did you place the code for closing the window?
    2. What is the line number where you placed the captioned code?

    Thanks.

    File is wp-tell-a-friend-popup-form.php and it was line #42

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘This is great with some tweaking. Go here:’ is closed to new replies.