.pin{
background:url('pin_org.png') no-repeat; height:24px; width:
24px;position:absolute;
}
.pin{
background:url('pin_org.png') no-repeat; height:24px; width:
24px;position:absolute;
}
Thanks alot it works!
$("#Content").rightClick( function(e) {
var x = e.pageX;
var y = e.pageY;
$("").insertAfter(this);
});
Thanks alot it works!
$("#Content").rightClick( function(e) {
var x = e.pageX;
var y = e.pageY;
$("").insertAfter(this);
});
On Thu, Mar 5, 2009 at 11:01 AM, ricardobeat wrote:
>
> Insert anywhere and use position:absolute.
Would the text re-flow around the div, though? I'd imagine it wouldn't.
If not, I suppose you could get the insertion point within the div's
text, using textrange, then replace it with a copy that
Insert anywhere and use position:absolute.
On Mar 5, 8:03 am, choesang wrote:
> 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
6 matches
Mail list logo