supanoob Posted November 26, 2009 Share Posted November 26, 2009 so basically im wanting a system that allows me to highlight a certain radius from the whatever square i am currently on in a table so for example 1,1- 1,2- 1,3- 1,4- 1,5 2,1- 2,2- 2,3- 2,4- 2,5 3,1- 3,2- 3,3- 3,4- 3,5 4,1- 4,2- 4,3- 4,4- 4,5 5,1- 5,2- 5,3- 5,4- 5,5 dont know how to add borders to the table, but anyway, say i was they were all links, and i clicked 4,3 what i want to do is then make the borders of 3,3 - 3,4 - 4,4 - 5,4 - 5,3 - 5,2 - 4,2 and 3,2 highlight. The table would be made up of images, so what i want to know is would it be better to highlight the border of the images, or the table cells. Which ever option is best how would i go about doing it? I want them to change after a click a link/button. Quote Link to comment https://forums.phpfreaks.com/topic/183049-something-majorly-simplepossibly/ Share on other sites More sharing options...
mikesta707 Posted November 26, 2009 Share Posted November 26, 2009 If you want them to change on the fly (IE without a page reload) you will have to use Javascript. However, a little more information would be nice. How exactly do you build you tables? are they hardcoded in? or are they dynamically generated. Will the tables always look like they will in your example (IE 5 rows 5 columns) or might they be different? Quote Link to comment https://forums.phpfreaks.com/topic/183049-something-majorly-simplepossibly/#findComment-966129 Share on other sites More sharing options...
supanoob Posted November 26, 2009 Author Share Posted November 26, 2009 If you want them to change on the fly (IE without a page reload) you will have to use Javascript. However, a little more information would be nice. How exactly do you build you tables? are they hardcoded in? or are they dynamically generated. Will the tables always look like they will in your example (IE 5 rows 5 columns) or might they be different? I want them to load on page load AFTER they clicked the link and no the table will most likely be 10x10 but the "co-ords" will go up to about 50x50. Anymore information needed let me know Quote Link to comment https://forums.phpfreaks.com/topic/183049-something-majorly-simplepossibly/#findComment-966165 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.