wejsv2old-plugin-cdp-profile
Version:
We.js plugin wejsv2old-plugin-cdp-profile
27 lines (26 loc) • 968 B
JavaScript
App.UserIndexView = Ember.View.extend({
templateName: 'user/index',
didInsertElement: function() {
jQuery('#we-iframe-activities').iFrameResize();
jQuery(document).ready(function($) {
$('.timeline-collapse').find('h3.title').click(function() {
//Expand or collapse this panel
$(this).next().slideToggle('fast');
var icon = $(this).find('.IR');
if (icon.hasClass('sprt-chevron-up')) {
icon.removeClass('sprt-chevron-up').addClass('sprt-chevron-down');
} else {
icon.removeClass('sprt-chevron-down').addClass('sprt-chevron-up');
}
});
});
jQuery('#carousel-cursos').flexisel({
visibleItems: 3,
clone: false
});
jQuery('#carousel-comunidades').flexisel({
visibleItems: 3,
clone: false
});
}
});