comparison 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
comparison
equal deleted inserted replaced
31:ec7abd6ac50b 32:fb72a1e65121
5 <link rel="stylesheet" href="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" /> 5 <link rel="stylesheet" href="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" />
6 {% endblock %} 6 {% endblock %}
7 {% block custom_js %} 7 {% block custom_js %}
8 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> 8 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
9 <script type="text/javascript" src="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.1.pack.js"></script> 9 <script type="text/javascript" src="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.1.pack.js"></script>
10 <script type="text/javascript">
11 $(function() {
12 $('a.fancybox').fancybox();
13 });
14 </script>
10 {% endblock %} 15 {% endblock %}
11 {% load markup %} 16 {% load markup %}
12 {% block content %} 17 {% block content %}
13 <h1>The Madeira</h1> 18 <h1>The Madeira</h1>
14 <img class="floatLeftBox" src="{{ config.intro_photo.image.url }}" 19 <img class="floatLeftBox" src="{{ config.intro_photo.image.url }}"