--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ginebra/chrome/demochrome/snippets/BottomSnippet.html Tue May 04 12:39:35 2010 +0300
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+
+ <head>
+ <link rel="stylesheet" id = "CSSLink" type="text/css" href="../css/chromeStyleBlack.css" />
+ </head>
+ <script type="text/javascript">
+
+ var pageInfoShowing = false;
+
+ function showPageInfo() {
+ if(!pageInfoShowing){
+ window.parent.document.getElementById("pageInfo_UrlId").value = window.parent.pageController.currentDocUrl;
+ window.parent.document.getElementById("pageInfo_TitleId").value = window.parent.pageController.currentDocTitle;
+ window.parent.chrome.showPageInfo();
+ pageInfoShowing = true;
+ }
+ else {
+ window.parent.chrome.hidePageInfo();
+ pageInfoShowing = false;
+ }
+ }
+
+ function showHistory() {
+ window.parent.viewManager.showContent("historyView");
+ window.parent.viewManager.historyView.setPosition(40, 40);
+ window.parent.viewManager.historyView.done.connect(
+ function() {
+ window.parent.viewManager.showContent("webView");
+ }
+ );
+ }
+ </script>
+
+ <body>
+ <span class="ButtonRow">
+ <img src="../images/backArrow.png" align="center" style="width: 18px" class="ButtonImage" onclick="window.parent.pageController.currentBack()"/>
+ <img src="../images/forwardArrow.png" align="center" style="width: 18px" class="ButtonImage" onclick="window.parent.pageController.currentForward()"/>
+ <img src="../images/history.png" align="center" class="ButtonImage" onclick="showHistory()"/>
+ <img src="../images/stop.png" align="center" style="width: 18px" class="ButtonImage" onclick="window.parent.pageController.currentStop()"/>
+ <img src="../images/reload.png" align="center" style="width: 20px" class="ButtonImage" onclick="window.parent.pageController.currentReload()"/>
+ <img src="../images/zoomIn.png" align="center" style="width: 20px" class="ButtonImage" onclick="window.parent.webView.zoomIn()"/>
+ <img src="../images/zoomOut.png" align="center" style="width: 20px" class="ButtonImage" onclick="window.parent.webView.zoomOut()"/>
+ <img src="../images/info.png" align="center" style="width: 20px" class="ButtonImage" onclick="showPageInfo()"/>
+ <img src="../images/wrench_icon.jpg" align="center" class="ButtonImage" onclick="window.parent.chrome.popToggle('PopChromeId')"/>
+ <img src="../images/red_sox_logo.gif" align="center" class="ButtonImage" onclick="window.parent.chrome.loadChrome('chrome/boston-chrome.html');"/>
+ <img src="../images/star.png" id="StarButtonId" align="center" class="ButtonImage" style="display: none;"/>
+ </span>
+ </body>
+</html>