BOB needs help on map align
Posted: Tue Sep 01, 2009 1:15 pm
On every map I need to make it Map Align Left: 1 px and Map Align Top: 1 px to fit properly. But I can only do it individually, is there a way I can do it on all of them?
Conquer Club, a free online multiplayer variation of a popular world domination board game.
https://beta.conquerclub.com/forum/
Code: Select all
function shiftMagicMap(){
left = 12 + getMapleft();
top = 22 + getMaptop();
if (gameSettings.tournament)
top += 20;
magicmap.css('top', top + 'px').css('left', left + 'px');
}Code: Select all
function shiftMagicMap(){
left = 13 + getMapleft();
top = 23 + getMaptop();
if (gameSettings.tournament)
top += 20;
magicmap.css('top', top + 'px').css('left', left + 'px');
}