Hi
I changed the input type from “checkbox” to “text” and it solved two problems and created another.
One that solved was that the “0.00” in the widget boxes disappeared; but the ability of the triangle to point either up or down according to the direction of the exchage rate stopped working.
I would like it to work while keeping the “0.00” from appearing, and want the changes I made to the problem page
Problem in http://pintotours.net/Europe/Spain/Denis.html
No problem in http://pintotours.net/Europe/Spain/Barcelona.html
There is code in the script which I believe is connected to this, but cannot understand why a change of input type can render the triangle inoperative.
swop.onclick=function() {
if(this.checked==true) {
amount1.value=amount0.value;
amount0.value=(rates[cur0.value]*amount1.value/rates[cur1.value]).toFixed(2);
document.getElementById('lab').innerHTML='▲';
}
else {
amount0.value=amount1.value;
amount1.value=(rates[cur1.value]*amount0.value/rates[cur0.value]).toFixed(2);
document.getElementById('lab').innerHTML='▼';
test=true;
}
}