mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Images from OpenIconLibrary: http://openiconlibrary.sourceforge.net/gallery2/?./Icons/actions
21 lines
422 B
JavaScript
21 lines
422 B
JavaScript
//Apply to all items of class header
|
|
$(document).ready(function(){
|
|
$("#headerexpandimage").click(headertogglemanual);
|
|
|
|
});
|
|
|
|
function headertogglemanual()
|
|
{
|
|
if ($("#headerexpandimage").attr('src') == './images/arrow-up-2.png')
|
|
{
|
|
$("#headerexpandimage").attr('src',"./images/arrow-down-2.png");
|
|
headercontract();
|
|
}
|
|
else
|
|
{
|
|
$("#headerexpandimage").attr('src',"./images/arrow-up-2.png");
|
|
headerexpand();
|
|
}
|
|
|
|
}
|