Добрый день!
После последнего апдейта перестала работать функция BCreateChildren.
Кто может помочь переделать строчки под возможные/доступные функции в panorama api?
После последнего апдейта перестала работать функция BCreateChildren.
Кто может помочь переделать строчки под возможные/доступные функции в panorama api?
JavaScript:
$("#NewPartButt"+myint).BCreateChildren("<Panel id='NewTooltip"+myint+"' class='NewTooltip' onmouseover='UIShowCustomLayoutParametersTooltip(ParticleTooltip"+myint+",file://{resources}/layout/custom_game/pets_tooltips.xml,num="+(poriadok[x-1]+1)+")' onmouseout='UIHideCustomLayoutTooltip(ParticleTooltip"+myint+")' />");
$("#CustomUIContainer").BCreateChildren("<Button id='NewPartButt"+x+"' class='NewPartButt' onactivate='SelectPart("+x+");' style='margin-top:"+stl+"px;'/>");
$("#NewPartButt"+x).BCreateChildren("<Image id='pereg"+x+"' src='file://{images}/custom_game/all/st.png' style='width:5px; margin-top:0px; margin-left:150px;'/>");
$("#NewPartButt"+x).BCreateChildren("<Image id='partapngb"+x+"' src='file://{images}/custom_game/all/activbutt.png'/>");
$("#NewPartButt"+x).BCreateChildren("<Label id='NewPartNum"+x+"' text='0'/>");
$("#NewPartButt"+x).BCreateChildren("<Label id='partname"+x+"' text='Название эффекта' style='margin-top:20px; margin-left:10px;'/>");
$("#NewPartButt"+x).BCreateChildren("<Label id='partnote"+x+"' text='Описание/причина выдачи/примечание' style='margin-top:5px; margin-left:180px;'/>");
$("#CustomUIContainer").BCreateChildren("<Button id='NAPartButt"+x+"' class='NAPartButt' style='margin-top:"+stl+"px;'/>");
$("#NAPartButt"+x).BCreateChildren("<Image id='napereg"+x+"' src='file://{images}/custom_game/all/st.png' style='width:5px; margin-top:0px; margin-left:150px;'/>");
$("#NAPartButt"+x).BCreateChildren("<Label id='napartname"+x+"' text='Название эффекта' style='margin-top:20px; margin-left:10px;'/>");
$("#NAPartButt"+x).BCreateChildren("<Label id='napartnote"+x+"' text='Описание/причина выдачи/примечание' style='margin-top:5px; margin-left:180px;'/>");
$("#toolpanel").BCreateChildren("<DOTAScenePanel id='cam' style='width:400px;height:400px;' particleonly='false' map='pets' camera='camera"+num+"' />");