Web Analytics Made Easy -
StatCounter Frames and Tables (specific cells) - CodingForum


No announcement yet.

Frames and Tables (specific cells)

  • Filter
  • Time
  • Show
Clear All
new posts

  • Frames and Tables (specific cells)

    Hi all.

    If I set up a table with two colums, where there are say 10 rows associated with the first column, and the second column spans all of the 10 rows of the first column, is it possible to use the 10 cells on the left as hrefs and then write data to the big cell on the right? Or should I use frames instead?

    Secondly, is it possible with JavaScript to place something into a specific cell of a table based on some event? For example, how would I write script to produce a "Put my name in Cell B2" button, which when clicked would put "Russell" into a given cell of a table?



  • #2
    You lost me on the first question, but the second one you can do this with the td or tr element, whichever one opens the cell you are in:
    <td name="whatever">
    Then in Javascript:
    I think.
    And I know this thread is two and a half years old, but I was looking through the back of this forum (some 650 pages) and decided to answer. You know how it is.
    Last edited by AlterEgo; Jan 12, 2005, 02:10 PM. Reason: Correcting my answer
    Congratulations on discovering the hidden sig! Click here to claim your prize!