By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,636 Members | 1,189 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,636 IT Pros & Developers. It's quick & easy.

Re: I've got lost somerwhere

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.