Skip navigation.

Ramblings

a test …

Drag images and pages around with your mouse

,

It seems I never posted this userjs publicly before. After using it for a while I can't live without it. It's excellent for dragging around big images without having to reach for the scrollbars, and also for pages.

To drag images around simply click, hold and drag. To drag around pages, either get hold of an image and drag that or use shift+click, hold and drag somewhere in the page that is not normally clickable.

I guess for you people surfing with the Wii, this behaviour is familiar.

Download it here: http://people.opera.com/nicolasm/userjs/dragscroll.js

A video of the userjs in use can be seen here: <video src="http://people.opera.com/nicolasm/userjs/dragscroll.ogg">http://people.opera.com/nicolasm/userjs/dragscroll.ogg</video>

Note: the video is a bit sketchy as the movement and click events didn't work 100% when capturing the desktop.

Vi/Vim tutorialUse webfonts in your blog, NOW!

Comments

Arve Bersvendsen 18. April 2008, 11:49

When holding down Ctrl-Alt in 9.5, click becomes "Click and drag" (a.k.a. "Pan")

Nicolas Mendoza 18. April 2008, 12:05

Ah, I didn't know. Cool! Specially since my middle button is used to paste naturally ;-)

Dan Alexandru 18. April 2008, 12:47

It seems I never posted this userjs publicly before

Are you sure you didn't link it in the forums? I have a copy of dragscroll.js in my userjs9 folder since 24 May 2007 :wink:

naturally

:smile:

Tamil 25. April 2008, 08:50

Anonymous 30. May 2008, 01:30

Jürgen writes:

Could this possibly be modified to work without a modifier key? If text selection is disabled this should work really smooth!

Dan Alexandru 14. June 2008, 19:06

Of alt+ctrl+drag in 9.5 ?

Anonymous 15. October 2008, 19:24

Anonymous writes:

lol...paste key? you dont have 2 hands, or cant type CTRL+V? how do you copy, double-click? LOL

Nicolas Mendoza 16. October 2008, 09:48

Ctrl+v requires you to press Ctrl+c to copy text, I just select text and press middle-button. It's a X11-ism, but very convenient.

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies

Download Opera, the fastest and most secure browser
December 2009
M T W T F S S
November 2009January 2010
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31