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
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, 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
|
|