Linking between tables using an anchor
-
Hello,
I’m struggling with anchors in TablePress and hope you can help me.
I have 2 tables added to one page. I would like to place a link in on of the cells in the upper table (table 1) that links to a certain row in the lower table (table 2). In other words: If someone clicks on on the picture I placed in cell A1 of table 1 he should be re-directed to row 1 in table 2 (or cell A1 in table 2 respectively)
I tried using the following:
Cell A1 in table 1:
<a href="#ABC"><img src="https://www.test.com/img/ABC.gif" width="114" height="114" /></a>
Cell A1 in table 2:
<a name="ABC"></a>ABC
Unfortunately the above didn’t work. I suppose I need to add the fact that the anchor point is in a different table (2, not 1) to the code in A1 of table 1. However, I don’t know how.
If anybody could help me out here, that would be great.
If further information is needed, please just let me know.Thanks a lot already!
- The topic ‘Linking between tables using an anchor’ is closed to new replies.