How to make the games' display use the full width? Currently there's quite some space on the right. I've set the forum width to fixed 1000px.
![]()
Questions & Answers for vBArcade.
Click here to buy!
How to make the games' display use the full width? Currently there's quite some space on the right. I've set the forum width to fixed 1000px.
![]()
I am currently working on a way that should space out the panels.
It might depend on taste, but I think the current display is even worse, it's not so elegant. Why not make optional "fluid" widths so the width would be automatically adjusted?
![]()
I am not going to make fluid width game panels.
However, this might space them out in a more appealing fashion:
edit dbtech_vbarcade_headinclude find
replace withHTML Code:if (games.length) { var line = Math.floor(pwidth / gwidth), left = (pwidth - (line * gwidth)) / (line - 1); games.each(function(i) { //evenly space except the ends $(this).css('margin-right', ( ((i + 1) % line) ? left : 0 )); }); }
let me know what you thinkHTML Code:if (games.length) { var line = Math.floor(pwidth / gwidth), left = Math.floor((pwidth - (line * gwidth)) / (line * 2)); games.css({ 'margin-left': left, 'margin-right': left }); }
Post Thanks / Like - 1 Thanks, 0 Likes, 0 Dislikes, 0Emeralda thanked for this post
Hmm, it does look better, not perfect, but better: http://img814.imageshack.us/img814/5...f38abfd262.png. Thank yous~
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks