Want a Pop Up link

  • Author
    Posts
  • #674504

    alyn217
    Member

    My apologies if this has been addressed elsewhere. I would like to link single images that simply pop up in a small window when you click or scroll over the word that link is. I understand there is an option to have links open in a new window which is the next best thing, but I would like a have a small window open “over” the current page so that the reader doesn’t have to actually leave the site (even if it’s just in a new window) to see the linked image. Even a new window that conforms to the size of the linked image would be fine. While I wouldn’t be doing ads (just images, possibly video) I’m basically looking to emulate those really annoying pop up adds that spring up like daisies all over your page while you’re trying to read an article.

    Hopefully I’ve made my problem clear enough. Any solutions?

    Alan

    The blog I need help with is full-time-father.com.

    #674690

    auxclass
    Member

    I hate those things, yes your were quite clear – but can’t be done on WordPress.COM, I think those little links require script which is not allowed here for security reasons. Open in another tab / window is your only option I am aware of.

    #674692

    wpgaurav
    Member

    Try ‘_top’ target — current window
    or tab, with no frames.
    For example <a href="http://wordpress.com/" target="_top">Wordpress.com</a> produces WordPress.com

    #674696

    airodyssey
    Member

    @wpgaurav: Don’t you mean “_blank” instead? :-)

    #674701

    wpgaurav
    Member

    @airodyssey He don’t want to open a new window.

    #674704

    mmadfan
    Member

    target=”_top” just clears a frame(s), I thought, and opens the link in the same tab. I don’t think it would behave like the OP would like. It would end up having the same effect as a plain link, I think.

    #674705

    1tess
    Moderator Emeritus

    The closest I’ve ever heard to having a pop-up is a trick using “thickbox” in conjunction with the social vibes widget.
    It works only if the reader is logged in to WordPress.com though:
    https://en.forums.wordpress.com/topic/thickbox-issues-new-windows-opening-instead?replies=19

    #674707

    1tess
    Moderator Emeritus

    @mmadfan
    yes, I tried it and it displays as an ordinary link.

    #674708

    wpgaurav
    Member

    Oh. I think he want, a new window too.
    Didn’t read seriously!

    #674711

    wpgaurav
    Member

    As a general info, what @auxclass said:
    Pop-up requires a script like this:

    <script type="text/javascript">
    // Popup window code
    function newPopup(url) {
    	popupWindow = window.open(
    		url,'popUpWindow','height=700,width=800,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')
    }
    </script>
    <a href="JavaScript:newPopup('http://wordpress.com');">Wordpress.com</a>

    which is not allowed on wordpress.com
    Pardon me, for my mistake.

    #674717

    dlager
    Member

    does anybody know what happened “m-shots”?

    #674720

    auxclass
    Member

    I think the m-shots had some conflict with another feature – can’t remember more that that vague memory – but the m-shots were a source of gripes by visitors to my site and I had to turn m-shots off.

    #674722

    wpgaurav
    Member

    When I came to wordpress.com, mshots had gone. https://en.forums.wordpress.com/topic/mshots-gone?replies=5

    #674971

    wpgaurav
    Member

    Hi. After few days’ discovery, I went to know that popups are also allowed on wordpress.com. Try <a href="Your Link Url" target="popupwindow">Text Or Image here</a>
    This worked for me.

The topic ‘Want a Pop Up link’ is closed to new replies.