Code:
var htmlContentOfNewBox = ''; // HTML content of new box
var titleOfNewBox = 'Left';
if(!staticObjectArray['staticObject1']){ // The box is not stored in cookie - we need to create it.
var newIndex = createABox(1,100,false,'staticObject1');
document.getElementById('dragableBoxContent' + newIndex).innerHTML = htmlContentOfNewBox;
document.getElementById('dragableBoxHeader_txt' + newIndex).innerHTML = titleOfNewBox;
}else{ // Box is stored in cookie - all we have to do is to move content into it.
document.getElementById('dragableBoxContent' + staticObjectArray['staticObject1']).innerHTML = htmlContentOfNewBox;
document.getElementById('dragableBoxHeader_txt' + staticObjectArray['staticObject1']).innerHTML = titleOfNewBox;
}
hideHeaderOptionsForStaticBoxes(staticObjectArray['staticObject1']);
where it says
Code:
var htmlContentOfNewBox = ''; // HTML content of new box
i need to put an IPB macro between the divs but when i do it wont show the boxes (this is for the ajax boxes) anyone know how to do it?
btw this is the macro
{$info['photo']}