Matt4ll1ca Posted January 22, 2013 Share Posted January 22, 2013 Hi, I need to draw arrows to make links between elements of a table to make a kind of "route".I used canvas to do this and the result is exactly what I want graphically. However, I need to do actions on the table (like editing a cell by doubleclicking on it) but the canvas has got a z-index higher than my table to be visible so I can't access my table cells. Anyone has got an idea ? Thanks in advance. Matthieu. Link to comment Share on other sites More sharing options...
davej Posted January 23, 2013 Share Posted January 23, 2013 And you can't just change it? http://www.w3schools.com/cssref/pr_pos_z-index.asp Link to comment Share on other sites More sharing options...
Matt4ll1ca Posted January 23, 2013 Author Share Posted January 23, 2013 The fact is if I put a z-index for the canvas lower than the one for the table, the canvas will not be visible. Link to comment Share on other sites More sharing options...
ShadowMage Posted January 23, 2013 Share Posted January 23, 2013 You can set the background color of the table (and it's cells if need be) to be transparent. That way the canvas will show through. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now