2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Added contactdetails tab (like respondent information) and CONTACT_DETAILS_TAB config directive to display it

Added ability to expand/contract the header when not in use with HEADER_EXPANDER config directive and jQuery javascript code
This commit is contained in:
azammitdcarf
2011-01-27 01:28:02 +00:00
parent f2e9f1c8d4
commit 2f78104de5
4 changed files with 212 additions and 6 deletions

21
js/headerexpand.js Normal file
View File

@@ -0,0 +1,21 @@
//Apply to all items of class header
$(document).ready(function(){
$(".header").hover(
//function on mouse over
function(){
$(".header").css("height","30%");
$(".content").css("height","70%");
$(".content").css("top","30%");
$(".box:not(.important)").css("display","inline");
},
//function on mouse out
function(){
$(".header").css("height","5%");
$(".content").css("height","95%");
$(".content").css("top","5%");
$(".box:not(.important)").css("display","none");
}
);
});