Jump to content

Iframe problem


shebbycs

Recommended Posts

chatframe.php

 



<?

print "<center><iframe src='chatlog.php'  name='chatlogframe' width='350' height='400'></iframe>";

print "<br><br>";

print "<iframe src='menu.php' width='350' height='150' frameborder='0'></iframe></center><br><br>";

?>

 

 

41202684232170973459.jpg

 

But actually im want to be as this

 

36218044412165846586.jpg

 

as the login page is succesfuly direct to form 2  the iframe will be going below chat screen

 

how can i do that?

 

Link to comment
https://forums.phpfreaks.com/topic/252590-iframe-problem/
Share on other sites

You need 2 DIVs. Put one iframe in the first DIV and another iframe in another DIV. Then you may place these DIVs (iframes) whenever you wish.

May be you will need CSS for this.

 

Another possibility is to use a table with 2 columns. But it's not a modern solution.

Link to comment
https://forums.phpfreaks.com/topic/252590-iframe-problem/#findComment-1294962
Share on other sites

You need 2 DIVs. Put one iframe in the first DIV and another iframe in another DIV. Then you may place these DIVs (iframes) whenever you wish.

May be you will need CSS for this.

 

Another possibility is to use a table with 2 columns. But it's not a modern solution.

 

 

can you show me one example :) ?

Link to comment
https://forums.phpfreaks.com/topic/252590-iframe-problem/#findComment-1294964
Share on other sites

It always interesting for me... How lazy could be a man? :)

 

OK, short example :) As short as possible.

 

<div><iframe ......></iframe></div><div><iframe ....></iframe></div>

 

How to put them in correct places? You would better think about it. As an example you may check the code of this forum page. It contains some DIVs.

Link to comment
https://forums.phpfreaks.com/topic/252590-iframe-problem/#findComment-1294978
Share on other sites

It always interesting for me... How lazy could be a man? :)

 

OK, short example :) As short as possible.

 

<div><iframe ......></iframe></div><div><iframe ....></iframe></div>

 

How to put them in correct places? You would better think about it. As an example you may check the code of this forum page. It contains some DIVs.

 

 

are you saying in the chatframe.php im can done that? but still inside the iframe im din get it how to do it please show something im a  bit noob ;(

Link to comment
https://forums.phpfreaks.com/topic/252590-iframe-problem/#findComment-1294986
Share on other sites

It seems that it's better for you to read more about iframes and other tags. Go to this page http://www.w3schools.com/tags/tag_iframe.asp - here you'll find a lot of information about iframe and other tags.

 

Maybe you'll find a better solution than I suggest?

Link to comment
https://forums.phpfreaks.com/topic/252590-iframe-problem/#findComment-1295000
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.