show/hide any division

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • richard

    #1

    show/hide any division

    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.

  • Erwin Moller

    #2
    Re: show/hide any division

    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(new text){
    document.getEle mentById("colum n2").innerHTM L = newtext;
    }
    </script>
    >
    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

    Comment

    • David Mark

      #3
      Re: show/hide any division

      On Oct 26, 1:24 am, richard <mem...@newsguy .comwrote:
      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.

      Comment

      Working...