I'm from Poland.
I've one big problem, which I can't solve.
I would like to, that on my server in select server window been a facebook button.
I've made this button like this:
Code:
## FacebookLikeServer
{
"name" : "FacebookLikeServer",
"type" : "thinboard",
"x" : -250,
"y" : 296,
"width" : 110,
"height" : 70,
"horizontal_align" : "center",
"children" :
(
## LikeIt
{
"name" : "FacebookLikeText",
"type" : "text",
"x" : 60,
"y" : 30,
"text" : "Like It !",
},
## Button
{
"name" : "FacebookLikeButton",
"type" : "button",
"x" : 10,
"y" : 10,
"default_image" : "locale/pl/ui/facebook/like.tga",
"over_image" : "locale/pl/ui/facebook/like.tga",
"down_image" : "locale/pl/ui/facebook/like.tga",
},
),
},
but I need else function, which open facebook account.
I found two function:
Code:
def OpenFacebook1(self, url): self.interface.OpenWebWindow(url) def OpenFacebook2(self, url): "ShowWeb" if app.IsWebPageMode(): app.HideWebPage() else: app.ShowWebPage(url, (0, 0, 320, 600))
I need a function, which open new window in browser and navigate to server account.
...
unfortunately I don't know how this function pin the my button and wheter will be work ... ;|
I hope you help me
and wait for the helpful posts
Regards
masterisme






