for only mobile width, If not want width ,means remove width function
var windowWidth = $(window).width();
if(windowWidth < 760){
jQuery('.pane-bundle-tabbed-content li').each(function(){
//jQuery(this).click(function(){
var connection = jQuery(this).attr('aria-labelledby');
var test = jQuery(this).append(jQuery(".pane-bundle-tabbed-content .ui-widget-content[aria-labelledby~="+connection+"]"));
//jQuery(".pane-bundle-tabbed-content .ui-widget-content[aria-labelledby~="+connection+"]").hide();
//});
});
}
var windowWidth = $(window).width();
if(windowWidth < 760){
jQuery('.pane-bundle-tabbed-content li').each(function(){
//jQuery(this).click(function(){
var connection = jQuery(this).attr('aria-labelledby');
var test = jQuery(this).append(jQuery(".pane-bundle-tabbed-content .ui-widget-content[aria-labelledby~="+connection+"]"));
//jQuery(".pane-bundle-tabbed-content .ui-widget-content[aria-labelledby~="+connection+"]").hide();
//});
});
}
No comments:
Post a Comment