Lala MiniMode

By nanovivid Last update Nov 28, 2008 — Installed 99 times. Daily Installs: 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 2, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 3, 0, 0
Script Summary:
For Fluid: A mini mode for Lala
Version: 1.1

Script homepage

This script has no discussions.

start the discussion

This script has no reviews.

Note: This script requires jQuery, so it's highly recommended that you get the download package, which includes it.

I rarely use the iTunes mini mode (where you click the Zoom button (the +) in the title bar) since I use Growl notifications and have hotkeys for previous, next, play/pause and show playing track. However, while using Lala, I found myself wanting to be able to put the browser in a minified state that showed only the player.

This script adds a icon to the top right of the page, allowing you to toggle between large and mini mode.

Mini mode

It’s not 100% true to the iTunes behavior due to some limitations:

  • Fluid seems to impose a minimum window height that is taller than the mini player, so unless the address bar and/or tabs are showing, the window won’t shrink quite as small as it really should.
  • For a while I was playing around with remembering the window positions of the large and small windows, but I couldn’t get it to restore them properly. I would tell the window to move to a certain position and it would end up a random number of pixels off. Plus, JavaScript is really horrible about multiple monitors. So the upper left corner of the window will stay in the same place for both modes.
History
1.1: Properly handles resizing the player when shrinking from a very wide window.