Sha256: 431bfaa3f709e885bdde87bade5d57c593773cfca1c71d41478d390535659999

Contents?: true

Size: 292 Bytes

Versions: 41

Compression:

Stored size: 292 Bytes

Contents

/*
 * hide_sidebar_smartphone.js
 *
 * Copyright (C) 2011 by TADA Tadashi <t@tdtds.jp>
 * You can distribute it under GPL2 or any later version.
 */

$(function(){
	if($(window).width() <= 360) {
		$('div.sidebar').hide();
		$('div.main').attr('width', '100%').attr('float', 'none');
	}
});

Version data entries

41 entries across 35 versions & 2 rubygems

Version Path
tdiary-contrib-5.3.0 js/hide_sidebar_smartphone.js
tdiary-contrib-5.2.4 js/hide_sidebar_smartphone.js
tdiary-contrib-5.2.3 js/hide_sidebar_smartphone.js
tdiary-contrib-5.2.2 js/hide_sidebar_smartphone.js
tdiary-contrib-5.2.1 js/hide_sidebar_smartphone.js
tdiary-contrib-5.2.0 js/hide_sidebar_smartphone.js
tdiary-contrib-5.1.7 js/hide_sidebar_smartphone.js
tdiary-contrib-5.1.6 js/hide_sidebar_smartphone.js
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-contrib-5.1.4/js/hide_sidebar_smartphone.js
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/bundler/gems/tdiary-contrib-d1e41204db13/js/hide_sidebar_smartphone.js
tdiary-contrib-5.1.5 js/hide_sidebar_smartphone.js
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-contrib-5.1.4/js/hide_sidebar_smartphone.js
tdiary-contrib-5.1.4 js/hide_sidebar_smartphone.js
tdiary-contrib-5.1.3 js/hide_sidebar_smartphone.js
tdiary-contrib-5.1.2 js/hide_sidebar_smartphone.js
tdiary-contrib-5.1.1 js/hide_sidebar_smartphone.js
tdiary-contrib-5.1.0 js/hide_sidebar_smartphone.js
tdiary-contrib-5.0.13 js/hide_sidebar_smartphone.js
tdiary-contrib-5.0.12 js/hide_sidebar_smartphone.js
tdiary-contrib-5.0.11 js/hide_sidebar_smartphone.js