Web Analytics Made Easy -
StatCounter onclick, text shown in table? - CodingForum

Announcement

Collapse
No announcement yet.

onclick, text shown in table?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • onclick, text shown in table?

    hi !

    for design of a local web-newspaper i need script. It should work as below :

    Lets say, the first lines of news is linked with main-artikel. (full news). I want that main-artikel is to be displayed in a TABLE when the line is clicked. i guess the code should look like the following:


    <table border="1">
    <tr>
    <td><a href="#null" onclick="mypic.src='pic1.jpg'">pic 1</a></td>
    <td rowspan="4"><img name="mypic" src="pic1.jpg"></td>
    </tr>
    <tr><td><a href="#null" onclick="mypic.src='pic2.jpg'">pic 2</a></td></tr>
    <tr><td><a href="#null" onclick="mypic.src='pic3.jpg'">pic 3</a></td></tr>

    <tr><td><a href="#null" onclick="mypic.src='artikel.doc'">artikel_1</a></td></tr>
    </table>


    1) What to be changed or to be added etc. that the above code for text works ?
    2) Can i then depot my artikels as doc-(word) files to be shown in table? If not, then what kind of file needed?

    thanks all of you for help...
Working...
X