window.onload = function () {
var spread = document.getElementById("FpSpread1");
spread.addEventListener("TouchStripOpening", function (e) {
var touchStrip = new FarPoint.Web.Spread.TouchStrip();
touchStrip.Items.push(new FarPoint.Web.Spread.TouchStripItem("Test"));
touchStrip.Show(e.X, e.Y, e.Spread, e.Area);
e.Handled = true;
touchStrip.AddEventListener("Clicked", function (e) { // グローバルなタッチツールバーイベント
alert("Clicked");
});
touchStrip.Items[0].AddEventListener("Clicked", function (e) { // タッチツールバー項目のイベント
alert("menu item");
});
});
}