B
BGT
Hi
I have some layers, at the same position.
I want to show one of them according to the system language,
and I have made this so far:
function showit() {
if (lang == "da") document.da.visibility="show"
if (lang == "de") document.de.visibility="show"
if (lang == "it") document.it.visibility="show"
if (lang == "fr") document.fr.visibility="show"
.................
<div class="box" id="da" style="visibility: hidden; position:
absolute; top: 1500px; align: center;">
<div class="box" id="de" style="visibility: hidden; position:
absolute; top: 1500px; align: center;">
..... and so on .......
body onload showit()
But it get: 'document.da' is null or not an object
What do I do wrong ?
I have some layers, at the same position.
I want to show one of them according to the system language,
and I have made this so far:
function showit() {
if (lang == "da") document.da.visibility="show"
if (lang == "de") document.de.visibility="show"
if (lang == "it") document.it.visibility="show"
if (lang == "fr") document.fr.visibility="show"
.................
<div class="box" id="da" style="visibility: hidden; position:
absolute; top: 1500px; align: center;">
<div class="box" id="de" style="visibility: hidden; position:
absolute; top: 1500px; align: center;">
..... and so on .......
body onload showit()
But it get: 'document.da' is null or not an object
What do I do wrong ?