Help - Search - Members - Calendar
Full Version: iframe..
Forums > Resource Center > Designers' Café
mishyerr
I need to learn how to use simple, simple frames. B/C I am dying, repeating the same freaking codes 10000 times when I could frame the page into a little easy box. Comprehendo? So please help me on how to do the framing .. my English webpage project is due tomorrow..

sample: pip.com

PLEASE HELP *bows to everyone
whomps
I seriously don't get what you're trying to do.. Frame the page into a box?
mishyerr
No you know those websites with the same layout on every page.. except you have one page specifying the layout.. and the "framed" areas specify an actually different webpage? like for instance.. i have my layout, and than links to other pages within the layout, click on them, and they appear in a specified place on my layout page. like that. yeah. its something like <frame src=" "> etc.. but idno how to make it so that the link will open it itself up on its own page.. in that frame box!
freeflow
have you went here
http://www.lissaexplains.com/frames.shtml

its tutorials on frames including iframes
mishyerr
But, how do you make a link appear in the inline frame?
sweetxsimplicity
Iframes have taken over normal frames in my opinion, why? They are much easier to use, you can do fun things with them, and it looks alot nicer. I prefer I-frames, now. IFrames alows the person creating the page to display more than one webpage in a single page. They can be made to any dimensions which is a plus, unlike regular frames. To get the frames where you want on your page, you must use a technique called Div Positioning.

Getting the IFrame where you want it
To get the IFrame where you want to go, you MUST copy and paste the code below into your webpage, first:



Change the numbers for the values top, and left, to move the frame around the page. The larger the number for the top value, the further down your IFrame will go. The larger your number gets on the left value, the further right it will go. Somewhat confusing, but once you get a hang of it you can do many things with Div Positioning

The actual IFrame code
Replace the text "YOUR IFRAME WILL GO HERE" with the following code:



The YOURPAGE.html should be replaced with what the webpage you want to view in the Iframe should be. If your using PHP, than replace it with YOURPAGE.php


This is all you need to know about Iframes. Have questions? Email Me at jessiez@pixigirl.nu

View your IFrame
test out how your Iframe looks. It should look something like below:



Targeting your IFrame
To get links to direct pages into the frame, its quite simple. Once the page is inside the IFrame, base links will automatically target the IFrame. On the outside though, when creating a link, this is how you target it,

<a href="LINKHERE" target="frame">

That code for links will always target the frames. If your in a frame, and you want your target to be out of the frame, you can use the code

<a href="URL HERE" target=_blank>
mona lisa
Brianna, you should make that into a tutorial. happy.gif
[2]Nekked
QUOTE(x_angawhomps @ Apr 4 2005, 10:50 PM)
I seriously don't get what you're trying to do.. Frame the page into a box?
*


next time try looking at the topic title. -_-"


anyways..
theres a tutorial on cliquemb.com
whomps
I was more stuck on "frame the page into a little easy box".
cmila92
Does anyone knows how to iframe on mysace
pandora
Iframes do not work on myspace. It's a security risk so they are disabled.
shaunxx
link is dead, buddy.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.