Okay.
I basicly want an event like
onElementClose
Basicly will trigger a function when another div/block/element comes within a certain area around it (say 5px for eg).
I am sure custom events are possible, I have seen strange examples around.
So unless you are 100% certain this is impossible, please dont say its impossible.
a setInterval that checks if there is an element around it every so long is not acceptable. as there will be hundreds of elements using this event.
If i havent explained this clearly enough please ask
Thanks, Josh.
I basicly want an event like
onElementClose
Basicly will trigger a function when another div/block/element comes within a certain area around it (say 5px for eg).
I am sure custom events are possible, I have seen strange examples around.
So unless you are 100% certain this is impossible, please dont say its impossible.
a setInterval that checks if there is an element around it every so long is not acceptable. as there will be hundreds of elements using this event.
If i havent explained this clearly enough please ask
Thanks, Josh.
Comment