[jQuery] Need to insert an element in DIV at position X Y

2009-03-05 Thread choesang
Hi! I am trying to create a webpage where users can insert a pin (div) in between the text using context menu. My problem is that i do not know how to insert at the exact position. Using Dom's I can arrive only to the nearest DIV but a DIV contains a lot of text and the PIN has to be position clo

[jQuery] Need to insert an element in DIV at position X Y

2009-03-05 Thread choesang
Hi! I am trying to create a webpage where users can insert a pin (div) in between the text using context menu. My problem is that i do not know how to insert at the exact position. Using Dom's I can arrive only to the nearest DIV but a DIV contains a lot of text and the PIN has to be position clo