diff options
author | friendica <info@friendica.com> | 2015-02-09 18:58:43 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-02-09 18:58:43 -0800 |
commit | fce51876c9d2d8803acddaa9c5b4980eb82ec357 (patch) | |
tree | e94b52b76ab6c4c75abd3e2e39b30d0f70d01c78 /view/js | |
parent | ad731b7c7bc1fa0a0af10127154e1aa8dc94ef24 (diff) | |
download | volse-hubzilla-fce51876c9d2d8803acddaa9c5b4980eb82ec357.tar.gz volse-hubzilla-fce51876c9d2d8803acddaa9c5b4980eb82ec357.tar.bz2 volse-hubzilla-fce51876c9d2d8803acddaa9c5b4980eb82ec357.zip |
bring some styling back to the colorbox and improve the event preview ability
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/mod_directory.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/js/mod_directory.js b/view/js/mod_directory.js index 87e4f92b5..861900704 100644 --- a/view/js/mod_directory.js +++ b/view/js/mod_directory.js @@ -1,7 +1,7 @@ function dirdetails(hash) { $.get('dirprofile' + '?f=&hash=' + hash, function( data ) { - $.colorbox({ maxWidth: "50%", maxHeight: "75%", html: data }); + $.colorbox({ maxWidth: "80%", maxHeight: "75%", scrolling: false, html: data }); }); } @@ -28,7 +28,7 @@ function doRatings(hash) { function buildRatingForm(hash) { var html = '<form id="ratings_form" action="prate" method="post"><input type="hidden" name="target" value="'+hash+'" /><div class="rating-desc">'+aStr['rating_desc']+'</div><input id="dir-rating-range" class="directory-slider" type="text" value="'+ratingVal+'" name="rating" style="display: none;" /><div class="rating-text-label">'+aStr['rating_text']+'<input type="text" name="rating_text" class="directory-rating-text" value="'+ratingText+'" /><br /><input name="submit" class="directory-rating-submit" type="submit" value="'+aStr['submit']+'" onclick="postRatings(); return false;"></form><div class="clear"></div><script>$("#dir-rating-range").jRange({ from: -10, to: 10, step: 1, showLabels: false, showScale: true, scale : [ "-10","-5","0","5","10" ], onstatechange: function(v) { $("#dir-rating-range").val(v); } });</script>'; - $.colorbox({maxwidth: "50%", maxHeight: "50%", html: html, close: 'X' }); + $.colorbox({maxwidth: "50%", maxHeight: "50%", scrolling: false, html: html, close: 'X' }); currentHash = hash; } |