iFrames: Full screen?

liunx

Guest
Hey, is there any way to have a frame/iFrame to automatically fit to the window? <br />
My site is <!-- m --><a class="postlink" href="http://www.sarahs-site.s5.com">http://www.sarahs-site.s5.com</a><!-- m --><br />
I copied the code off HTML goodies and replaced it with my own stuff to test it, and now I want to really start building my site. Can anyone help?<!--content-->try this: -<br />
<HTML><br />
<HEAD><br />
<br />
</HEAD><br />
<BODY leftmargin=0 topmargin=0><br />
<br />
<table width=100% height=100%><br />
<tr><br />
<td width=200><br />
<IFRAME SRC=http://www.webdeveloper.com/forum/archive/index.php/"NAVBAR.html" NAME="left" width=200 height=100%></IFRAME><br />
</td><br />
</td><br />
<IFRAME SRC=http://www.webdeveloper.com/forum/archive/index.php/"SITE.html" NAME="right" left=100% height=100%></IFRAME><br />
</td><br />
</tr><br />
</table><br />
</BODY><br />
</HTML><br />
<br />
C if it works!<!--content-->Okay, I'll try it!<!--content-->I'd just like to remind you that iframes are inaccesible, a few browsers don't support them, and that they're horrible for SEO. They're just a bad idea overall. An ugly, inaccesible, design-hindering, bad idea.<!--content-->*shrug* I dunno... this site is personal, I think most users will be using IE... *smacks head* and AOL. Duh. Well I guess you're right... I'll try to think of a different way.<!--content-->Cool, but, what you have to ask yourself is do you want to learn webdevelopment, or just have a personal site? If you want to learn webdevelopment, then there's much better ways of doing this. However, if you want to have a personal site, and just your friends are going to be visitors, then IFrames won't hurt anything especially if you instruct page indexing bots to not index your page (<meta name="robots" content="noindex, nofollow, noarchive" />) <br />
<br />
If you want to learn webdevelopment, you should look into Server Side Includes ( A few tutorials: <!-- m --><a class="postlink" href="http://www.w3schools.com/php/php_includes.asp">http://www.w3schools.com/php/php_includes.asp</a><!-- m --> , <!-- m --><a class="postlink" href="http://projep.t35.com/index.php?2=include">http://projep.t35.com/index.php?2=include</a><!-- m --> , <!-- m --><a class="postlink" href="http://us4.php.net/manual/en/function.include.php">http://us4.php.net/manual/en/function.include.php</a><!-- m --> ) which allow you to "peice together" code (the links have a better explanation.)<!--content-->If you make an iframe fill the whole window, what purpose does it serve, it might as well not be there as a normal page does the same thing.<!--content-->Originally posted by dr john <br />
If you make an iframe fill the whole window, what purpose does it serve, it might as well not be there as a normal page does the same thing. <br />
<br />
Let's say your pages are hosted by A but your domain is parked at B.<br />
<br />
People are able to access your pages at /www.someunknownhost.com/~member1234567890/pages/index.html<br />
<br />
OR<br />
<br />
They can access your domain at /www.mydomain.com/ and see the exact same pages.<br />
<br />
This can be done by using frames or iframes.<!--content-->One could simply move their website to <!-- w --><a class="postlink" href="http://www.mydomain.com">www.mydomain.com</a><!-- w --> If they can't host pages on mydomain.com, and it is simply a domain name, then it should be pointed to his web host. <br />
<br />
But odder to me is the fact that nshiell, the code you gave is effectively a frame, only not the best way to do it. If one wants to use a frame, set the HTML DTD to HTML 4.01 Frameset, and use frame codes. If your host doesn't support server includes, or any server side languages, you can't afford to move, and you have a navigation page that is often updated, frames can be an acceptable solution.<!--content-->Agreed. Why not point the domain at the server rather than use a FullScreen (silliest thing I have ever heard.. oh, no, that would be that IE is standards compliant) IFRAME; which is not accessible!<!--content-->If what Phil said is the case, then why not use a redirect? with php, <?php header("Location: <!-- m --><a class="postlink" href="http://www.somehost.com/~whatever/potato.htm">http://www.somehost.com/~whatever/potato.htm</a><!-- m -->"); ?>, and with (X)HTML I know there is a way to do this with a META tag, but I don't know the syntax...<!--content-->Omega is right. Redirect can be done using a META. I believe this is the syntax, but I could be wrong.<br />
<br />
<br />
<META NAME="REFRESH" CONTENT="INSERT URL HERE", TIME IN SECONDS><br />
<br />
<br />
Someone correct me if I'm wrong on the syntax, but I am sure that it's done with the refresh meta. It's been a while since I have used it. :D<!--content--><meta http-equiv="refresh" content="5;URL=urlhere"> <br />
5 would be 5 seconds.<!--content-->Ahh HAA!<br />
<br />
Thanks Peo for the correction; I knew that it didn't look right. lol<!--content-->Originally posted by MstrBob <br />
One could simply move their website to <!-- w --><a class="postlink" href="http://www.mydomain.com">www.mydomain.com</a><!-- w --> If they can't host pages on mydomain.com, and it is simply a domain name, then it should be pointed to his web host. <br />
<br />
Well, some Internet Providers give you access to the Internet via dial-up, cable (DSL, ADSL). They throw in 10 or 20 MB of web storage in the deal and nothing else.<br />
<br />
Domain pointers cost money - some people are tight on their money. :D<!--content-->Yes, but if one has already bought the domain, it has to be pointed somewhere. I don't understand how someone could buy a domain, with it pointed at a webhost, and not use the webhost. The domain has to be pointed at a webhost, so why not use that webhost?<!--content-->I know the feeling... I still use a free host, and free software. But I don't have the option of purchasing web services, so, I have my excuse. :D<!--content-->
 
Back
Top