From d480919c79ace08bb6303646aa814ff814966274 Mon Sep 17 00:00:00 2001 From: Cahit Date: Fri, 12 Dec 2014 11:33:39 +0100 Subject: [PATCH] design table update --- designfiles.htm | 112 -------------------------------------------- icon-close-open.png | Bin 1259 -> 0 bytes styleold.css | 70 --------------------------- 3 files changed, 182 deletions(-) delete mode 100644 icon-close-open.png diff --git a/designfiles.htm b/designfiles.htm index e075087..c8acb66 100644 --- a/designfiles.htm +++ b/designfiles.htm @@ -393,42 +393,6 @@ href="http://jspc29.x-matter.uni-frankfurt.de/bitfiles/">jspc29.x-matter.uni-fra - -
-
-
-

Content heading 1

-
-
-

Panel HTML...

-
-
- -
-
-

Content heading 2

-
-
-

Panel HTML...

- -
-
- -
-
-

Content heading 3

-
-
-

Panel HTML...

-
-
- -
- - - - -

DreamPlug Designs

- - -(function($) { - $(document).ready(function () { - /*-------------------- EXPANDABLE PANELS ----------------------*/ - var panelspeed = 500; //panel animate speed in milliseconds - var totalpanels = 3; //total number of collapsible panels - var defaultopenpanel = 0; //leave 0 for no panel open - var accordian = false; //set panels to behave like an accordian, with one panel only ever open at once - - var panelheight = new Array(); - var currentpanel = defaultopenpanel; - var iconheight = parseInt($('.icon-close-open').css('height')); - var highlightopen = true; - - //Initialise collapsible panels - function panelinit() { - for (var i=1; i<=totalpanels; i++) { - panelheight[i] = parseInt($('#cp-'+i).find('.expandable-panel-content').css('height')); - $('#cp-'+i).find('.expandable-panel-content').css('margin-top', -panelheight[i]); - if (defaultopenpanel == i) { - $('#cp-'+i).find('.icon-close-open').css('background-position', '0px -'+iconheight+'px'); - $('#cp-'+i).find('.expandable-panel-content').css('margin-top', 0); - } - } - } - - $('.expandable-panel-heading').click(function() { - var obj = $(this).next(); - var objid = parseInt($(this).parent().attr('ID').substr(3,2)); - currentpanel = objid; - if (accordian == true) { - resetpanels(); - } - - if (parseInt(obj.css('margin-top')) <= (panelheight[objid]*-1)) { - obj.clearQueue(); - obj.stop(); - obj.prev().find('.icon-close-open').css('background-position', '0px -'+iconheight+'px'); - obj.animate({'margin-top':0}, panelspeed); - if (highlightopen == true) { - $('#cp-'+currentpanel + ' .expandable-panel-heading').addClass('header-active'); - } - } else { - obj.clearQueue(); - obj.stop(); - obj.prev().find('.icon-close-open').css('background-position', '0px 0px'); - obj.animate({'margin-top':(panelheight[objid]*-1)}, panelspeed); - if (highlightopen == true) { - $('#cp-'+currentpanel + ' .expandable-panel-heading').removeClass('header-active'); - } - } - }); - - function resetpanels() { - for (var i=1; i<=totalpanels; i++) { - if (currentpanel != i) { - $('#cp-'+i).find('.icon-close-open').css('background-position', '0px 0px'); - $('#cp-'+i).find('.expandable-panel-content').animate({'margin-top':-panelheight[i]}, panelspeed); - if (highlightopen == true) { - $('#cp-'+i + ' .expandable-panel-heading').removeClass('header-active'); - } - } - } - } - - //Uncomment these lines if the expandable panels are not a fixed width and need to resize - /* $( window ).resize(function() { - panelinit(); - });*/ - - $(window).load(function() { - panelinit(); - }); //END LOAD - }); //END READY -})(jQuery); diff --git a/icon-close-open.png b/icon-close-open.png deleted file mode 100644 index 68110836ceec589d1a0ce7bf470547be819cd7a2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1259 zcmeAS@N?(olHy`uVBq!ia0vp^B0#Lc!3HG%8Q!`Lq$EpRBT9nv(@M${i&7aJQ}UBi z6+Ckj(^G>|6H_V+Po~;1Ffc1+hD4M^`1)8S=jZArg4F0$^BXQ!4Z zB&DWj=GiK}-@RW+Av48RDcsc8z_-9TH6zobswg$M$}c3jDm&RSMakYy!KT6rXh3di zNuokUZcbjYRfVk**jy_h8zii+qySb@l5ML5aa4qFfP!;=QL2Keo`G(%ftjI#nTejE ziGihwrH+D;fuVuEp^?6Uxvrssm8rRvfuRBvC;@FNN=dT{a&d#&1?1T(Wt5Z@Sn2DR zmzV368|&p4rRy77T3YHG80i}s=>k>g7FXt#Bv$C=6)VF`a7isrF3Kz@$;{7F0GXJW zlwVq6s|0i@#0$9vaAWg|p}_G8yuzFu#E6=>*lEl2^R8JRMC7=m(LT&-jW|!2W%(B!Jx1#)91+bT`GI6`b z1gCjWy(zfeVv19*KF~4xpom3^XqXT%^?;c0WDDfL6MkwQFtrx}leOp4xoQjyjPaf> zjv*Dd-b}OCVF?syf6rGK&M`Mk`R1!Hi$q05+mF0-abFxdY0j%f;R_sBxF{}iT6@=} zKWNdUj_0#eRAx`F-F^O6&V<^N({H|+AOGy^pR%&m$7XoVTOD??vXYa{u|V(7Js$6a zNvx{_lYd7Yj!TsA6Q7(oY2#a;Q+odu55}#Yee}k%oKy9ie2>`a9`Zc3c`;9Sd&un< zDV43ZJIXo_iq#xYI;2*1y5pbqWQ zQ(gi`$^yN^3U{KDWZy5_5cfb}-omBP^Fs|+W}C0hUH2fcUs`In{l|wKJug2_c00La zo@;>A24>r+&EB^5{KEH*%6!bNZ!NK#(I_g>#=W*YscqBQw=?oiHM@te)pMI9mtCz6vH0G9 cWjO;g!*$Wz34gxo90V0Vp00i_>zopr0Fc