Code

Discussion on Colio - jQuery Portfolio Content Expander Plugin

Discussion on Colio - jQuery Portfolio Content Expander Plugin

Cart 841 sales

flGravity supports this item

Supported

This author's response time can be up to 5 business days.

179 comments found.

Hi thank you for your nice script.

i am working on it. I am facing 1 problem. The problem is bootstrap nav tab is not working inside. when i open the script.

This is tabs which i am using. http://getbootstrap.com/javascript/#tabs

Here is the code that you use for services. and you should add onContent callback to run any other JS code with in context of content that Colio loads

$('.best-services .list').colio({
    id: 'demo_1',
    theme: 'black',
    placement: 'inside',
        onContent: function(content){
         $(content).find('.my-tabs').init_my_tabs();
        }
});    

init_my_tabs() is let’s say some jQuery plugin to init your tabs.

added but not working.

can you please share me you email. i send you all file.

Best Regards

Hello!

I gave this code as general example what you should do and how to use onContent() callback to run custom JS code. You shouldn’t just copy-paste this as is. Init code for your tabs you should place instead of

$(content).find('.my-tabs').init_my_tabs();

Unfortunately I don’t work with any files of my clients.

hi, really expects you can help me… i want to add isotope sort function to my black colio grid, how can i do it? thanks!!

Ok, this works.

What I think is as long as isotope uses translate3d() css3 for sorting, my plugin can’t figure out proper item position. Could you try to disable css3 feature in Isotope by setting “animationEngine” option to “jquery”? And let me know if that resolved the problem.

Hello, thanks for your answer, i set animationEngine to jquey,

animationEngine: “jquery”, animationOptions: { queue: !1, duration: 800 },

