Mercurial > public > madeira
comparison mysite/templates/band/index.html @ 13:37384c648602
Putting slideshow on front page.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 29 Aug 2010 18:38:42 +0000 |
parents | d771b81e927e |
children | 54e35b21b369 |
comparison
equal
deleted
inserted
replaced
12:d771b81e927e | 13:37384c648602 |
---|---|
4 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/thickbox.css" /> | 4 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/thickbox.css" /> |
5 {% endblock %} | 5 {% endblock %} |
6 {% block custom_js %} | 6 {% block custom_js %} |
7 <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.js"></script> | 7 <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.js"></script> |
8 <script type="text/javascript" src="{{ MEDIA_URL }}js/thickbox.js"></script> | 8 <script type="text/javascript" src="{{ MEDIA_URL }}js/thickbox.js"></script> |
9 <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.cross-slide.min.js"></script> | |
10 <script type="text/javascript"> | |
11 $(function() { | |
12 $('#slideshow').crossSlide({ | |
13 speed: 45, | |
14 fade: 1 | |
15 }, [ | |
16 { src: '{{ MEDIA_URL }}images/slideshow/1.jpg', dir: 'up' }, | |
17 { src: '{{ MEDIA_URL }}images/slideshow/2.jpg', dir: 'down' }, | |
18 { src: '{{ MEDIA_URL }}images/slideshow/3.jpg', dir: 'up' }, | |
19 { src: '{{ MEDIA_URL }}images/slideshow/4.jpg', dir: 'down' }, | |
20 { src: '{{ MEDIA_URL }}images/slideshow/5.jpg', dir: 'up' }, | |
21 { src: '{{ MEDIA_URL }}images/slideshow/6.jpg', dir: 'down' } | |
22 ]); | |
23 }); | |
24 </script> | |
9 {% endblock %} | 25 {% endblock %} |
10 {% load markup %} | 26 {% load markup %} |
11 {% block content %} | 27 {% block content %} |
12 <h1>The Madeira</h1> | 28 <h1>The Madeira</h1> |
13 <img class="floatLeftBox" src="{{ config.intro_photo.image.url }}" | 29 <img class="floatLeftBox" src="{{ config.intro_photo.image.url }}" |
43 </ul> | 59 </ul> |
44 <center><a href="{% url mysite.band.views.gigs %}">See all upcoming shows...</a></center> | 60 <center><a href="{% url mysite.band.views.gigs %}">See all upcoming shows...</a></center> |
45 </div> | 61 </div> |
46 {% endif %} | 62 {% endif %} |
47 | 63 |
64 <div> | |
65 <div id="slidshow"> | |
66 </div> | |
67 </div> | |
68 | |
48 <div class="newsflash"> | 69 <div class="newsflash"> |
49 <center> | 70 <center> |
50 <table border="0" cellspacing="2" cellpadding="2" width="100%"> | 71 <table border="0" cellspacing="2" cellpadding="2" width="100%"> |
51 <tr><td colspan="2"><center><h1>The Madeira Releases:</h1></center></td></tr> | 72 <tr><td colspan="2"><center><h1>The Madeira Releases:</h1></center></td></tr> |
52 | 73 |