From 35b71e14cdaa561ad11205d00e3add534720c091 Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 31 Oct 2011 17:34:41 +0000 Subject: [PATCH 1/3] target new for links / noteworthy --- urbstudio/templates/links.html | 2 +- urbstudio/templates/noteworthy.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/urbstudio/templates/links.html b/urbstudio/templates/links.html index 1c6e267..fbc134b 100755 --- a/urbstudio/templates/links.html +++ b/urbstudio/templates/links.html @@ -10,7 +10,7 @@ {% block inner_content %} {% for l in links %} -
+{{ l.description }}
{{ n.description }}
From adc3cf76d1f6aa626beb0896cf34c4fbf4690489 Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 31 Oct 2011 18:46:09 +0000 Subject: [PATCH 2/3] disabled right-click for images --- urbstudio/static/js/projects.js | 5 ++++- urbstudio/static/js/pronit.js | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/urbstudio/static/js/projects.js b/urbstudio/static/js/projects.js index 1769e64..e13c75d 100755 --- a/urbstudio/static/js/projects.js +++ b/urbstudio/static/js/projects.js @@ -1,5 +1,8 @@ -$(function(){ +$(function() { + $('#slidesContainer').bind("contextmenu", function(e) { + return false; + }); $('.projectThumb').click(function() { // alert("hi"); diff --git a/urbstudio/static/js/pronit.js b/urbstudio/static/js/pronit.js index 0b8482a..a832a32 100755 --- a/urbstudio/static/js/pronit.js +++ b/urbstudio/static/js/pronit.js @@ -1,6 +1,9 @@ $(document).ready(function() { $('#logo').fadeIn(4000); + $('#slider').bind("contextmenu", function(e) { + return false; + }); $(window).resize(function() { var width = $(this).width(); From 7d5ac57d816fcb14c17648b686cd7081c6d2070d Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 31 Oct 2011 18:50:33 +0000 Subject: [PATCH 3/3] commented out right-click thing --- urbstudio/static/js/projects.js | 4 +++- urbstudio/static/js/pronit.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/urbstudio/static/js/projects.js b/urbstudio/static/js/projects.js index e13c75d..9b85e99 100755 --- a/urbstudio/static/js/projects.js +++ b/urbstudio/static/js/projects.js @@ -1,8 +1,10 @@ $(function() { - + +/* $('#slidesContainer').bind("contextmenu", function(e) { return false; }); +*/ $('.projectThumb').click(function() { // alert("hi"); diff --git a/urbstudio/static/js/pronit.js b/urbstudio/static/js/pronit.js index a832a32..d6a4817 100755 --- a/urbstudio/static/js/pronit.js +++ b/urbstudio/static/js/pronit.js @@ -1,9 +1,11 @@ $(document).ready(function() { $('#logo').fadeIn(4000); - + +/* $('#slider').bind("contextmenu", function(e) { return false; }); +*/ $(window).resize(function() { var width = $(this).width();