How to do iframe.. |
How to do iframe.. |
![]()
Post
#1
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 63 Joined: Jun 2009 Member No: 735,129 ![]() |
How to do iframe.. like this
like when i click on another link... in the same position that i put the iframe... uit will show up the page without having to go trought http://yoursite.ciom/index/html and them contact.html just stay on the same page... just that the iframe changes... hope ya' understand me. |
|
|
![]() |
![]()
Post
#2
|
|
![]() Mel Blanc was allergic to carrots. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 6,371 Joined: Aug 2008 Member No: 676,291 ![]() |
You could also always use an <object> tag; it works the same way an iframe does. Example:
CODE <object data="http://www.yoursite.com/" type="text/html"></object> Also, I'm pretty sure that you'll want it to fit the entire page, so just use some simple CSS in the document with the object or iframe in it. Example: CODE <style type="text/css">
* { margin:0; padding:0; } html, body { width:100%; height:100%; padding:0; } object { width:100%; height:100%; padding:0; } /* or */ iframe { width:100%; height:100%; padding:0; } </style> |
|
|
![]() ![]() |