Mercurial > public > madeira
diff mysite/templates/band/index.html @ 32:fb72a1e65121
Add back the fancy box init code to allow fancybox to work on the index page.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 11 Aug 2011 19:00:32 +0000 |
parents | e492aa7c70de |
children | 25e00d1b99bf |
line wrap: on
line diff
--- a/mysite/templates/band/index.html Wed May 11 23:43:17 2011 +0000 +++ b/mysite/templates/band/index.html Thu Aug 11 19:00:32 2011 +0000 @@ -7,6 +7,11 @@ {% block custom_js %} <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.1.pack.js"></script> +<script type="text/javascript"> +$(function() { + $('a.fancybox').fancybox(); +}); +</script> {% endblock %} {% load markup %} {% block content %}