Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 29th, 2004, 01:24 PM
Registered User
 
Join Date: Nov 2004
Location: Woodland Hills, CA, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Table Links

I am working with tables consisting of 40 to 60 fields and in some cases 100-300 records. Because of the large number of columns I have to abbreviate the column headings. Therefore, I need a way to call up a more detailed description of the column headings. I can't find a simple way to to click on a column heading and then display a detailed description of that heading. That is, I need a relatively simple way to link to a rectangular-shaped box at the top of the database table that describes the particular column in detail.

In addition, I need to link to "PDF" files for each of the records in the database. How can I do that?

I have the WROX "HTML 4.01 Programmer's Reference," but I can't seem to "connect the dots" for the required information.

Any suggestions would be greatly appreciated.
Reply With Quote
  #2 (permalink)  
Old November 29th, 2004, 01:37 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

Maybe you can use a tooltip (on Windows and other OSes, that's a yellow square box that appears when you hold your mouse over a specific element)?

In HTML, most (all??) elements have a title attribute that you can use:

<td title="This is a long description">Short Desc.</td>

Linking to a PDF is exactly the same as linking to other content:

<a href="YourFile.pdf">Download</a>

If you want to open the pdf in a new window, add a target="_blank" attribute:

<a href="YourFile.pdf" target="_blank">Download</a>


HtH,

Imar
Reply With Quote
  #3 (permalink)  
Old November 30th, 2004, 06:38 AM
Friend of Wrox
 
Join Date: Mar 2004
Location: Bhopal, MP, India.
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul
Default

if u've no problem fancy-ing with javascript, visit:
http://dynamicdrive.com/dynamicindex5/dhtmltooltip.htm
http://dynamicdrive.com/dynamicindex5/dhtmltooltip2.htm

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Table cells as links gjeardle HTML Code Clinic 16 January 24th, 2007 12:08 PM
Only some images must have links brettdalldorf ASP.NET 1.0 and 1.1 Basics 0 August 7th, 2005 08:49 AM
links in table fields (td) amc Dreamweaver (all versions) 0 August 30th, 2004 09:20 PM
Addling table links from VB MoyesBlue Crystal Reports 0 May 20th, 2004 04:36 AM
Broken Links kilika Forum and Wrox.com Feedback 1 September 15th, 2003 10:01 AM



All times are GMT -4. The time now is 12:59 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.