forked from ZwiiCMS-Team/ZwiiCMS
25 lines
729 B
PHP
25 lines
729 B
PHP
/**
|
|
* This file is part of Zwii.
|
|
*
|
|
* For full copyright and license information, please see the LICENSE
|
|
* file that was distributed with this source code.
|
|
*
|
|
* @author Rémi Jean <remi.jean@outlook.com>
|
|
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
|
* @authorFrédéric Tempez <frederic.tempez@outlook.com>
|
|
* @copyright Copyright (C) 2018-2020, Frédéric Tempez
|
|
* @license GNU General Public License, version 3
|
|
* @link http://zwiicms.com/
|
|
*/
|
|
|
|
$( document ).ready(function() {
|
|
/*
|
|
asc=false;
|
|
var sorted=$('.pictureBox').sort(function(a,b){
|
|
return (asc ==
|
|
($(a).data('sort') < $(b).data('sort'))) ? 1 : -1;
|
|
});
|
|
asc = asc ? false : true;
|
|
$('body').html(sorted);
|
|
*/
|
|
}); |