Posts Tagged “jquery”

  • Web Excursions for May 05, 2014
  • TL;DR, a jQuery plugin for bloggers

    I made a jQuery plugin called "TL DR" live on GitHub last night. It's designed for bloggers who write long posts: it adds a block with summaries and skip links automatically. It was inspired in part by QuikScan, which was pointed out to me by Christopher Allen.…

  • GrabLinks: One more time, with feeling

    I updated the GrabLinks bookmarklet one more time tonight, and anyone with it currently installed should start seeing the changes immediately. If you still need it, drag the link below to your toolbar.…

  • Saving batches of links from web pages

    I shared this bookmarklet on Twitter a while ago, but it's been so handy lately that I thought it was silly not to post it on the blog. It lets you hover over any section of a web page and grab all of the links contained in that portion of the page, handing them back to you as a nicely-formatted Markdown list. It's a great way to get bunches of links into nvALT or any plain text situation.…

  • An easy visual alert for your staging site

    I've had a lot of fun with Jekyll lately. There are little things popping up on this blog that seem insignificant but took way too much time. I'm not sorry, I had fun doing it. I intend to blog a bit more about my Jekyll hacks, but I threw this one on today and it's simple enough to write about in under five minutes.…

  • Word repetition checking with JavaScript

    Ok, I made something interesting (to me) last night. It's probably not worth taking the time to write up, but someday someone might find it and think it useful. I apologize for the messiness of the code, if I take this further and clean it up, I'll update this post.…

  • Catching Markdown mistakes

    I had an interesting idea this morning. At least I* find it interesting, but I haven't slept much lately. Either way, here it is: in Markdown, if you misname a reference link, forget to fill one in or have a malformed URL, your broken Markdown shows up in your output. Wouldn't it be nice if your preview highlighted those for you *before you went to publish?…

  • Pully: jQuery plugin for automatic pull quotes

    Another quick experiment. Honestly, I don't use pluggable functions in jQuery nearly as much as I should, so this is really just a brain exercise to get myself used to it. This one, called Pully, lets you specify a selector to have its contents cloned and inserted as a pull quote in your text.…

  • PromptDown for iOS: Mobile Markdown Teleprompter

    I recently wrote a tiny web app called PromptDown to let me drop in some Markdown (or plain text) and use it as a teleprompter for screencast voiceovers. I wasn't going to put any more time into it, as it did what I needed. Then it started to bug me that it didn't work on my iPad, which could actually be really handy. So my lunch break fine, and an extra half an hour went to making it work a little more smoothly as an iPhone/iPad app. It's also ready to install as a web app, so you can go full-…

  • Look, I made you a Markdown teleprompter

    Here's my stupid trick of the day: a Markdown teleprompter called PromptDown (I see what you did there...). The idea was to create a teleprompter for recording screencast voiceovers that was cheap, fast and worked on plain text. I wanted to provide a non-WYSIWYG form field for typing or pasting which still preserved paragraph breaks, so Markdown (via Showdown) was an ideal solution. I also included the jQuery "tabby" plugin so you could use tabs in the textarea without jumping out of it, which…

  • HomeControl: Local Mac control for iPhone

    I tried out a tip recently for controlling a Mac via Mobile Safari on your iPhone, and it got me thinking, which is often dangerous. I put together this little web app today as a proof of concept (that got a little out of hand). It basically provides a full interface for volume control, application starting and stopping and many iTunes functions, including volume and EQ. All features provide interface feedback and update you with current info from your Mac.…

  • Antique 1.6, final release

    For a quick "how-to" on using the Antique (or any) Safari Reader hack, see the related article in the HowTo section.…

  • Ampersands & Javascript

    While playing around with Antique, I decided I really wasn't in love with the ampersands that were included in any of the fonts I was working with. Normally, I'd just run everything through Typogrify and get some handy CSS classes to work with. Working in Safari's Reader, though, I only had access to Javascript (and jQuery, now).…

  • Antique 1.5 for Safari Reader

    * jQuery: added the jQuery library via Google's Ajax API to make some of the other additions much easier to implement. * Colorbox: links to images are automatically opened in a "lightbox" so you don't have to leave the page. Uses jQuery Colorbox and automatically applies the effect to links ending in '.jpg' or '.png'. * Widon't: headlines and paragraphs have a widon't function applied to them, preventing "widows" (short words alone on a line). This was mostly annoying me in the top-level…

  • Fun with MarsEdit, part I

    I'll be the first to admit that I get a little obsessed with projects that aren't really going to improve my life all that much. Those projects can be fun to blog about, though, so I present you my brief obsession for this Sunday afternoon.…

  • Auto-lightboxing image links

    I ran into a problem recently. I wanted to have links to images be "lightboxed," but I also wanted to blog in Markdown and not have to write out link tags with "rel" attributes for every image link. There are several existing plugins for Wordpress that will do this automatically, but I've been sticking with the jQuery Lightbox plugin, which handles Wordpress galleries in this manner, but requires the "rel=lightbox" attribute to handle single image links.…