[HTML/PHP] Im using iframe I think
<a target="main" href="main.php" style="text-decoration: none">
<font color="#30739A">Test</font></a><font color="#30739A"> Im using that, but i cant find what the target is on my main content. Would I have to code it myself or something? or just what?
Re: [HTML/PHP] Im using iframe I think
First of all, Iframe has been deprecated as of html 4.01 it's advised to not use it.
Secondly, I don't see any Iframe code...
Thridly, use [code] [/code ] tags.
Re: [HTML/PHP] Im using iframe I think
Try to use this:
PHP Code:
<?php
$fn_category = 1;
include 'FILE LOCATION';
?>
It's more pssoible to get the Iframe and the php script I posted to work if you put the file in this case named main.php in to a sub folder.
Re: [HTML/PHP] Im using iframe I think
Yeah Sorry im a noob at this Lol but 1 thing is how do i get it so when you click something, that pops into the main texts Would I put that as the link??
Re: [HTML/PHP] Im using iframe I think
Quote:
Originally Posted by
iTropical
Yeah Sorry im a noob at this Lol but 1 thing is how do i get it so when you click something, that pops into the main texts Would I put that as the link??
Sorry, I did not understand you. :dunno:
PHP Code:
<?php
$fn_category = 1;
include 'W:/www/news/welcome.txt';
?>
That code does the same as the html version.. just I like the php more :)
Here's the Iframe tag..
Code:
<iframe
src ="FILE LOCATION"
width="100%">
</iframe>
Re: [HTML/PHP] Im using iframe I think
Ok xD well I want it so that when you click an image or text, the text goes into the main text container
Re: [HTML/PHP] Im using iframe I think
First of all youd need to use the code you already have and make an iframe with the title of "main" then the webpage your trying to open will open into the iframe.
Re: [HTML/PHP] Im using iframe I think
Code:
<iframe src="-deffaultiframesourcehere-" name="main"></iframe>
When-ever you want to let something open in the iframe use 'target="main"'.