SunJordan / ezstats

Automatically exported from code.google.com/p/ezstats
0 stars 0 forks source link

Fancybox positioning #131

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please describe your problem:
As always, fantastic work!! 

I am looking for a way to control where the fancybox is positioned when a 
player detail or history is opened from the leaderboard.  I do not necessarily 
want it to open centered both vertically and horizontally in the viewport.  I 
would like to be able to set it to top, but still centered horizontally.  Is 
that something that is possible?  

I am familiar with CSS, so if there is a workaround you can give me, I have no 
problem going into a stylesheet and making adjustments.  I figured I'd ask for 
assistance, however, before just guessing and then breaking something :)

Your version of ezStats:
0.71 (standalone)

The URL to your website:
http://static12.com/army/stats/index.php

Original issue reported on code.google.com by mcher...@gmail.com on 14 Jun 2012 at 6:20

GoogleCodeExporter commented 9 years ago
Hi!

Yes, there is a way. Therefor, download the file "templates/standalone.html" 
and open it in a editor.

Then search for the string "type: 'ajax'," (two times in the file) and append 
this string: "topRatio: 0,". 
Then save and upload it. 

The value "topRatio: 0.2," could give the best results.
Regards, ezzemm

Original comment by ezzem...@googlemail.com on 15 Jun 2012 at 5:09

GoogleCodeExporter commented 9 years ago

Original comment by ezzem...@googlemail.com on 31 Aug 2012 at 6:11