Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
tpgadmin
New Member
New Member


Joined: Oct 15, 2007
Posts: 2

PostPosted: Mon Oct 15, 2007 6:06 pm Reply with quote

Need some help...

How would one put multiple IFrames into one block? For example, I have a block working with this code:

Only registered users can see links on this board! Get registered or login!

You can see it working here: Only registered users can see links on this board! Get registered or login!

However, I have multiple servers and would like to add them in-line below the first monitor. However, if I put a line break in and add another Iframe, it breaks my site. So, I need to know how to show multiple server monitors in 1 continuous side block.

Any help would be appreciated.
 
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Mon Oct 15, 2007 7:27 pm Reply with quote

In theory it should work...I think....

There are many ways to write this, but here is one:

Code:


$content = "<i~frame>...</i~frame>";
$content .= '<br />';
$content .= "<i~frame>...</i~frame>";


Note that I used the "dot equal" .= operator on the 2nd and 3rd lines and I mangled iframe so Sentinel wouldn't trip on this post.

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
tpgadmin
PostPosted: Wed Oct 17, 2007 9:18 pm Reply with quote

Thanks Gremmie, that did the trick. I was missing the "dot equal" operator.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©