Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 06-18-2014, 08:20 AM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 69,140
Hwona is on a distinguished road
Default

Mmm, I tried that, but I don't think I'm using it correctly since it always returns "this is the Iframe class" instead of an iframe... this is used to build an iframe right?
I tried changing the code to this:
PHP Code:
 for($column 0$column $daycare->getTotalColumns(); $column++){
             
$target "iframe";
                
$adopt = new OwnedAdoptable($adopts[$index]);
             
$image = new Link("levelup/click/{$adopt->getAdoptID()}"$adopt->getImage("gui"), TRUE);
             
$image->setTarget($target);
                
$stats = new Comment($daycare->getStats($adopt));
                
$daycareCell = new TCell(new ArrayObject(array($image)), "cell{$index}");
                
$message1 "<iframe name='{$target}' src='levelup/click/{$adopt->getAdoptID()}'></iframe>";
                
$daycareCell->setAlign(new Align("center""center"));
                
$daycareRow->add($daycareCell);
                
$index++;
                if(
$index == $total) break; 
This shows on the page: Welcome to Daycare Center, here you can help with the growth of these cute baby adoptables.
The link target is invalid...
I also tried this and go the same message:
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);            
        } 
__________________

Last edited by Hwona; 06-18-2014 at 11:30 AM.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Link Dots voni Questions and Supports 6 05-13-2014 10:20 AM
Link MaximumRide Questions and Supports 6 04-23-2012 04:52 PM
how change this link ? :( kratosvr Questions and Supports 5 08-24-2011 09:09 AM
PHP in a link? Saphira Questions and Supports 9 01-31-2009 11:30 AM
Forums Link Ashje Questions and Supports 2 01-24-2009 12:28 AM


All times are GMT -5. The time now is 04:36 AM.

Currently Active Users: 3846 (0 members and 3846 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636