diff --git a/slider/xuislider-0.1.js b/slider/xuislider-0.1.js new file mode 100644 index 0000000..f1d2723 --- /dev/null +++ b/slider/xuislider-0.1.js @@ -0,0 +1,66 @@ +/********************************************************************** + * XUI Slider v0.1 - A XUI plugin to slide divs up and down + * Copyright (C) 2011 Mohammed El-Hakim - mohammed.elhakim@gmail.com + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * Usage: x$('div').slideUp(); + * x$('div').slideDown(); + * + ***********************************************************************/ + + + slider = { + slideUp: function(){ + for(i=0; i