rockinaway Posted September 15, 2011 Share Posted September 15, 2011 I was wondering how to resize DIVs based upon their usage. I have some vague ideas of how to do it, but not sure. Basically, the more a user clicks a DIV, the large it becomes relative to all other DIVs (no DIVs ever disappear!) Any ideas? Link to comment https://forums.phpfreaks.com/topic/247191-resize-divs-based-on-usage-phpjavascript/ Share on other sites More sharing options...
Adam Posted September 15, 2011 Share Posted September 15, 2011 You really need to get the theory right in your head before you try to code it. You need to know what impact a single click will have, and how many it will take to visibly change the size. Also consider the math behind it, because sizes are going to be relative to the absolute total number of clicks. Link to comment https://forums.phpfreaks.com/topic/247191-resize-divs-based-on-usage-phpjavascript/#findComment-1269559 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.