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


Recent Events
  • 30/12/2015 New Year SALE is prolonged

    A New Year is a time of surprises and we extend New Year's SALE for our Joomla! products till 7 January. Do not miss your chance to get quality Joomla! extensions for the best price. Use NY2016 coupon code and get 30% discount.

  • 30/12/2015 Get 25% from TemplateMonster

    Dear readers, TemplateMonster offers 25% discount on ALL Joomla templates from the collection for all ARI Soft visitors. Use the coupon code: ARISOFT2016 and make purchases with discount!


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 4 Years, 5 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 4 Years, 5 Months ago Karma: 618
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 4 Years, 5 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 4 Years, 5 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 4 Years, 5 Months ago Karma: 618
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 4 Years, 5 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
gilt