mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Alternate interface appears for non VoIP users when ALTERNATE_INTERFACE set to true This interface is a bit faster to operate (less popup windows) and makes more sense when not using the system to auto-dial Sponsored by Zimi
27 lines
543 B
JavaScript
27 lines
543 B
JavaScript
//Apply to all items of class header
|
|
$(document).ready(function(){
|
|
$("#headerexpandimage").click(headertogglemanual);
|
|
|
|
});
|
|
|
|
function headerforcecontract()
|
|
{
|
|
$("#headerexpandimage").attr('src',"./images/arrow-down-2.png");
|
|
headercontract();
|
|
}
|
|
|
|
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();
|
|
}
|
|
|
|
}
|