Viewing 11 replies - 16 through 26 (of 26 total)
  • Ok, thanks for trying though and for all the time you spent on my problem!

    Kind regards

    if anyone (like me) don’t like to mess with the core in a plugin, add som javascript to fix this:

    $('a').each(function() {
    	var href = $(this).attr('href');
    	$(this).removeAttr('target');
    	$(this).attr("href", "javascript:PopUp('" + href +"')");
    });

    This rewrite the link but if the user doesn’t have javascript it still works and doesn’t make any rewrites.

    Place the code that shyne23 posted in the head. All done!

    Hi shyne23
    This is really great! Works like a charm!

    Nannica, I’m curious, where should your code be placed? I tried some things but failed.

    Plugin Author Simple Share

    (@davidoffneal)

    Hi all,

    Funnily enough a popup window is now default behaviour for Simple Share Buttons Plus . Upon clicking a share button it also saves the details so that you can track all sharing activity in your dashboard.

    Not that I’m trying to sell it but it also uses a retina-ready CSS sprite and has hover effects too! ??

    Thanks,

    David

    $('.ssba a').each(function(){
            return $(this).attr('target','').on('click',function(e){
                e.preventDefault();
                window.open($(this).attr('href'), $(this).attr('alt'), 'width=450, height=300, toolbar=0, scrollbars=1 ,location=0');
            })
        });

    no need to edit the core, try this one.

    Hello David,

    Very nice plugin, thank you. I just purchased Plus but the pop-up window only works on twitter; on all others the popup appears within a page — a blank page but not target=_blank, if you know what I mean. ??

    Also, cancelling/closing those pop-ups takes a really long time. You can see this in action on https://rotemstudio.com/ten-basic-layout-tips-for-non-designers/

    Thank you for any assistance. ??

    I stand corrected — popups not working for twitter either. I disabled adBlocker to see if that was the issue but no change.

    One more question — i do not want the text to appear within the buttons but is there a way to have them appear with hover?

    Plugin Author Simple Share

    (@davidoffneal)

    Hey,

    Great to hear you’re trying Simple Share Buttons Plus!

    May I please ask that you open a ticket here https://sharebuttons.ticksy.com

    I’ve had a try and the popups are working no problems for me. Could you please provide the details given when you visit https://www.supportdetails.com in your ticket.

    Thanks,

    David

    Shyne23, can I ask what you mean by “add the following code to your header.php (before head)”? Do you mean Admin/Advanced, the HTML insertion tab?

    Plugin Author Simple Share

    (@davidoffneal)

    I wouldn’t recommend editing your theme’s header.php, it shall only be overwritten sometime by an update of your theme. https://www.simplesharebuttons.com/plus/ has the feature now, something I may well add to the free version if I get the time.

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Use pop Up instead of blank page’ is closed to new replies.