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?

Lightbox for 'system-readmore' links
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Lightbox for 'system-readmore' links
#42842
Lightbox for 'system-readmore' links 11 Years, 5 Months ago Karma: 0
Hello all!

I purchased and installed ARI sexy lightbox, and everything is working great, out of the box!

I've been trying to figure out a way to open 'read more' links that are generated with the joomla 3 WYSIWYG editor, inside of Sexy lightbox.
I've done well enough on my own using firebug to figure out how to get the lightbox to show in html links, but the link generated for the read more buttons looks like this:

<hr id="system-readmore" />

Now, I know that I could re-create the read more buttons with direct links instead of the pre-gen 'read more' link, but is there a way to add a sexylightbox tag to the "system-readmore" link?

I'm also interested in whether or not it is possible to connect the upcoming event links generated by GCalendar with the lightbox plugin?

Here is a link to my website: www.acadianatherapeuticriding.org/

Login: guest
Pass: guest1234

Basically, what I'm trying to do is have the "read more" links in my main news stories as well as in the "Meet ATRO" tab come up in a lightbox, as well as the links for "Very long event name", etc. under the "countdown" and "Upcoming Events" headings.
Last Edit: 2013/07/18 23:14 By aczdreign.
The administrator has disabled public write access.
 
#42845
Re:Lightbox for 'system-readmore' links 11 Years, 5 Months ago Karma: 760
Hello,

Use "System - ARI Sexy Links" plugin for this purpose. Configure and enabled plugin and set "Elements CSS selectors" parameter to the following value:

"P.readmore A,A.readmore,.moduletable A[href*=\\\\/gcalendar\\\\/event\\\\/]"|width=800&height=600&tmpl=component

Regards,
ARI Soft
The administrator has disabled public write access.
 
#42876
Re:Lightbox for 'system-readmore' links 11 Years, 5 Months ago Karma: 0
Wow, that worked like a charm! Only problem is, the google calendar links under the "countdown" dropbox still open normally, while "upcoming events" dropbox and "read more" buttons worked in a lightbox. I would also like to have this effect apply to the "calendars" area of my website (accesible from the main menu).

I've changed my mind about the 'read more' links, but I really like the calendar links in the lightbox. I've taken the first portion of code (referring to readmore links) out, and it now looks like this:

".moduletable A[href*=\\\\/gcalendar\\\\/event\\\\/]"|width=800&height=600&tmpl=component"

How can I make this apply to all gcalendar links on the mainpage? Is it possible to make this applicable to every gcalendar link across my entire site?
The administrator has disabled public write access.
 
#42877
Re:Lightbox for 'system-readmore' links 11 Years, 5 Months ago Karma: 760
You can use the following code to attach the lightbox to all links for events from Gcalendar:

"A[href*=\\\\/gcalendar\\\\/event\\\\/]"|width=800&height=600&tmpl=component

but it will not work for "countdown" links because gcalendar uses some strange login for them. It updates HTML with these links every second as result a new link adds to a page each second. "ARI Sexy Lightbox" attaches to selected links only on page load.

Regards,
ARI Soft
Last Edit: 2013/07/20 04:35 By admin.
The administrator has disabled public write access.
 
#42903
Re:Lightbox for 'system-readmore' links 11 Years, 5 Months ago Karma: 0
Again, thank you for a quick response and successful solution. I've been having trouble with the countdown element all the way; I think I'm just going to take it out.
Now, the sexylinks are set up for all of the upcoming event links sitewide. One last thing that I need to do is to apply this treatment to the links on the calendar itself, at

www.acadianatherapeuticriding.org/index.php/calendar

I've tried to play with the code, comparing what I have now to the link adresses and what you'd given me to begin with, but I just don't know enough about coding to get it to work on my own.
The administrator has disabled public write access.
 
#42909
Re:Lightbox for 'system-readmore' links 11 Years, 5 Months ago Karma: 760
Check your mail please.

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