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?

Link to next colorbox from within a colorbox
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Link to next colorbox from within a colorbox
#18988
Link to next colorbox from within a colorbox 13 Years, 3 Months ago Karma: 0
Hi,

How can I have it so there is a next and previous on colorbox popups. I am using the plugin System - ARI Colorbox and have the following loaded into an article:
<ul>
<li><a href="index.php?option=com_content&view=article&id=2&Itemid=3" class="aricolorbox {iframe: true, width: 800, height: 450}">link 1</a></li>
<li><a href="index.php?option=com_content&view=article&id=4&Itemid=5" class="aricolorbox {iframe: true, width: 800, height: 450}">link 2</a></li>
</ul>

Which works fine, however I need to add a next and previous so that the user can open the next article without closing the original colorbox. How is this possible? Thanks in advance

Andrew
The administrator has disabled public write access.
 
#18989
Re:Link to next colorbox from within a colorbox 13 Years, 3 Months ago Karma: 760
Hello,

Use the next code:

Code:


<ul>
<li><a href="index.php?option=com_content&view=article&id=2&Itemid=3" rel="group1" class="aricolorbox {iframe: true, width: 800, height: 450}">link 1</a></li>
<li><a href="index.php?option=com_content&view=article&id=4&Itemid=5" rel="group1" class="aricolorbox {iframe: true, width: 800, height: 450}">link 2</a></li>
</ul>



Regards,
ARI Soft
The administrator has disabled public write access.
 
#18990
Re:Link to next colorbox from within a colorbox 13 Years, 3 Months ago Karma: 0
WOW - that has to be the quickest reply I have ever had. Excellent support and it worked fantastically. Thanks once again.
Andrew
The administrator has disabled public write access.
 
#18991
Re:Link to next colorbox from within a colorbox 13 Years, 3 Months ago Karma: 0
Hi Again,

I have just realised that using articles is displaying the site template, whereas I only need a content box with white background. How is this done? Thanks again.
The administrator has disabled public write access.
 
#18992
Re:Link to next colorbox from within a colorbox 13 Years, 3 Months ago Karma: 760
Use the following code:

Code:



<ul>
<li><a href="index.php?option=com_content&view=article&id=2&Itemid=3&tmpl=component" rel="group1" class="aricolorbox {iframe: true, width: 800, height: 450}">link 1</a></li>
<li><a href="index.php?option=com_content&view=article&id=4&Itemid=5&tmpl=component" rel="group1" class="aricolorbox {iframe: true, width: 800, height: 450}">link 2</a></li>
</ul>



In other words, add tmpl=component request parameter to link.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#18996
Re:Link to next colorbox from within a colorbox 13 Years, 3 Months ago Karma: 0
Once again it works, fantastic. I will leave a great review on JED shortly.
Andrew
The administrator has disabled public write access.
 
Go to topPage: 1