view sample-jetpack-feed/sample-jetpack-feed.js @ 27:305345a0e472 default tip

Modifications to work w/ latest jetpack.
author Atul Varma <varmaa@toolness.com>
date Mon, 18 May 2009 22:51:37 -0700
parents f3cd3dc2f451
children
line wrap: on
line source

jetpack.statusBar.append({
  html: "<p>kill flash</p>",
  onReady: function(panel) {
    var button = $(panel).find("p");
    button.css({cursor: "pointer", fontFamily: "sans-serif"});
    button.click(function() {
      var doc = $(jetpack.tabs.focused.contentDocument);
      doc.find("embed[type=application\\/x-shockwave-flash]").slideUp();
    });
  }});