Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   IFrame in daycare (http://www.mysidiaadoptables.com/forum/showthread.php?t=5322)

Silver_Brick 12-31-2016 11:21 AM

IFrame in daycare
 
hey guys i am trying to add iframe in daycare so i am trying to get the links of daycare pets to pop up in an iframe on the page when clicked so help me guys

PHP Code:

 for($column 0$column $daycare->getTotalColumns(); $column++){
                
$adopt = new OwnedAdoptable($adopts[$index]);
             
$image = new Link("levelup/click/{$adopt->getAdoptID()}"$adopt->getImage("gui"), TRUE);
             
                
$stats = new Comment($daycare->getStats($adopt));
                
$daycareCell = new TCell(new ArrayObject(array($image)), "cell{$index}");
                
$iframe = new IFrame($name "iframe"$src "levelup/click/{$adopt->getAdoptID()}"$width ""$height ""$event "");
                
$image->setTarget($name);
                
$daycareCell->setAlign(new Align("center""center"));
                
$daycareRow->add($daycareCell);
                
$index++;
                if(
$index == $total) break;
            }
            
$daycareTable->add($daycareRow);            
        } 



All times are GMT -5. The time now is 11:08 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.