+ Reply
Results 1 to 5 of 5

Thread: Need Some Help

  1. #1
    Moderator Nicholas Knight's Avatar
    Join Date
    Dec 2007
    Location
    Virginia Beach, Va
    Posts
    1,241
    Thanks
    79
    Thanked 309 Times in 169 Posts

    Default Need Some Help

    Code:
    		
    var htmlContentOfNewBox = '<DIV></div>';	// 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 = '<DIV></div>';	// 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']}

  2. #2
    Britney Spears of MMi Zeal's Avatar
    Join Date
    Mar 2008
    Location
    Miami, FL
    Posts
    3,599
    Thanks
    27
    Thanked 179 Times in 147 Posts

    lol Pass.
    EDM

  3. #3
    Moderator Nicholas Knight's Avatar
    Join Date
    Dec 2007
    Location
    Virginia Beach, Va
    Posts
    1,241
    Thanks
    79
    Thanked 309 Times in 169 Posts

    arg lol

  4. #4
    iPhone? More like MyPhone
    Join Date
    Feb 2008
    Posts
    276
    Thanks
    3
    Thanked 52 Times in 47 Posts

    Ummm....Im gunna say no..no one know hows to do it..

  5. #5
    Livin the iPhone Life Chase817's Avatar
    Join Date
    Mar 2008
    Location
    Orange County, CA
    Posts
    1,463
    Thanks
    127
    Thanked 89 Times in 64 Posts

    sssssss... i think my brain just fried
    http://modmyi.com/forums/image.php?type=sigpic&userid=303541&dateline=12514  03473

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts