mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Added ALTERNATE_INTERFACE config directive (defaults to false)
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
This commit is contained in:
@@ -4,6 +4,12 @@ $(document).ready(function(){
|
||||
|
||||
});
|
||||
|
||||
function headerforcecontract()
|
||||
{
|
||||
$("#headerexpandimage").attr('src',"./images/arrow-down-2.png");
|
||||
headercontract();
|
||||
}
|
||||
|
||||
function headertogglemanual()
|
||||
{
|
||||
if ($("#headerexpandimage").attr('src') == './images/arrow-up-2.png')
|
||||
|
||||
2
js/headerexpandquestionnaire.js
Normal file
2
js/headerexpandquestionnaire.js
Normal file
@@ -0,0 +1,2 @@
|
||||
//Contract on load
|
||||
$(document).ready(parent.headerforcecontract);
|
||||
4
js/popupcallonload.js
Normal file
4
js/popupcallonload.js
Normal file
@@ -0,0 +1,4 @@
|
||||
//Contract on load
|
||||
$(document).ready(function(){
|
||||
poptastic('call_interface2.php');
|
||||
});
|
||||
37
js/window_ie6_interface2.js
Normal file
37
js/window_ie6_interface2.js
Normal file
@@ -0,0 +1,37 @@
|
||||
function LinkUp(element)
|
||||
{
|
||||
var number = document.getElementById(element).selectedIndex;
|
||||
location.href = document.getElementById(element).options[number].value;
|
||||
}
|
||||
|
||||
function openParent(get)
|
||||
{
|
||||
parent.location.href = 'index_interface2.php?' + get;
|
||||
}
|
||||
|
||||
|
||||
function openParentNote(get)
|
||||
{
|
||||
parent.location.href = 'index_interface2.php?note=' + document.getElementById('note').value + '&' + get;
|
||||
}
|
||||
|
||||
function openParentObject(oid,get)
|
||||
{
|
||||
var a = parent.document.getElementById(oid);
|
||||
if (a)
|
||||
{
|
||||
a.src = get;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function toggleRec(text,link,classes)
|
||||
{
|
||||
var a = parent.document.getElementById('reclink');
|
||||
if (a)
|
||||
{
|
||||
a.innerHTML = text;
|
||||
a.href = "javascript:poptastic('" + link + "');";
|
||||
a.className = classes;
|
||||
}
|
||||
}
|
||||
41
js/window_interface2.js
Normal file
41
js/window_interface2.js
Normal file
@@ -0,0 +1,41 @@
|
||||
function LinkUp(element)
|
||||
{
|
||||
var number = document.getElementById(element).selectedIndex;
|
||||
location.href = document.getElementById(element).options[number].value;
|
||||
}
|
||||
|
||||
function openParent(get)
|
||||
{
|
||||
parent.location.href = 'index_interface2.php?' + get;
|
||||
}
|
||||
|
||||
|
||||
function openParentNote(get)
|
||||
{
|
||||
parent.location.href = 'index_interface2.php?note=' + document.getElementById('note').value + '&' + get;
|
||||
}
|
||||
|
||||
function openParentObject(oid,get)
|
||||
{
|
||||
var a = parent.document.getElementById(oid);
|
||||
if (a)
|
||||
{
|
||||
var clone = a.cloneNode(true);
|
||||
var pnode = a.parentNode;
|
||||
clone.data = get;
|
||||
pnode.removeChild(a);
|
||||
pnode.appendChild(clone);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function toggleRec(text,link,classes)
|
||||
{
|
||||
var a = parent.document.getElementById('reclink');
|
||||
if (a)
|
||||
{
|
||||
a.innerHTML = text;
|
||||
a.href = "javascript:poptastic('" + link + "');";
|
||||
a.className = classes;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user