hello, is it also possible to use this module to achieve the same effect for some specific links that are internal sites not external ones? I'd like to make some internal link (like a slide, or the title of it) pop up a popup box that allows customized text or when users click the link.

Many thanks

Comments

DrupalDan created an issue. See original summary.

dewalt’s picture

Hi DrupalDan,

It is not possible to use module for internal links now. But it looks like an interesting feature. Will it work for you if I add classes `external-link-popup--ID` to force open dialog with ID on the link click?

DrupalDan’s picture

I think it should work. I just want to find a way to pop up thing. The link to be clicked, whether text one or with image, doesn't have to be directed to another page. I mean, if I click on the link, some message or picture can pop out. That'll work.

thanks for you reply.

  • dewalt committed 45260ee on 8.x-1.x
    Issue #3097897 by dewalt: right to use for site links?
    
dewalt’s picture

Status: Active » Needs review

@DrupalDan, the next functionality added:

Force Pop-up show
=============
The module provide ability to define which popup to show on a link with
`data-external-link-popup-id` attribute. It overrides any settings for the link
except `external-link-popup-disabled` CSS class. It also works for local links.
Use Popup machine name as a value.

It's in dev version of module now, I'll make a release after some testing.

dewalt’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.