471,886 Members | 1,161 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,886 software developers and data experts.

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?
if(objName == objId[i])
obj.style.display = "block";}

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

Each time you click, you set all but one of the images to
"display:none". Isn't that clear?
Aug 5 '08 #1
1 959


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


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 zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.