use colorbox for single photo viewing (replacing prettyPhoto, which may have license incompatibilities). Also set maximum size of a directory popup and let it scroll after that in case somebody set their profile keywords to the content of Webster's dictionary.
This commit is contained in:
parent
71dde7c687
commit
b1ade138ff
@ -13,6 +13,8 @@ We need much more than this, but here are areas where developers can help. Pleas
|
|||||||
|
|
||||||
* Integrate the "open site" list with the register page
|
* Integrate the "open site" list with the register page
|
||||||
|
|
||||||
|
* "mixed content warning" redirector so that if your server is https (as it should be) so are all your embedded content and media links
|
||||||
|
|
||||||
* Write more webpage layouts
|
* Write more webpage layouts
|
||||||
|
|
||||||
* Write more webpage widgets
|
* Write more webpage widgets
|
||||||
|
@ -1 +1 @@
|
|||||||
2013-12-23.535
|
2013-12-25.537
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
function dirdetails(hash) {
|
function dirdetails(hash) {
|
||||||
|
|
||||||
$.get('dirprofile' + '?f=&hash=' + hash, function( data ) {
|
$.get('dirprofile' + '?f=&hash=' + hash, function( data ) {
|
||||||
$.colorbox({ html: data });
|
$.colorbox({ maxWidth: "50%", maxHeight: "75%", html: data });
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{if $prevlink}}<div id="photo-prev-link"><a href="{{$prevlink.0}}"><i class="icon-backward photo-icons"></i></div>{{/if}}
|
{{if $prevlink}}<div id="photo-prev-link"><a href="{{$prevlink.0}}"><i class="icon-backward photo-icons"></i></div>{{/if}}
|
||||||
<div id="photo-photo"><a href="{{$photo.href}}" title="{{$photo.title}}" rel="prettyPhoto"><img src="{{$photo.src}}" /></a></div>
|
<div id="photo-photo"><a href="{{$photo.href}}" title="{{$photo.title}}" onclick="$.colorbox({href: '{{$photo.href}}'}); return false;" ><img src="{{$photo.src}}" /></a></div>
|
||||||
{{if $nextlink}}<div id="photo-next-link"><a href="{{$nextlink.0}}"><i class="icon-forward photo-icons"></i></a></div>{{/if}}
|
{{if $nextlink}}<div id="photo-next-link"><a href="{{$nextlink.0}}"><i class="icon-forward photo-icons"></i></a></div>{{/if}}
|
||||||
<div id="photo-photo-end"></div>
|
<div id="photo-photo-end"></div>
|
||||||
<div id="photo-caption">{{$desc}}</div>
|
<div id="photo-caption">{{$desc}}</div>
|
||||||
|
Reference in New Issue
Block a user