# HG changeset patch # User Atul Varma # Date 1241993409 25200 # Node ID f90dcea4d6b861e410065abd544bbda0b56ef98a # Parent ecd868a3224709c454450f5bb9c034f6c81f046b Added sample jetpack feed. diff -r ecd868a32247 -r f90dcea4d6b8 sample-jetpack-feed/index.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sample-jetpack-feed/index.html Sun May 10 15:10:09 2009 -0700 @@ -0,0 +1,10 @@ + + + + Sample Jetpack Feed + + +This is a sample Jetpack feed. View its +source here. + + diff -r ecd868a32247 -r f90dcea4d6b8 sample-jetpack-feed/sample-jetpack-feed.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sample-jetpack-feed/sample-jetpack-feed.js Sun May 10 15:10:09 2009 -0700 @@ -0,0 +1,10 @@ +addStatusBarPanel({ + html: "

kill flash

", + onLoad: function(panel) { + var button = $(panel.document).find("p"); + button.css({cursor: "pointer", fontFamily: "sans-serif"}); + button.click(function() { + var doc = $(Application.activeWindow.activeTab.document); + doc.find("embed[type=application/x-shockwave-flash]").slideUp(); + }); + }});