![]() ![]() |
| m0jo_ro |
Oct 30 2006, 05:26 AM
Post
#1
|
|
Group: Members Posts: 2 Joined: 30-October 06 Member No.: 619 |
how do i make another page load into the iframe?
i mean i wrote the html code of the iframe like this <td><iframe src ="cv.html" height="400px" width="760px" scrolling="auto"></td> how do i get another page load into the iframe? thank you. |
| pandy |
Oct 30 2006, 05:34 AM
Post
#2
|
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 13,803 Joined: 9-August 06 Member No.: 6 |
You need to add a name attribute to the IFRAME. Then, in the link, you use the target attribute to, well, target the iframe.
http://www.htmlhelp.com/reference/html40/special/iframe.html http://www.htmlhelp.com/reference/html40/special/a.html HTML <a href="otherpage.html" target="the_frame">Link</a> <iframe src="firstpage.html" name="the_frame">...</iframe> -------------------- |
| m0jo_ro |
Oct 30 2006, 06:46 AM
Post
#3
|
|
Group: Members Posts: 2 Joined: 30-October 06 Member No.: 619 |
thank you
|
| Christian J |
Oct 30 2006, 06:46 AM
Post
#4
|
|
. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 4,838 Joined: 10-August 06 Member No.: 7 |
CODE <td><iframe src ="cv.html" height="400px" width="760px" scrolling="auto"></td> The above lacks the closing </iframe> tag. Also you can't use units in WIDTH or HEIGHT attributes (but in CSS you normally must use units). Otherwise the iframe should load cv.html, if that page exists. |
![]() ![]() |
|
Lo-Fi Version | Time is now: 20th June 2013 - 07:23 AM |