divs hide-show form elements showing thru..

F

Frances

I'm doing a page w/lots of divs that I set to visibile or hidden
dynamically using getElementById.. the divs are all forms... sometimes
elements in a hidden form show thru on a visible form.. how can I fix
this.. thank you..

Frances
 
A

ASM

Frances said:
I'm doing a page w/lots of divs that I set to visibile or hidden
dynamically using getElementById.. the divs are all forms... sometimes
elements in a hidden form show thru on a visible form.. how can I fix
this.. thank you..

Frances

that would only append with IE ...
find an other browser.

try display: none / block
insteed of visibility: hidden / visible
 
J

Jambalaya

You could always move the div off the canvas. How about this?
document.getElementById("div_i_want_to_hide").style.left = "-2000px";
 
R

Randy Webb

Zoe Brown said the following on 9/9/2005 3:04 PM:
sure, good thinking but you never know how big these monitors are nowadays
;)

Doesn't matter how big it is, nor the resolution , of the monitor. The
only time the div would be visible is if:

a) The div is more than 2000px wide.
b) The user, seeing the scrollbar at the bottom of the browser, scrolled
to the left to get to it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top