summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2012-01-17 12:57:02 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2012-01-17 12:58:45 (GMT)
commit0edf9da755d7a7458a09428cf982ee7cc07005c6 (patch)
tree7659f6e0c1a351173f5bac3347d09a1ac0bf9357
parent56919280f93f329296a72de72888195d2dd6f9b1 (diff)
downloadtabellio.webviews-0edf9da755d7a7458a09428cf982ee7cc07005c6.zip
tabellio.webviews-0edf9da755d7a7458a09428cf982ee7cc07005c6.tar.gz
tabellio.webviews-0edf9da755d7a7458a09428cf982ee7cc07005c6.tar.bz2
add "pcf videos" section on home page
-rw-r--r--tabellio/webviews/pcfhome_folder.pt8
1 files changed, 7 insertions, 1 deletions
diff --git a/tabellio/webviews/pcfhome_folder.pt b/tabellio/webviews/pcfhome_folder.pt
index d27660b..8081fc3 100644
--- a/tabellio/webviews/pcfhome_folder.pt
+++ b/tabellio/webviews/pcfhome_folder.pt
@@ -160,7 +160,7 @@ jQuery(document).ready(function(){
</div> <!-- .inner -->
<div id="content-vid">
<div class="one-vid">
-<a href="#">
+<a class="videopresentation" href="/video/">
<img src="/img/video.gif" />
<div>
<img class="ico" src="/img/ic_clap.png" />
@@ -170,6 +170,12 @@ jQuery(document).ready(function(){
<br /><br />Il est également à d&eacute;couvrir sur grand écran, à la faveur d’une visite du Parlement.<br /><br />Informationss : 02 506 38 82 et relationspubliques@pcf.be.</p>
</div></a>
</div>
+<script>
+$('a.videopresentation').click(function(event) {
+ window.open($(this).attr('href'), 'videopresentation', 'width=498,height=594');
+ event.preventDefault();
+});
+</script>
</div> <!-- #pcfhome-second-part -->
</tal:main-macro>