WordPress.org

Ready to get started?Download WordPress

Forums

open within page? (4 posts)

  1. Tom(dB)
    Member
    Posted 6 years ago #

    I like this service. However, by editing the add-to-any.php file, I have set the link to open in a new window rather than take you away from the page.

    What would be even better is to use something like thickbox to open in the page, save, then close, leaving you on the site all along.

  2. solarplexus
    Member
    Posted 6 years ago #

    How did you do that in the php file? Any idea how to make a pop-up of it?

  3. micropat
    Member
    Posted 6 years ago #

    Hey, the thickbox idea sounds really cool! Something within an IFRAME, right? If anyone develops an implementation of this, feel free to share. :)

    Re: Having the button's link open in a new window/tab, you can include target="_blank" in the <a> tag, like in this example:

    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark" target="_blank"><img src="http://www.example.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark" /></a>

  4. Tom(dB)
    Member
    Posted 6 years ago #

    just stumbled across this again.

    I'm not using it anymore, but am messing with thickbox right now.

    http://mezzomondo.nelblog.it/2007/05/28/thickbox3/

    allows the use of thickbox. So...

    Iframed external pages:
    Add class=”thickbox” to the a tag of your link. In the href attibute, after the URL add the following parameters:
    ?KeepThis=true&TB_iframe=true&height=400&width=600

    should allow you to do it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags