facetofcathy: four equal blocks of purple and orange shades with a rusty orange block centred on top (Default)
[personal profile] facetofcathy posting in [community profile] pinboard
• If you follow [twitter.com profile] pinboard, you likely know that the behaviour of the tag autocomplete has been changed.

I got a crash course last night tagging for the White Collar newsletter. You now use Tab not Enter to accept the active autocomplete suggestion. The thing that makes this hard to retrain your brain is that Enter does work if the active autocomplete suggestion is below the top one. What makes training your brain crucial is that, at any other time, enter submits the bookmark and you have to open the form again to edit the tags. Ask me how many times I had to do this tagging about a dozen things last night?

• I normally use the full page bookmarking form, but for tagging for the newsletter, I needed the popup. It's default is too small for the size of the notes field at my font size and it pops up at the left edge of the screen, or right over top of any fic header I need to read to select tags.

I changed the code to this:



I changed the width from the original 700 to 800, and I added the left=800 description (near the very end of the code). If you want to customize yours, the width and height are pixels and you should be able to decide what you want there. To move it to the far right of the screen, as I did you want to know the total width of your screen resolution and subtract from that the width of the popup you've set. Mine is 1600-800=800. You can edit my code right here in this entry and then copy it into a bookmarklet or edit your existing bookmarklet, whatever works for you!

Date: 2011-11-18 06:05 pm (UTC)
turlough: The Girl & Party Poison (Grace Jeanette & Gerard Way) high-fiveing, on the set of Na Na Na, Sept 2011 ((mcr) yeah!)
From: [personal profile] turlough
Thank you so much for the code! I've been frustrated by the popup window's behaviour myself but I've never done anything with javascript so I didn't even think of fiddling with it.

Date: 2011-11-18 11:14 pm (UTC)
turlough: Gerard Way, Spin photoshoot, 1 October 2010 ((mcr) my eyes are shining bright)
From: [personal profile] turlough
Javascript has always seemed like an impenetrable mystery to me. It's quite a revelation that I can actually understand some of it enough to change it. I even managed to make the popup window move downwards a bit :-)

Date: 2011-11-19 05:43 pm (UTC)
turlough: Reepicheep on Aslan's Table proposing a toast, art by Pauline Baynes from 'Voyage of the Dawn Treader' ((narnia) raise your glass high)
From: [personal profile] turlough
I didn't look it up or anything, but I thought "top" ought to work. And it did in my Firefox.

Date: 2012-12-05 09:57 am (UTC)
moonie: (Default)
From: [personal profile] moonie
That moment when you realize the pop-up is supposed to actually pop up. The bookmarklet has always opened full-sized in a tab for me. /o\ As soon as I figure out why I'll be sure to try out your code. :)

Profile

pinboard: A white silhouette of a pushpin against a shiny blue background (Default)
Pinboard Users on Dreamwidth

December 2018

S M T W T F S
      1
2345678
9 101112131415
16171819202122
23242526272829
3031     

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 10th, 2025 02:14 am
Powered by Dreamwidth Studios