Fancybox for programme restored
authorRaphael Velt <raph.velt@gmail.com>
Wed, 15 May 2013 16:36:48 +0200
changeset 899 cdcc5249830e
parent 898 196ce9f8751c
child 900 a78d44f5cb8b
Fancybox for programme restored
web/polemicaltimeline.php
--- a/web/polemicaltimeline.php	Wed May 15 16:36:30 2013 +0200
+++ b/web/polemicaltimeline.php	Wed May 15 16:36:48 2013 +0200
@@ -75,7 +75,7 @@
     <script type="text/javascript" src="<?php echo(registry_url('tracemanager','js'));?>"></script>
         
     <!-- Framework CSS -->
-    <link rel="stylesheet" href="<?php echo(registry_url('tweetcast','css'));?>?v=11072012" type="text/css" media="screen, projection"/>
+    <link rel="stylesheet" href="<?php echo(registry_url('tweetcast','css'));?>" type="text/css" media="screen, projection"/>
     <link rel="stylesheet" href="<?php echo(registry_url('fancybox','css'));?>" media="screen"/>
     
     <!-- FONT -->
@@ -196,9 +196,7 @@
     };
     
     jQuery(document).ready(function() {
-
 <?php if ($show_splash): ?>
-        var _fancybox = jQuery.fancybox;
         jQuery.fancybox(
             jQuery("#splash").html(),
             {
@@ -208,7 +206,7 @@
             });
         
         jQuery("#fancybox-content form").submit(function() {
-            _fancybox.close();
+            jQuery.fancybox.close();
             var _checkboxes = [];
             jQuery("#fancybox-content .checkbox:checked").each(function() { _checkboxes.push(this.value) });
             var _data = {
@@ -242,6 +240,13 @@
             'transitionOut'        : 'none',
             'type'                : 'iframe'
         });
+        jQuery("#Program").fancybox({
+            type: "iframe",
+            width: 840,
+            height: 640,
+            transitionIn: "none",
+            transitionOut: "none"
+        });
         jQuery(".embedbutton").click(function() {
             _tracer.trace("Pt_EmbedButtonClicked");
         });