[Beye] Player Panel... adding something.
Posted: 03 April 2013, 22:29
Hi evrybody,
I need some help to understand player panel.
I added this
in game.tpl
in game.js
I would like to know how I can have size of player panel growing according to size of my picture....
right now, it's putat the end of panel and size do't change.
I thought that picture was inserted inside...
And I would like it to be inserted inside
maybe cause of z_index?
maybe this example could be written in the doc in the section Player Panel?
How to resize player panel...
I need some help to understand player panel.
I added this
in game.tpl
Code: Select all
var jstpl_player_board = '<div class="cp_board"><div id="icon_p${id}" class="mshow stylemovecard"></div></div>';
Code: Select all
var player_board_div = $('player_board_'+player_id);
dojo.place( this.format_block('jstpl_player_board', player ), player_board_div );
I would like to know how I can have size of player panel growing according to size of my picture....
right now, it's putat the end of panel and size do't change.
I thought that picture was inserted inside...
And I would like it to be inserted inside
maybe cause of z_index?
maybe this example could be written in the doc in the section Player Panel?
How to resize player panel...