Re: [css-d] disappearing picture

2007-08-27 Thread E Michael Brandt
what you mean when you say that the javascript is hiding divs based on the order on which they are found in the divs array. Your code: divs=document.getElementsByTagName(div) for (i=5;i15;i++){ divs[i].style.display=none; } is grabbing every div on the page, and then setting

[css-d] disappearing picture

2007-08-16 Thread Raumin \Ray\ Dehghan
Colleagues, I am in the process of experimenting with a possible redesign to our website and have some issues. For this email, I will just mention one issue first, although my problems may be related. One issue I'm having is that the photo and any associated material (can be found within a

Re: [css-d] disappearing picture

2007-08-16 Thread E Michael Brandt
Yep it is indeed your javascript. function collapse() { divs=document.getElementsByTagName(div) for (i=5;i15;i++) { divs[i].style.display=none; } } That is one strange piece of code. It is hiding divs based not on a safe way of identifying them, but by the order in