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


Recent Events
  • 30/04/2016 "ARI Docs Viewer" v. 2.0

    "ARI Docs Viewer" v. 2.0 is ready. It can use "PDF JS" library to embed PDF documents into content. Contains "Button - ARI Docs Viewer" plugin, it helps to create shortcodes for content plugin.

  • 18/04/2016 New surprises for our birthday

    Continue celebrating our birthday and glad to announce a new gift. Prices for two our popular Joomla! extensions: ARI Quiz and ARI Smart Content are cut down till 1 May. Now "ARI Quiz" is available for $59 instead of $75 and "ARI Smart Content" for $25 instead of $35.


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, 11 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, 11 Months ago Karma: 635
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, 11 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, 11 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, 11 Months ago Karma: 635
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, 11 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