]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/diabook-blue/theme.php
Merge pull request #161 from tomtom84/master
[friendica.git] / view / theme / diabook-blue / theme.php
index 9093ac2ca229abe9497a5ca3c19c77e27d817fc9..f9128ea1fd5424ef6a319bf4b394a346fa58c22c 100755 (executable)
@@ -11,9 +11,9 @@ $a->theme_info = array(
   'extends' => 'diabook',
 );
 
-//profile_side
-
+//fancybox: provide $photo.href to photo_top.tpl to img in org. scale
 
+//profile_side
 
 $nav['usermenu']=array();
 $userinfo = null;
@@ -110,10 +110,15 @@ $('html').click(function() {
      event.stopPropagation();
  });
  
- $(function() {
-       $('a.lightbox').fancybox(); // Select all links with lightbox class
+
+
+ $(document).ready(function() {
+       $("a.fancy-photo").fancybox(); // Select all links with lightbox class 
+       $("a.fancy-album").fancybox();
 });
 
+
+
  
  </script>
 EOT;