Forums Register Login

dividing page into block

+Pie Number of slices to send: Send
Hi,

I have a page�.. I have divided that page into 48 block.. by drawing vertical and horizontal lines � that is blocks are not independent component � my requirement is that when I click on the block � that block should get highlighted or change its color � or darken its border � how to achieve this functionality �

Regards
Vaibhav Gupta
+Pie Number of slices to send: Send
the way you've written it you'll have to use the mouse event's getX() and getY() methods, then a formula dividing up the height, width to see which block contains the click co-ords.

Seems like a lot of work, might be easier with something like this


[code deleted - question posted elsewhere]
[ July 18, 2005: Message edited by: Michael Dunn ]
+Pie Number of slices to send: Send
Hi,

yes whats d way... i could not get exectly what u r saying .......
I like tacos! And this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 601 times.
Similar Threads
synchronized
Page getting resized
<jsp:useBean>inside the scripting block
confusion with finally
Need help on relation
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 05:36:00.