Bookmark

By zhe Last update Jun 6, 2007 — Installed 120 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 2 posts, 2 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
blueiris Scriptwright

Hi
I make a little chage to your this script to avoid the dithering.

adjustX=0;
adjustY=0;
lenta.addEventListener("click",function(e){
	move=move?0:1;
	adjustX=e.pageX-parseInt(lenta.style.left);
	adjustY=e.pageY-parseInt(lenta.style.top);
},true);
lenta.addEventListener("dblclick",function(e){
	removebookmark()
},true);
document.body.addEventListener("mousemove",function(e){
	if(move){
		lenta.style.top=e.pageY - adjustY;
		lenta.style.left=e.pageX - adjustX;
	}
},true);

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel