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


Recent Events
  • 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.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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?

Menu items linked to external sites
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 12
TOPIC: Menu items linked to external sites
#64568
Menu items linked to external sites 5 Years, 2 Months ago Karma: 0
Hi - I had to disable "Open links with target="_blank" attribute" and "Open external links into lightbox" because links to my social media sites were not working in the lightbox.

I have links to other external sites that I do want to appear in a lightbox, so I have been adding
"ari-fancybox-iframe" to the links.

I am now trying to do the same for a menu item linked to an external site. However, When I add "ari-fancybox-iframe", the menu item text itself appears in the lightbox.

How do get menu items linked to external sites to appear in a lightbox?

I'm using wordpress and I am a beginner.

Thanks
The administrator has disabled public write access.
 
#64571
Re:Menu items linked to external sites 5 Years, 2 Months ago Karma: 748
Hello,

Could you provide a link to a page where the problem occurs (with menu items)?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#64576
Re:Menu items linked to external sites 5 Years, 2 Months ago Karma: 0
careaxis.ca/

Hi - I have since unistalled PRO and reinstalled the basic version. "Open external links into lightbox" is enable. All external links are now successfully being "lightboxed" except for social media links.

My preference is that a solution be found to the social media links (found in header and footer) not working so I do not have to enable individual links with "ari-fancybox-iframe".

That said, for my own education, I would also like to learn how to enable menu items (when "Open external links into lightbox" is diasbled) linked to external links (for exmaple, the "PATIENT SIGN-IN" links to an external site).

If you could help me on these two points, I would be greately appreciative.

Thank you,

Paul
The administrator has disabled public write access.
 
#64579
Re:Menu items linked to external sites 5 Years, 2 Months ago Karma: 748
Hello

Open “ARI Fancy Lightbox -> Settings -> Advanced” page and populate “Custom JS code” parameter with the following code to remove lightbox from social links:

$('#footer_bottom A.social_link').addClass('no-lightbox');

About menu items, add ari-fancybox-iframe CSS class to <A> element, not to <LI> or other element.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#64581
Re:Menu items linked to external sites 5 Years, 2 Months ago Karma: 0
This worked for the footer, thank you! What about the social media links in the header?
The administrator has disabled public write access.
 
#64582
Re:Menu items linked to external sites 5 Years, 2 Months ago Karma: 748
Use the following code instead of the previous one:

$('A.social_link').addClass('no-lightbox');

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