still doesn`t work, any other ideas, ? thanks again!!

Not sure where is the issue exactly. This can be either your code that works not right (I can sort items from A-Z but sometimes it does not work). Or. It can be that “inside” placement mode and isotope sort are not compatible. Isotope plugin when sorting items, simply moves them around, while it doesn’t change order in which LI items exist in DOM. Whereas Colio plugin, when figuring out where to show viewport, checks position (index) of LI item in UL list.

Hi. Really nice plugin. One question. I wanted to use it without thumbnails, and make the height variable depending on the size of text description. I tried amending the CSS without a height. Unfortunately when the expanded view is active, I get the text from the grid layout overlapping the expanded view. It seems there is some kind of minimum height required between the grid items and the expanded view. Is there a way to work around this when thumbnail images are not used? Hope that makes sense. Thanks.

Hello!

It’s ok to use Colio without thumbnails. Regarding your question. Please make sure that whether you put inside of viewport (i.e. content), it has properly cleared floated elements and does not have absolutely posited elements. Colio should be able to determine content height correctly.

If you still won’t be able to resolve this, please give me a link and I will check myself.

Hello, I purchased your Colio portfolio plugin and have spent the past 8 hours trying to figure it out. I have seen many sites that use this plugin. It shows a small image. When you hover over it, it displays “view project”. When you click that button it opens up details including the additional images that were uploaded and some text. When I click on my “View project” it just sits there with a loading gif but it does not pop open. I want it to work like this site http://www.popcreative.net/portfolio/ but I can not figure it out! Please help. Thank you Shepard

Hello! To fix this you should go to Settings -> Permalinks and just re-save them.

Works great! Thanks!

Is it possible to force inside placement to always appear after the current list item row vs a combination of before and after? This would be especially nice for mobile view when the list items are 100% width. Hope that makes sense!

Thank you for your quick responses! I had already tried that and the expander div still opens above the content. Could you take a look and see if I am missing something? http://dev.substance151.com/company/#principals

What did you set for “placement” option? It should be “after” to have the viewport always after items.

If I use ‘after’ the expander div appears beneath all items. Not a problem when you have one row, but i will be adding additional bios. It also causes an issue in mobile view when one of the bios breaks beneath the other. Thinking I will use another plugin for this particular function. Thanks for your help!

Is there a step by step installation documentation. The docs in the download do not tell you much so I feel like I’m missing something with trying to put it into my site.

Hello!

installation instructructions for my plugin you ca find here http://plugins.gravitysign.com/colio/docs/index.html#install

Also if you want I can take a look on your site and tell you what you have missed.

Hi! I sent an email a few days ago. I have an issue on my portfolio. When i click on a link of the menu, for istance All, the images jump on top or on the left. Can you please check it on http://nitwix.com/site/index.html ?

Thank you!

Hi! I have an issue on my webpage. For instance if i click on all or another menu link all the portfolio elements jump on top and right. Here the link http://nitwix.com/site/index.html

I fixed everything but now i have another issue. when i see the portfolio in 767px the transition 3d doesn’t work until i resize the window, so i have the items hover to each other.

this happens only offline though. Any idea about it?

Hello!

I checked JS code and everything seems to be ok. You have isotope_run() call to init Isotope plugin. Do you see any JS erros when you browse site offline? like files that can’t be loaded. Also do you do this in Chrome?

How do I go about having the ExpandLink (.colio-link) toggle the content opened and closed? It works great to click an item and it expands. Click another item and it closes original item and opens new item. The only way to close all items is to click the expanded close button.

User-experience wise, we find that people click the initiating element and intuitively expect the item to close.

We’ve tried to add triggers to the .colio-active-item, but it seems to break the layout and not do the same thing as clicking the close button.

Here was our attempt:

onExpand: function(c){
    $('.colio-active-item .tile-overlay').on('click', function(e){
        gridTarget.trigger('colio', "collapse");
    });
},
onCollapse: function(c){
    $('.colio-active-item .tile-overlay').off('click');
}

BTW, great plugin!

One way to solve this is to use custom links to expand/collapse items. You can add next code after plugin init to add required function to custom links using plugin API

$('#my_portfolio .colio-link-custom').click(function(){
var api = $('#my_portfolio').data('colio'), 
item = $(this).closest('.colio-item');
if(item.hasClass('colio-active-item')) {
 api.collapse();
 } else {
 api.expand(item.index());
}
return false;
});

This worked perfectly! Thanks so much for the support.

Hi, I purchased your plugin and used it in a wordpress website. I made some customizations to make it work for my needs and you can see the results here http://www.pucajewels.com/collection/ (click on items, they show in an expanded view where you can navigate through items).

This works fine in Chrome and Safari but has some issues in Firefox. When click on items they often don’t expand at all or expand but don’t navigate. In the dev console I can see some activity when click is done, eg. adding classes, but nothing happens in window.

Can you help me troubleshoot this?

Not sure what it is, but please make sure that content that you load inside viewport

<div class="single-container rel" />

properly clears floated elements (if any) and its calculated height is not 0.

Thanks for answer.

I tried setting a min-height of 500px on .single-container, this seems to solve my issue.

ok, great!

I tried to implement your plugin with this custom scrollbar: http://manos.malihu.gr/jquery-custom-content-scroller.

It does not work. The scrollbar can’t seem to show in colio expand content. Basically, your plugin conflict with every jquery that I try to used it colio expand content.

Any idea on how to solve it?

Okay, I upload it to a live server later. Then I will send you the link. Can I email you privately, email me your private email? cause I don’t want to make the URL publicly. Thank you.

I email you the website link, did you receive it?

Please reply asap, I really your help on 3rd part plugins. Thank you.

Hello,

Hope all is well,

any plans in doing it seo-friendly so that the url shows the # extension of the clicked project + can we include this item in one of our items if we purchase the extended license ?

thanks UOU

Hi again, could you please confirm that you have updated the script the the url facility as you did in the wordpress version ? we’re ready to purchase the extended license for both wp and html so once you confirm i’ll purchase it thanks UOU

Deep linking feature is not incorporated in plugin code itself. It comes as additional code. Right now it’s only available in WP version and works by default.

Here is the code that you can use in jQuery plugin version ( just add this to onExpand and onCollapse callbacks)

onExpand: function(){
  // set URL hash to the viewing item
  var item_hash = list.find('.colio-active-item').attr('data-hash');
  if(window.history && 'replaceState' in window.history) {
    window.history.replaceState({}, document.title, item_hash);
  } else {
    window.location.hash = item_hash;
  }
},
onCollapse: function(){
  // remove hash part from URL
  if(window.history && 'replaceState' in window.history) {
    window.history.replaceState({}, document.title, '#');
  } else {
       window.location.hash = '';
  }
}

Every item should provide hash as “data-hash=” attribute, like so

 <li data-hash="#my_test" .. ></li>

Hi, thanks for your reply, we’re purchased the extended license and will keep you posted in case there’s anything cheers UOU

Hi, How can I use flexslider in black-theme? It’s possible? Thanks

Hi! Yes it’s possible. Basically, you just need to replace fancybox with flexslider.

And here is how to do this:

1. Link flexslider in head of your index.html instead of fancybox . Add this (note that I link flexslider from colio-white/ folder)

<link rel="stylesheet" href="colio-white/flexslider/flexslider.css" />
<script type="text/javascript" src="colio-white/flexslider/jquery.flexslider.js"></script>

2. Replace image feed with flexslider markup inside of “side” div that is in “colio-content” wrap

<div class="flexslider">
    <ul class="slides">
    <li><img src="pictures/pic1.jpg" alt="Pic" /></li>
    <li><img src="pictures/pic2.jpg" alt="Pic" /></li>
    <li><img src="pictures/pic3.jpg" alt="Pic" /></li>
    </ul>
</div>

3. in Colio init code make sure you init flexslider like this

$('#my_portfolio > ul').colio({
    id: 'colio_1',
    onContent: function(content){
        $('.flexslider', content).flexslider();
    }
});

Hi,

I’m using your jQuery Portfolio Content Expander Plugin, the content disappears when scrolling on a mobile phone. Have you experienced this before? If so is there a fix?

No. I haven’t

I’ve tested it on my iPhone, the content opens fine, scroll down is ok, but begin to scroll up and it collapses. Can you help with this?

Ok. Please give me URL and I will try to help

Hi flGravity,

is it possible to set up your plugin like this: http://www.oriongunning.com/demo/gridder/basic.php

So your plugin is providing it almost BUT the last items of a list opens above instead beneath of it. Can i change it or do you have a solution for that?

Hello! unfortunately it’s not possible.

I am having trouble with the FancyBox callback. OnContent just isn’t doing the trick. Could you take a look? Thank you for all your help, I know I ask a lot of questions and appreciate the quick responses you give! http://francescabailey.com/ska/about-us/history/

The issue is as soon as I sort the photos fancybox stops working. Would you be able to help me add a callback to the quicksand script?

I actually didn’t need the callback. Removing “retainExisting: false, ” from the quicksand options did the trick. Hope this helps anyone who had a similar issue. Cheers.

Great plugin, thanks much.

I have one issue – I can’t set a custom web font. I follow exactly the same steps I have on any other of my sites. Do you have any idea what might be going on, and how to fix?

nevermind, i figured it out…

Ok. Great!

Hi there, I just bought colio, and I want to integrate it with an existing single page website… but the code seems to be conflicting and colio looses its functionality What can I do to solve the issue? Any suggestions Thanks

Hi! The first thing what I would do is to look in Console in your browser to see if there is any JS errors.

Hi

I dont suppose their is a Wordpress version of this? I need the ability for the client to update the content and images, does your script use “data-title” etc

Many Thanks

Hi,

thank you very much for making this great plugin! I have some problems implementing it in a site with the CMS Perch. But I think it´s an easy problem for you to solve. Could you maybe take a quick look? If it´s not covered by regular support, I´m happy to buy some extra help, if you have the time?

Hi! I’m busy right now and have no time for something serious. But I can take a look. Please drop me email with an URL and I will check

Ok, great! Here is a simple sample page: http://xpandedreality.com/products.php

The listing code looks like this: <perch:before>
    </perch:before>
  • ” colio-content=”#<perch:content id=”slug” />”> <perch:content id=”image” type=”image” width=”100” height=”100” crop=”true” output=”tag” /> <perch:content id=”title” type=”text” />
  • <perch:after>
</perch:after>

Thank you!

I don’t understand what it means.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey