Ben Ward

Word style "Split Window" function in Firefox

.

One of my most desired features in Firefox is to have a “Split Window” view, like you can have in Microsoft Word (and probably others too). It displays the same document in two panes, one above the other and lets you scroll to a different position in each each. Immensely useful if you’re trying to keep track of a previous part of a document while reading further on.

The application in web pages is arguably better still as you are able to scroll to the “Reply” box on a web forum, while scrolling up to some post you want to quote without losing your place.

While there’s no extension to do this, you can use a Bookmarklet (a piece of JavaScript, saved as a Bookmark) to apply the change.

split document — bookmark or click on this link

You can click on the above link to see a demonstration, or bookmark it to make it accessible from your Bookmarks menu on all/any page.

It works very well, though as a word of warning I’d advise against using this after you’ve started writing in a form on a website as it will reload the page, losing anything you’ve written. It’s a drawback that maybe a proper Firefox extension could evade.

Update:

After a little testing, this particular bookmarklet doesn’t work in IE or Opera so it’s probably Firefox users only (we have no testing Mac at work right now). There’s no reason why such a thing couldn’t be better coded to work on multiple browsers though, or at least there shouldn’t be.

Comments

Previously, I hosted responses and commentary from readers directly on this site, but have decided not to any more. All previous comments and pingbacks are included here, but to post further responses, please refer me to a post on your own blog or other network. See instructions and recommendations of ways to do this.

  1. I did a better version which worked on IE and Safari in addition to Firefox:
    http://www.jmesnil.net/weblog/2004/07/updated-split-bookmarklets-works-on.html

  2. Jon

    So I’m tempted to try this out; however, I don’t get a right-click link to save/add to my bookmarks in FF 1.0 (SuSE), and also can’t figure out how to un-split the page after splitting it…
    Would be great if this could be modded to work in OpenOffice, since they lack that feature.

  3. Ben

    Well, I’m not sure about the right click problems in SuSE, I’m afraid. Undoing the split is as simple as reloading the page – either by clicking in the address bar and hitting [enter] or pressing [Refresh] should do the trick.

    Oh and Jeff, thanks for the comment. The new version is outstandingly good.

You can file issues or provide corrections: View Source on Github. Contributor credits.