SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
-
Oct 1, 2009, 12:24 #1
- Join Date
- Sep 2009
- Posts
- 62
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
How to make columns clickable (HTML)?
I would like to construct a table which has a unique link for each column.
I am extremely new to HTML and other web technologies.
I have tried to figure out if I can use colgroup and onClick="window.open('http://yahoo.com',… but I honestly have no idea
what to do.
Suggestions? Please and Thank you very much.
-
Oct 1, 2009, 13:58 #2
- Join Date
- May 2006
- Location
- Aurora, Illinois
- Posts
- 15,476
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
What's the purpose of the table?
Save the Internet - Use Opera | May my mother rest in peace: 1943-2009
Dan Schulz - Design Team Advisor | Follow me on Twitter
SitePoint References: HTML CSS JavaScript | Become A Guru
WordPress SEO Checklist | What WordPress Plugins Do You Use?
Web Standards Curriculum | Image Free Equal Height Columns
-
Oct 10, 2009, 17:05 #3
- Join Date
- Oct 2009
- Posts
- 11
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
please give your sample code here
Last edited by Dan Schulz; Oct 10, 2009 at 22:37. Reason: removed fake signature
-
Oct 17, 2009, 18:18 #4
I don't know if you can use colgroup. It's a bit tricky to get this sort of thing (table cells & links) working right in all browsers, but a little experimentation should sort it out. I think you will probably have to add an <a href=""> to every table cell, and use css to stretch them to fill all of the cell.
-
Oct 19, 2009, 00:50 #5
- Join Date
- Feb 2009
- Posts
- 39
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Do you want to make whole column clickable or just the text inside the column?
-
Oct 20, 2009, 09:09 #6
- Join Date
- Feb 2009
- Location
- England, UK
- Posts
- 8,111
- Mentioned
- 0 Post(s)
- Tagged
- 1 Thread(s)
I am with Dan, we need to know what the purpose of the table is before we can advise you, I am worried it sounds like your trying to produce a link farm.
Bookmarks