« mini music browser inside a page | Main | Magnatune street billboards »

May 27, 2006

Comments

Topher

That's really slick. I'd like to use it as a Bookmarklet, but I can't find your JS. That link above simply opens a new browser window which then opens the small player. Can we do it without first opening a blank window?

John Buckman

You can either just point your web browser to http://magnatune.com/minibrowse/ or try your copy this javascript if you want a popup window:

<a target="mini" href="javascript:void(win=window.open('http://magnatune.com/minibrowse/',%20'Magnatune Mini Browser',%20'width=400,height=300,resizable=yes,scrollbars=yes,menubar=no,status=no'))">
http://magnatune.com/minibrowse/
</a>

Scott Matthews

fwiw, you might prefer to do something like this:

<a href="http://magnatune.com/minibrowse/" onClick="window.open('http://magnatune.com/minibrowse/','mini','width=400,height=300,resizable=yes,scrollbars=yes,menubar=no,status=no');return false;">
http://magnatune.com/minibrowse/
</a>

(I'm not sure that the code you posted will work in IE, and it may open an extra window -- this modified code should work with IE & FF, should only open the mini window, and should still work if you right-click the link)

-Scott

The comments to this entry are closed.