aboutsummaryrefslogtreecommitdiffstats
path: root/dbdocs/relationships.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dbdocs/relationships.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/dbdocs/relationships.js b/dbdocs/relationships.js
new file mode 100644
index 0000000..3c93eab
--- /dev/null
+++ b/dbdocs/relationships.js
@@ -0,0 +1,13 @@
+$(function() {
+ var pgurl = window.location.href.substr(window.location.href.lastIndexOf("/")+1);
+ $("#navbar-collapse ul li a").each(function(){
+ if($(this).attr("href") == pgurl || $(this).attr("href") == '' )
+ $(this).parent().addClass("active");
+ })
+});
+
+$(function() {
+ var $imgs = $('img.diagram, object.diagram');
+ $imgs.css("cursor", "move")
+ $imgs.draggable();
+});