Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2019-02-22 17:55:25

Basebollfoto
Member
From: Norrtälje, Sweden
Registered: 2017-04-17
Posts: 38
Website

Select text in popup window

I have implemented the fancy popoup box as described in http://community.theturninggate.net/vie … hp?id=7774 .

The text in the pop up window is not selectable and I wonder if it is possible to enable that.


Background: I use two popup windows; one for help text and one to display the keywords that are available when you do a search. The reason for the latter is that there are a few geographical names involved and the spelling of some of them are not entirely uniform... Ir would be very useful if you could copy the keyword and then paste it in the search field.

Offline

#2 2019-02-22 23:52:58

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Select text in popup window

I don't know about modifying the Fancybox js code, maybe Matt will. But an option would be instead of using a popup for the keywords, create a separate page with your keywords. In the search help popup box, provide a link to the keywords page. Write the link using target="_blank" so that the page opens in another tab.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2019-02-24 12:27:30

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Select text in popup window

For text to be selectable within the Fancybox modal, you need to disable touch.
https://fancyapps.com/fancybox/3/docs/#faq-5


Matt

The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB