Mercurial > public > madeira
changeset 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 | ec7abd6ac50b |
children | 7d8015de651a |
files | mysite/templates/band/index.html |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
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 %}