Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Problem with links within lightbox on https site
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 1
TOPIC: Problem with links within lightbox on https site
#59668
Problem with links within lightbox on https site 7 Years, 10 Months ago Karma: 0
I've run into a problem on an https site where I have it configured to "Open links with target="_blank" attribute" in a lightbox. I am opening another https page within the lightbox and that page has http links. The browser won't allow the http links to open within the lightbox and I am unable to add the target="_blank" attribute to those links due to that attribute being configured within ARI Fancy Lightbox.

How can I remove the target="_blank" attribute association with ARI Fancy Lightbox and then manually code each link to open a page within a lightbox? If I could do that, the problem would be solved.
The administrator has disabled public write access.
 
#59669
Re:Problem with links within lightbox on https site 7 Years, 10 Months ago Karma: 0
I figured out the solution.

I turned off the "Open links with target="_blank" attribute" and manually added class="ari-fancybox-iframe" to all the links I wanted to use with the lightbox. Then I could use the target="_blank" for all my http links within the lightbox.
The administrator has disabled public write access.
 
#59670
Re:Problem with links within lightbox on https site 7 Years, 10 Months ago Karma: 760
Hello,

It is possible to disable lightbox for the selected links if add no-lightbox CSS class. For example:

Code:


<a href="http://domain.com" target="_blank" class="no-lightbox">Some link</a>



or if want to add lightbox to a specific link, add ari-fancybox for all links except web pages and ari-fancybox-iframe for web pages. For example:

Code:


<a href="http://domain.com/page.html" class="ari-fancybox-iframe">Another link</a>

<a href="http://domain.com/photo.jpg" class="ari-fancybox">Photo</a>



We will add this information to documentation.

About links with mixed protocols (http and https), we will investigate how to possible to treat it, but suppose it will not be possible to modify links in an external page due to browser's security policy.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#59683
Re:Problem with links within lightbox on https site 7 Years, 10 Months ago Karma: 0
Thank you for the timely and detailed reply to my question. This information is very helpful.
The administrator has disabled public write access.
 
#59684
Re:Problem with links within lightbox on https site 7 Years, 10 Months ago Karma: 760
You are welcome. If have any questions or suggestions feel free to contact us.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1