diff --git a/css/bible.css b/css/bible.css
index 0e31a10c..9c8f7c0d 100644
--- a/css/bible.css
+++ b/css/bible.css
@@ -156,7 +156,8 @@ h3 {
background-color: #fff;
}
-.removeresult
+
+.removeresult
{
float: left;
display: block;
@@ -184,3 +185,73 @@ h3 {
padding: 0px 12px;
margin: 0px;
}
+
+
+
+.input-addtag {width: 200px; height: 36px;}
+.btn-addtag {width: 80px; height: 44px; margin-left: 3px;}
+
+
+
+
+a.trigger{
+ position: absolute;
+ background: url(images/open.png) 6% 55% no-repeat;
+ text-decoration: none;
+ font-size: 16px;
+ letter-spacing:-1px;
+ font-family: verdana, helvetica, arial, sans-serif;
+ color:#fff;
+ font-weight: bold;
+ border-bottom: none;
+ margin-left: 2px;
+
+ z-index:2;
+}
+a.trigger.left {
+ left: 12px;
+}
+a.trigger.right {
+ right: 12px;
+}
+a.trigger:hover {
+ text-decoration: none;
+ border-bottom: none;
+}
+a.active.trigger {
+ background: url(images/close.png) 6% 55% no-repeat;
+}
+.panel {
+ color:#000;
+ position: absolute;
+ display: none;
+ background: #eee;
+ width: 300px;
+ height: auto;
+
+ z-index:1;
+}
+.panel.left {
+ left: 10px;
+ padding: 10px 20px 10px 60px;
+ border-top-right-radius: 15px;
+ -moz-border-radius-topright: 15px;
+ -webkit-border-top-right-radius: 15px;
+ -moz-border-radius-bottomright: 15px;
+ -webkit-border-bottom-right-radius: 15px;
+ border-bottom-right-radius: 15px;
+}
+.panel.right {
+ right: 10px;
+ padding: 10px 60px 10px 20px;
+ border-bottom-left-radius: 15px;
+ border-top-left-radius: 15px;
+ -moz-border-radius-bottomleft: 15px;
+ -moz-border-radius-topleft: 15px;
+ -webkit-border-bottom-left-radius: 15px;
+ -webkit-border-top-left-radius: 15px;
+}
+.panel p {
+ font-size:11px;
+}
+a:focus { outline: none;}
\ No newline at end of file
diff --git a/css/images/close.png b/css/images/close.png
new file mode 100644
index 00000000..c11bd7f6
Binary files /dev/null and b/css/images/close.png differ
diff --git a/css/images/minus.png b/css/images/minus.png
new file mode 100644
index 00000000..d0b7e92e
Binary files /dev/null and b/css/images/minus.png differ
diff --git a/css/images/open.png b/css/images/open.png
new file mode 100644
index 00000000..999aae06
Binary files /dev/null and b/css/images/open.png differ
diff --git a/css/images/plus.png b/css/images/plus.png
new file mode 100644
index 00000000..a822b266
Binary files /dev/null and b/css/images/plus.png differ
diff --git a/js/common.js b/js/common.js
index 0ec0018c..e2870f0d 100644
--- a/js/common.js
+++ b/js/common.js
@@ -187,7 +187,11 @@ define(['jquery', 'reference', 'jquery.ui'],
if (localStorage.Results !== "undefined" && localStorage.SearchResults !== "undefined") {
$("#resultwrap").html(localStorage.Results);
$("#searchresultswrap").html(localStorage.SearchResults);
- Bible.AttachEvents($("#resultwrap"));
+
+ $(".result").each(function(i, val) {
+ Bible.AttachEvents($(val));
+ });
+
Words.AttachEvents($("#searchresultswrap"));
}
}
@@ -289,8 +293,10 @@ define(['jquery', 'reference', 'jquery.ui'],
r += "
";
}
}
- var t = $("
put tags here....
Sorry, but there was an error loading the document.
";b.html(h)}b.toggle(d.speed)})}else{b.toggle(d.speed)}c.toggleClass("active")}else{if(d.ajax&&d.ajaxSource==null){alert("You must define an ajaxSource to use Ajax.")}}return false});if(d.clickOutsideToClose){a(document).bind("mousedown",function(){b.hide(d.speed);c.removeClass("active")});b.bind("mousedown",function(f){f.stopPropagation()})}}})(jQuery); \ No newline at end of file diff --git a/js/main.js b/js/main.js index 0a73e9c1..3f51edfa 100644 --- a/js/main.js +++ b/js/main.js @@ -1,4 +1,4 @@ -require(["jquery", "db", "common", "reference", "jquery.cookie", "jquery.ui"], +require(["jquery", "db", "common", "reference", "jquery.cookie", "jquery.ui", "jquery.slidePanel"], function($, db, common, ref) { $(document).ready(function() {