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/#tabsHi! If your tabs require some JS code to work, then you should add it to the onContent callback of my Colio pliugin.
If you need any further help please let me know!
Hi thank you.
i had tried many time with different way. please have a look http://demos.webicode.com/html/iod-html/. when you click the services section it will open and you can see tabs section. please send me code which i can out on it.
Best Regards
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!!
You will need to add some sorting menu and then link every item in that menu with the call to isotope. Here is info how isotope sorting works – http://isotope.metafizzy.co/sorting.html
Also here is example how it’s implemented by Isotope – http://codepen.io/desandro/pen/nFrte
thanks for the answer, i tried that first but de isotope-docs.min.js file on isotope.metafizzy.co seems different to the jquery.isotope.js of colio plugin and i can not make it work. Finally a use this js code to activate sort:
<script> $(function() { </script>
var $container = $('#container');
$container.isotope({
itemSelector: '.element',
getSortData: {
name: function($elem) {
return $elem.find('.name').text();
}
}
});
var $optionSets = $('#options .option-set'),
$optionLinks = $optionSets.find('a');
$optionLinks.click(function() {
var $this = $(this);
// don't proceed if already selected
if ($this.hasClass('selected')) {
return false;
}
var $optionSet = $this.parents('.option-set');
$optionSet.find('.selected').removeClass('selected');
$this.addClass('selected');
});
// make option object dynamically, i.e. { filter: '.my-filter-class' }
var options = {},
key = $optionSet.attr('data-option-key'),
value = $this.attr('data-option-value');
// parse 'false' as false boolean
value = value === 'false' ? false : value;
options[key] = value;
if (key === 'layoutMode' && typeof changeLayoutMode === 'function') {
// changes in layout modes need extra logic
changeLayoutMode($this, options)
} else {
// otherwise, apply new options
$container.isotope(options);
}
return false;
});
The sort and the filter parts works fine. But de expanded functionality keep de position of the original sort and the content blocks appears away from the source. Can you help me to correct this issue? thanks in advance.
The code that you have provided seems is correct except that I don’y see changeLayoutMode function and the way how you pass sortBy to isotope.
Regarding your question. Seems I don’t understand what you mean..
> But de expanded functionality keep de position of the original sort and the content blocks appears away from the source
could you give me a link to check this myself?
Thanks for the answer… the link http://adversa.cl/plazamaule/tiendas . After apply sort, expander collapses
Have you seen this? How can i add changeLayoutMode function and pass sortBy to isotope? really appreciate your help, thanks!
> How can i add changeLayoutMode function and pass sortBy to isotope?
Sorry, I have no idea what changeLayoutMode should do.
How to use sortBy option please check Isotope documentation here
http://isotope.metafizzy.co/sorting.html#sortbyThen to make isotope perform sorting you should call it like so
$('#my_portfolio').isotope({sortBy: name});
where “name” is name defined by getSortDate ( see your code above)
Hello, please view this link to see the issue http://adversa.cl/plazamaule/tiendas, i added isotope sort function but colio expander functionality collapses after apply ‘sortby’ this is the code used to add sorting:
// "isotope" sort plugin
var $container = $('#container');
$container.isotope({
itemSelector: '.element',
getSortData: {
name: function($elem) {
return $elem.find('.name').text();
}
}
});
var $optionSets = $('#options .option-set'),
$optionLinks = $optionSets.find('a');
$optionLinks.click(function() {
var $this = $(this);
// don't proceed if already selected
if ($this.hasClass('selected')) {
return false;
}
var $optionSet = $this.parents('.option-set');
$optionSet.find('.selected').removeClass('selected');
$this.addClass('selected');
});
// make option object dynamically, i.e. { filter: '.my-filter-class' }
var options = {},
key = $optionSet.attr('data-option-key'),
value = $this.attr('data-option-value');
// parse 'false' as false boolean
value = value === 'false' ? false : value;
options[key] = value;
if (key === 'layoutMode' && typeof changeLayoutMode === 'function') {
// changes in layout modes need extra logic
changeLayoutMode($this, options)
} else {
// otherwise, apply new options
$container.isotope(options);
}
return false;
Sorry, your URL does not open up. I get timeout in my browser.
Its because there a ”,” this is the url http://adversa.cl/plazamaule/tiendas thanks
I noticed it, but it still does not work.
Here is an alternate link: http://plazamaule.cl/sitio2015/tiendas thanks in advance
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!
Hello! Let me check if I get your question right. You want that when site is being opened on mobile device (with single column), viewport appears before all items? And this happens when placement is “inside”?
I need the expander div to appear inside, but always under the current row. Similar to this site: http://www.nurun.com/en/people/
There is an option in called “beforeLastRow” which controls where viewport will appear in inside placement. Set it to “false”, to make expander div appear under every row, including the last one.
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! This seems to be related to CSS3 transforms as when I set -webkit-transform for UL list, filtering works differently. But I still don’t understand why it happens. I will check this a bit later and update you.
Oh! I just saw your reply here. Thanks. I waiting for your reply. thanks
I fixed everything by changing the white setting with the black. I just need to now where to add the code below to open and close the items. Thanks
$(’#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; });
Great that you’ve fixed it.
Regarding the code. What you should do is
1. replace class “colio-link” with “colio-link-custom”
2. then add the code after a line where you init Colio plugin itself.
i’m sorry but i can’t get it work. Here’s the code:
$(document).ready(function(){
// "colio" plugin
$('.portfolio .list').colio({
id: 'demo_1',
theme: 'white',
placement: 'before',
hiddenItems: '.isotope-hidden',
onContent: function(content){
// init "fancybox" plugin
$('.flexslider', content).flexslider({slideshow: false, animationSpeed: 300});
}
});
// "isotope" plugin
var filter = '', isotope_run = function(f) {
var list = $('.portfolio .list').isotope({layoutMode : 'fitRows', filter: f});
window.setTimeout(function(){
list.trigger('colio','excludeHidden');
}, 25);
};
$('.portfolio .filters a').click(function(){
$(this).addClass('filter-active').siblings().removeClass('filter-active');
var href = $(this).attr('href').substr(1);
filter = href ? '.' + href : '';
isotope_run(filter);
return false;
});
isotope_run(filter);
});
Plus: I added #my_portfolio in the html like so:
is that correct?
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?
I just read the documentation about the onContent inti. Here is my problem, I have no idea how to write the initial code to active custom scrollbar jquery.
in your doc:
<script type="text/javascript">
$(document).ready(function(){
$('#my_portfolio').colio({
id: 'colio_1',
onContent: function(content) {
$(content).find('.fancybox').fancybox()
}
});
});
</script>
This is the initial source code for custom scrollbar: <script> (function($){ $(window).load(function(){
$("#content-3-1,#content-3-2, #content-3-3, #content-3-4, #content-3-5").mCustomScrollbar({
scrollButtons:{enable:true},
theme:"dark",
scrollbarPosition:"outside"
});
</script>
});
})(jQuery);
How to put 2 of them together??
..
Hi!
It should be like so (just put JS code inside of onContent callback and use content argument as context for search.
<script type="text/javascript">
$(document).ready(function(){
$('#my_portfolio').colio({
id: 'colio_1',
onContent: function(content) {
// init code here
$(content).find("#content-3-1,#content-3-2, #content-3-3, #content-3-4, #content-3-5").mCustomScrollbar({
scrollButtons:{enable:true},
theme:"dark",
scrollbarPosition:"outside"
});
}
});
});
</script>
nope. the malihu scrollbar not working, I tested the plugin outside colio, the plugin worked just fine. If I initial it inside colio, it will not work. Please help me out.
Hi! Could you give me a link to your website to check 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!
I can provide you with a code to make it add #project-short-name to the end of URL. Basically I made this for WP version already and can just copy code from there. Please drop me email and I will do this as soon as possible.
Yes, you can buy Extended License and use my plugin in one commercial project.
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?
Hi! Does it happen when placement us set to “inside” ?
Yes placement is set to inside
Well, inside placement is sensitive to “resize” events. Every resize either when you do this manually or programmatically will make viewport collapse.
Have you noticed the same behavior on your own demo?
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/
Hi! The reason is that you don’t use Colio viewport, so there is no need in onContent callback. You just have to init fancybox in main document.
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?
Sure, check here – http://razorjack.net/quicksand/docs-and-demos.html
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!
Here is WP version of this plugin – http://codecanyon.net/item/colio-responsive-portfolio-wordpress-plugin/7687452
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>
Thank you!
I don’t understand what it means.