show/hide any division

R

richard

I'm working on a menu system where I have a 3 column table affair.
On start, you see a menu list in column 1.
Column2 will have some general information.
Column3 is an iframe for final data input.

About every damn thing I've seen on how to do this is the pure bare
bones basics. That is, click button 1 to hide, click button 2 to show.
Not what I want.
Or, they simply toggle a division below the "switch".

What I want to do is, when a user clicks on the main menu list, what
ever item is in column2 is replaced by that choice. Then when an item
is chosen in column 2, the iframe shows the results.

Anyone got a site where this might be happening at?
It's a royal PITA searching through google.
 
E

Erwin Moller

richard schreef:
I'm working on a menu system where I have a 3 column table affair.
On start, you see a menu list in column 1.
Column2 will have some general information.
Column3 is an iframe for final data input.

About every damn thing I've seen on how to do this is the pure bare
bones basics. That is, click button 1 to hide, click button 2 to show.
Not what I want.
Or, they simply toggle a division below the "switch".

What I want to do is, when a user clicks on the main menu list, what
ever item is in column2 is replaced by that choice. Then when an item
is chosen in column 2, the iframe shows the results.

Hi Richard,

What you ask is really vague. I am sure we can help you, but make sure
you write a coherent question.
For example, what do you mean by this:
"when a user clicks on the main menu list, whatever item is in column2
is replaced by that choice."
DO you want your column2 to hold to value (text?) of something?

If so:
<div id="column2"></div>

then replace like this:
<script type="text/javascript">
function replaceCol2(newtext){
document.getElementById("column2").innerHTML = newtext;
}
Anyone got a site where this might be happening at?
It's a royal PITA searching through google

You won't learn JavaScript well from googling around.
I advise you to buy a good book, eg JavaScript, the Definitive Guide.

Regards,
Erwin Moller


--
"There are two ways of constructing a software design: One way is to
make it so simple that there are obviously no deficiencies, and the
other way is to make it so complicated that there are no obvious
deficiencies. The first method is far more difficult."
-- C.A.R. Hoare
 
D

David Mark

I'm working on a menu system where I have a 3 column table affair.
On start, you see a menu list in column 1.

A list of what?
Column2 will have some general information.

About what?
Column3 is an iframe for final data input.

This is the first I have heard of data input in this "menu system."
You are going to have to explain this design a little better or post
an example page.
About every damn thing I've seen on how to do this is the pure bare
bones basics. That is, click button 1 to hide, click button 2 to show.

How to do what?
Not what I want.

That doesn't really help.
Or, they simply toggle a division below the "switch"

You are fading.

..
What I want to do is, when a user clicks on the main menu list, what

Column 1?
ever item is in column2 is replaced by that choice. Then when an item

Not getting anything at this point.
is chosen in column 2, the iframe shows the results.

Which are?
Anyone got a site where this might be happening at?

I don't know what happening you are looking for.
It's a royal PITA searching through google.

Sometimes.
 

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
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top