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?

Article in Lightbox using a CLASS tag
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Article in Lightbox using a CLASS tag
#17867
Article in Lightbox using a CLASS tag 13 Years, 5 Months ago Karma: 0
Hello,

I am currently using the following code to open an article in a lightbox and it works very well...

Code:

{arisexylightbox activeType="article" width="750" height="535" id="112" title="Canadian Credit Counselling &amp; Debt Solutions.  We Can Help Secure Your Financial Future!"}<img style="float: left;" alt="option-banner-bg" src="images/stories/option-banner-bg.png" height="73" width="980" />{/arisexylightbox}


I need to change that to have the same article open in a lightbox but using a text link instead. I do need to assign a class to the link.

I have the article written, and a slideshow module displays it on the home page. I have tried the following with limited success, as instead of just the article, it shows the whole webpage...

Code:

<a class="jbReadonR" rel="sexylightbox" href="index.php?option=com_content&view=article&id=103&amp;height=535&amp;width=750" rel="sexylightbox">Click to Read More</a>


Your help is greatly appreciated. I have searched the forums and was able to get the original code sorted out, but have had no success finding out how to change it to a link with a class attached.

Tony
The administrator has disabled public write access.
 
#17869
Re:Article in Lightbox using a CLASS tag 13 Years, 4 Months ago Karma: 760
Hello,

Try to use the next code:

Code:


<a class="jbReadonR" rel="sexylightbox" href="index.php?option=com_content&view=article&id=103&TB_iframe=true&height=535&width=750" rel="sexylightbox">Click to Read More</a>



Regards,
ARI Soft
The administrator has disabled public write access.
 
#17870
Re:Article in Lightbox using a CLASS tag 13 Years, 4 Months ago Karma: 0
Hi,

Thanks for the quick reply.

I tried the code you supplied and the lightbox pops up, but still has the entire website in it as opposed to just the article.

Here is a link to view a video of it in action. The text link is what I click on first and as you can see, shows the whole website. I need it to just show the article.

I then I click on the image link which works the way I want and it shows JUST the article.

Click for Video

Any idea?

Thanks,

Tony
The administrator has disabled public write access.
 
#17881
Re:Article in Lightbox using a CLASS tag 13 Years, 4 Months ago Karma: 760
Use the next code:

Code:


<a class="jbReadonR" rel="sexylightbox" href="index.php?option=com_content&view=article&id=103&tmpl=component&TB_iframe=true&height=535&width=750" rel="sexylightbox">Click to Read More</a>



Regards,
ARI Soft
The administrator has disabled public write access.
 
#17886
Re:Article in Lightbox using a CLASS tag 13 Years, 4 Months ago Karma: 0
Perfect, thank you very much!

Cheers,

Tony
The administrator has disabled public write access.
 
#17887
Re:Article in Lightbox using a CLASS tag 13 Years, 4 Months ago Karma: 0
Sorry, one more question, is there a way to add a title? The text that shows up in the bottom of the lightbox. I tried adding the following before the last rel="sexylightbox"

Code:

title="Canadian Credit Counselling &amp; Debt Solutions.  We Can Help Secure Your Financial Future!"


but that breaks something and causes the layout of the slideshow to go crazy.

Thanks again.
The administrator has disabled public write access.
 
Go to topPage: 12