|
hey
I am creating a site with a sortable table created from a DHTML text database.
This allows me to sort the articles stored in the database by name, author, and date posted.
However, when a user clicks on one field (Title) I want a window to pop up the corresponding article number. How do I get the article number that is on the same row as the clicked title? Is this possible with HTML or should I try a server side language?
Please look at the code below.
Thanks a lot,
Jay
code:
<head>
...
<object id = "Articles"
classid = "CLSID:333C7BC4-460F-11D0-BC04-0080C7055A83">
<param name = "DataURL" value =
"article_head.txt" />
<param name = "UseHeader" value = "TRUE" />
<param name = "TextQualifier" value = "@" />
<param name = "FieldDelim" value = "|" />
<param name = "Sort" value = "Title" />
</object>
</head>
<!-- When the user clicks on a cell in the Title column, I want a window to pop up to articles.php?ID=(article number) -->
<td><span class="tabledata" datafld = "Title"></span></td>
<td><span class="tabledata" datafld = "Author"></span></td>
<td><span datafld = "DatePosted" class="tabledata"></span></td>
<td><span datafld = "Number" class="tabledata"></span></td>
|