set the height so colorbox can set its size correctly
This commit is contained in:
parent
4e3a2c5f28
commit
1c5fe5a1ac
@ -1,8 +1,7 @@
|
||||
function dirdetails(hash) {
|
||||
|
||||
$.get('dirprofile' + '?f=&hash=' + hash, function( data ) {
|
||||
$.colorbox({ maxWidth: '75%', maxHeight: '75%', html: data });
|
||||
$.colorbox.resize();
|
||||
$.colorbox({ html: data });
|
||||
});
|
||||
|
||||
}
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
<div class="contact-photo-wrapper" id="directory-photo-wrapper-{{$id}}" >
|
||||
<div class="contact-photo" id="directory-photo-{{$id}}" >
|
||||
<a href="{{$profile_link}}" class="directory-profile-link" id="directory-profile-link-{{$id}}" ><img class="directory-photo-img" src="{{$photo}}" alt="{{$alttext}}" title="{{$alttext}}" /></a>
|
||||
<a href="{{$profile_link}}" class="directory-profile-link" id="directory-profile-link-{{$id}}" ><img class="directory-photo-img" height="175" width="175" src="{{$photo}}" alt="{{$alttext}}" title="{{$alttext}}" /></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user