Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
DHTML text database - getting values
Old 08-10-2004, 03:30 PM DHTML text database - getting values
Junior Talker

Posts: 3
Trades: 0
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>
jfeld is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-10-2004, 03:39 PM
Junior Talker

Posts: 3
Trades: 0
o ya guys to view the actual page and see what i am trying to do, go 2:

http://www.ynaclub.org/articles/article.php

thanx
jay
jfeld is offline
Reply With Quote
View Public Profile
 
Old 08-10-2004, 03:43 PM
webwoRRks's Avatar
Ultra Talker

Posts: 426
Location: I hope so
Trades: 0
umm... just make the title a link, set the href=articles.php?id=(number).... can you use HTML code in the article_head.txt file?
__________________
Theres 10 types of people; those who understand binary, and those who don't.
webmaster and webdeveloper resources,
Please login or register to view this content. Registration is FREE
webwoRRks is offline
Reply With Quote
View Public Profile Visit webwoRRks's homepage!
 
Old 08-10-2004, 03:49 PM
Junior Talker

Posts: 3
Trades: 0
no - html doesn't seem to work
j
jfeld is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to DHTML text database - getting values
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.40769 seconds with 12 queries