Targeting iFrames
Ok, so you have an iframe and you want a link outside of the frame to change what's in it? What do you do? Follow these instructions and you'll have it in no time!
1) Take your iframe code:
Replace:
(i) with url of page you want to show by default in the iframe
(ii) with name the name of your iframe (can be anything you want)
(iii) with either 'auto' or 'no' depending if you want a scroll bar in your iframe or not
(iv) with a number that you want the width of your iframe to be (it will be in pixels)
(v) with a number that you want the height of your iframe to be (also will be in pixels)
(vi) with a number for the width if you want a border around your iframe (calculated in pixels). Put in '0' if you don't want one.
Here's an example:
2) For a text link outside of the iframe:(ix)
Replace:
(vii) with the page you want displayed in your iframe after clicking the link
(viii) with the name of your iframe (whatever (ii) was)
(ix) with the text that you want to be linked
Here's an example:Click here to find out about us!
3) For an image link outside of the iframe:)
Replace:
(x) with the url of the page you want to be displayed in the iframe after clicking the link
(xi) with the name of your iframe (whatever (ii) was)
(xii) with the url to your image
(xiii) with a number (in pixels) of the width you would like to be around your picture. Put in '0' if none
Here's an example:
There! You should be done and have mastered the art of iframes by now! =D
(i) with url of page you want to show by default in the iframe
(ii) with name the name of your iframe (can be anything you want)
(iii) with either 'auto' or 'no' depending if you want a scroll bar in your iframe or not
(iv) with a number that you want the width of your iframe to be (it will be in pixels)
(v) with a number that you want the height of your iframe to be (also will be in pixels)
(vi) with a number for the width if you want a border around your iframe (calculated in pixels). Put in '0' if you don't want one.
Here's an example:
(vii) with the page you want displayed in your iframe after clicking the link
(viii) with the name of your iframe (whatever (ii) was)
(ix) with the text that you want to be linked
Here's an example:
3) For an image link outside of the iframe:
(x) with the url of the page you want to be displayed in the iframe after clicking the link
(xi) with the name of your iframe (whatever (ii) was)
(xii) with the url to your image
(xiii) with a number (in pixels) of the width you would like to be around your picture. Put in '0' if none
Here's an example:

There! You should be done and have mastered the art of iframes by now! =D