Heartless Adrenaline

IFrames

HomeTutorials → IFrames

IFrames are a popular and easy way to edit and display your site.
They work by first embedding the code and URLs into your main page. Then, while viewing the main page, the other pages will appear on that page where the code told them to appear. Click here for an example.
The 'Welcome/Home' page is in the IFrame, and when you click on a navigational link, the new page will appear in that space. Cool!

Insert this code into the page you'd like the IFrame in:

All you need to do is change things in the code:
YOURPAGEHERE - change to the URL of the page you'd like in the IFrame.
width and height - set at 200x600, but you can easily change the size.
name - set at 'pop.' You can name it anything you'd like, just not numbers (they don't take to number names too well).
frameborder - set at 0, so there'll be no border.

To have a link appear only in that IFrame, inset target="pop" into your link. (ex. <a href="URL" target="pop">link</a>) If you changed the frame name, change "pop" to whatever name the frame has.

You're done! Experiment around and have fun with the frames!
If you have any questions, feel free to contact me here.