diff --git a/chrome/chromeFiles/content/scholar/metadataPane.js b/chrome/chromeFiles/content/scholar/metadataPane.js
index 8492609980..3bba5afd39 100644
--- a/chrome/chromeFiles/content/scholar/metadataPane.js
+++ b/chrome/chromeFiles/content/scholar/metadataPane.js
@@ -194,4 +194,4 @@ MetadataPane = new function()
}
}
-window.addEventListener("load", function(e) { MetadataPane.init(e); }, false);
+document.addEventListener("load", function(e) { MetadataPane.init(e); }, false);
diff --git a/chrome/chromeFiles/content/scholar/metadataPane.xul b/chrome/chromeFiles/content/scholar/metadataPane.xul
index d1f72634f9..c0d5dd80d6 100644
--- a/chrome/chromeFiles/content/scholar/metadataPane.xul
+++ b/chrome/chromeFiles/content/scholar/metadataPane.xul
@@ -5,7 +5,7 @@
-
+
diff --git a/chrome/chromeFiles/content/scholar/view.js b/chrome/chromeFiles/content/scholar/view.js
index 370c7b8cbe..1abe4c552b 100644
--- a/chrome/chromeFiles/content/scholar/view.js
+++ b/chrome/chromeFiles/content/scholar/view.js
@@ -5,6 +5,7 @@ function init()
thisItem = Scholar.Items.get(getArgument("id"));
document.getElementById('view').setAttribute('src','http://www.google.com/search?q='+encodeURIComponent('"'+thisItem.getField("title")+'"')+'&btnI');
+ MetadataPane.viewItem(thisItem);
}
function toggle(id)
diff --git a/chrome/chromeFiles/content/scholar/view.xul b/chrome/chromeFiles/content/scholar/view.xul
index 4ed716f6d8..4d0a3acd4e 100644
--- a/chrome/chromeFiles/content/scholar/view.xul
+++ b/chrome/chromeFiles/content/scholar/view.xul
@@ -6,6 +6,7 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
@@ -14,21 +15,11 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
\ No newline at end of file
diff --git a/chrome/chromeFiles/skin/default/scholar/view.css b/chrome/chromeFiles/skin/default/scholar/view.css
index e19ab35b95..ccfc18b0b1 100644
--- a/chrome/chromeFiles/skin/default/scholar/view.css
+++ b/chrome/chromeFiles/skin/default/scholar/view.css
@@ -1,6 +1,6 @@
#view-toolbar
{
-
+ background: #f5f5f5;
}
#view-toolbar .toggler
@@ -13,27 +13,29 @@
width: 400px;
}
-#metadata-pane
+.floater
{
position: relative;
margin-top: 10px;
- left: 10px;
- width: 400px;
- height: 100px;
- overflow: auto;
+ margin-right: 30px;
+
padding: 5px;
- font-size: 11px;
+ font-size: 12px;
background: #f5f5f5;
+ width: 400px;
}
-#notes-pane
+#metadata
+{
+
+}
+
+#notes
{
- position: relative;
- margin-top: 10px;
- left: 10px;
- width: 400px;
height: 100px;
- padding: 5px;
- font-size: 11px;
- background: #f5f5f5;
+}
+
+#metadata toolbar
+{
+ border-bottom: none;
}
\ No newline at end of file