469,356 Members | 2,646 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,356 developers. It's quick & easy.

Re: I've got lost somerwhere

On Aug 5, 9:52*am, Traveller© <r...@planet.nlwrote:
(sorry. *this got x-posted)

My intention was to have a map as background and on mouseclick (or whatever)
displaying 1 of the trips we've made with the posibility to display 2 or more
trips on the same background. *The images (img1, img2 etc) *were madewith a
transparent *background, but for some reason the images are not superimposed but
replace each other. What did I miss?
[deleted]
for(i=0;i<objId.length;i++)
{
if(objName == objId[i])
{
obj.style.display = "block";}

else
{
tempObj = document.getElementById(objId[i]);
tempObj.style.display = "none";}
}
return;
}

</script>
[deleted]
Each time you click, you set all but one of the images to
"display:none". Isn't that clear?
Aug 5 '08 #1
1 931
snip...
>return;
}

</script>
[deleted]

Each time you click, you set all but one of the images to
"display:none". Isn't that clear?
Yes, you are right. I saw that later on the evening. I'm now trying to make a
toggle-function.

TX


Aug 6 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Neo Chou | last post: by
6 posts views Thread by Konstantin Andreev | last post: by
3 posts views Thread by AlonR | last post: by
2 posts views Thread by maxkumar | last post: by
45 posts views Thread by Master Programmer | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.