07-11-2014
|
1 |
Registered User
Join Date: Dec 2011
Location: Blacksburg, Virginia
Posts: 5,459
|
Graal Facebook Friends Bar Removed
Hello, I've decided to implement a simple CSS hack that allows the Graal Facebook Friends Bar to be removed. I've also added a way to make the flash player fullscreen, giving the benefit of a larger gaming experience. Feel free to check out the links. GraalOnline Classic GraalOnline Era GraalOnline Zone All Three Limitations: I haven't tried this on all browsers, but for Internet Explorer, you cannot open the fullscreen mode. You have to figure out a way to somehow open fullscreen mode. Please post any bugs, or future suggestions. I'll be sure to implement them! fp4 Edit: You can disable the bar on Classic now by going through options.
Last edited by fp4; 10-22-2014 at 12:53 AM.
|
07-12-2014
|
10 |
Registered User
Join Date: Dec 2011
Location: Blacksburg, Virginia
Posts: 5,459
|
Here's the source code for graalera.php http://pastebin.com/hzQ4GxaY Basically, what I did was I used PHP get get the qplay cookie from the GraalOnline Era website. This changes upon every refresh, so I don't have to worry about clients connecting to each other. Using the qplaycookie, I then initialize the flash object as the size of the website. I also make it a bit bigger so that the friends bar is cropped off the end of the page. The CSS for that would be overflow: hidden; Next, I just added a button to make it fullscreen. |