Mercurial > my-ubiquity-commands
annotate 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 |
rev | line source |
---|---|
27
305345a0e472
Modifications to work w/ latest jetpack.
Atul Varma <varmaa@toolness.com>
parents:
26
diff
changeset
|
1 jetpack.statusBar.append({ |
23 | 2 html: "<p>kill flash</p>", |
27
305345a0e472
Modifications to work w/ latest jetpack.
Atul Varma <varmaa@toolness.com>
parents:
26
diff
changeset
|
3 onReady: function(panel) { |
24
f7c3f977da53
Update to latest version of jetpack
Atul Varma <varmaa@toolness.com>
parents:
23
diff
changeset
|
4 var button = $(panel).find("p"); |
23 | 5 button.css({cursor: "pointer", fontFamily: "sans-serif"}); |
6 button.click(function() { | |
27
305345a0e472
Modifications to work w/ latest jetpack.
Atul Varma <varmaa@toolness.com>
parents:
26
diff
changeset
|
7 var doc = $(jetpack.tabs.focused.contentDocument); |
25 | 8 doc.find("embed[type=application\\/x-shockwave-flash]").slideUp(); |
23 | 9 }); |
10 }}); |