Dotclear

source: plugins/aboutConfig/js/index.js @ 4007:d08f9c5e38db

Revision 4007:d08f9c5e38db, 460 bytes checked in by franck <carnet.franck.paul@…>, 6 years ago (diff)

Responsive tables (not yet applied for plugins), thanks Adrian Roselli for code (js/css)  http://adrianroselli.com/2018/02/tables-css-display-properties-and-aria.html

Line 
1/*global $, dotclear */
2'use strict';
3
4$(function() {
5  $('#gs_submit').hide();
6  $('#ls_submit').hide();
7  $('#gs_nav').change(function() {
8    window.location = $('#gs_nav option:selected').val();
9  });
10  $('#ls_nav').change(function() {
11    window.location = $('#ls_nav option:selected').val();
12  });
13  dotclear.responsiveCellHeaders(document.querySelector('table.settings'), 'table.settings', 0, true);
14  $('table.settings').addClass('rch rch-thead');
15});
Note: See TracBrowser for help on using the repository browser.

Sites map