Results 1 to 5 of 5

Thread: "interactive table" help!!!

  1. #1
    Join Date
    Jul 2005
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation "interactive table" help!!!

    hi! there are a few things I just cannot figure out. This is one of those sad cases [ like the hundreds of others ] so .. here is da question ...

    I have a table with two columns. One column has links [ "Newspapers", "Cool Sites" etc .. ] and the other column is empty.

    So, when I click on "Cool sites" on the first column on this table, how can I get stuff to appear on the second column? Like when I click "newspapers" for example, I want stuff like "Boston Globe" or "New York Times" to come on the second column and when I click "Cool sites" I want stuff like "Kirupa.com" and "{ hiroik design }" to come on the second column ...

    also >> IF doing something like this is not really possible, how else can i get around something like this? any suggestions?

    all help = very appreciatable! [ in the form of links to learn or code ]
    thankx
    Last edited by lakp; 08-25-2005 at 05:24 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The easiest way is perhaps to put an iframe in the second column and have your links in the first target it with external pages which contain the desired markup:
    HTML Code:
    <table>
    <tr>
        <td><a href="news.htm" target="extLinks">News Sites</a><br>
            <a href="cool.htm" target="extLinks">Cool Sites</a>
        </td>
        <td><iframe name="extLinks" src="" width="250" height="350" scrolling="no" frameborder="0"></iframe></td>
    </tr>
    </table>
    Then on news.htm and cool.htm put the links that you want.

    You can also use javascript (in numerous ways) to get an effect like this without using an iframe but, that requires the user to have javascript enabled.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2005
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    cool, cool, I got this working......
    please tell me more about javascript .... I would really like to play around with that too

    thanx for the help, i really appreciate it!!!!

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Well, that could require a lot of explaining. To get a good start at javascript, check out the W3schools' Javascript Division
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Jul 2005
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    k cool .... ill have a good look at that ....

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •