Plugin: WriteScroll

A couple of weeks ago, Les Orchard tweeted a complaint about the WordPress editor:

wordpress annoyance: textarea for editing a blog post doesn’t start until more than 1/2 way down my screen. Too much nav; always scrolling.

I figured that was a problem easily solved, so while I was eating my lunch that day, I whipped up a mini-plugin to help out. The WriteScroll plugin checks to see if you are on one of the main editing pages, and if so, it injects a bit of javascript into the page which automatically scrolls the browser down so that the editor’s container is at the top of the browser window. It uses the jQuery library, which is already included with WordPress, so no additional libraries need to be loaded.

In WriteScroll 1.0, there are no options to set. Just activate the plugin, and when you visit the Write Post or Write Page screens, your browser should automatically scroll down so that the editor fills the browser area better.

Visit the WriteScroll Plugin page for downloading.

Other Posts of Interest

11 Comments

  1. Jason
    Posted 6/3/2008 at 11:51 am | Permalink

    Great stuff! This is something that should be base WP functionality. Scrolling to center the write page has been annoying and this little bit of code has a huge impact for me!

    Great job and thanks for solving an annoying little nuance.

  2. Posted 6/3/2008 at 12:38 pm | Permalink

    Very smooth. +1 to adding it to the core.

  3. Posted 6/3/2008 at 2:51 pm | Permalink

    Very cool. Thanks!

  4. Posted 6/3/2008 at 4:05 pm | Permalink

    Yummy code. Thanks for the desert (the main entry being WordPress, of course). :D

  5. jG
    Posted 6/3/2008 at 7:35 pm | Permalink

    congratulations … great idea and perfect plugin !

  6. Posted 6/4/2008 at 1:39 pm | Permalink

    How useful!

    One question: does the plugin scroll to the top of the post-edit TEXTAREA, or to the top of the QuickTags? I use the QuickTags frequently (for inserting links, etc.) - as, I would assume, many do; so setting the page scroll to the top of the QuickTags would be awesome.

  7. Posted 6/4/2008 at 1:52 pm | Permalink

    (Plugin now installed and active)

    Oooh, I see - the page scrolls to the “Write Post” text. Nifty.

    Though, I would still recommend scrolling either to the top of QuickTags, or perhaps to the top of the Post Title TEXTAREA. (Though, the Post Title is entered once, and then the field isn’t used again during editing of the post - so I think QuickTags is still the best scroll point for maximum scrolling efficiency.)

    In any case, nice plugin! It will certainly be useful.

  8. Posted 6/4/2008 at 5:10 pm | Permalink

    Hmmmm …. does not seem to be working for me. I deactivated the Lightview Plus plugin thinking there might be some sort of conflict there but it did not seem to work.

    I have started a thread on Wordpress.org:
    http://wordpress.org/support/topic/180583

  9. James
    Posted 6/5/2008 at 3:51 am | Permalink

    Thanks!

  10. Posted 6/5/2008 at 12:49 pm | Permalink

    Chip: perhaps a future version will provide options to select what point to scroll to.

    Another “feature” I’ve thought about adding is selectable scroll speed, and animation types. For example, on my personal blog, I’ve modified it so that there’s a sort of springy “bounce” effect when it scrolls down.

  11. Posted 8/4/2008 at 12:06 pm | Permalink

    That´s really great. Thanks for sharing the link and informing us about this useful add-on.

2 Trackbacks

  1. [...] Wordpress Plugins, Geek Ramblings Etiquetas: Blogs, Plugin, Wordpress Compártelo [...]

  2. By Genius: WriteScroll :: WPLover on 6/3/2008 at 9:05 pm

    [...] will need to scroll down before arriving at the textare where you do all the writing. No more! With Dougal Campbell’s WriteScroll plugin, whenever you open such pages, the plugin will auto-scroll the page for you so that the posting [...]

Post a Comment

Your email is never published nor shared. Comments or website URLs deemed to be off-topic or inappropriate may be deleted at the site owner's discretion.