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
|
|
![]() /人◕‿‿◕人\ ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,283 Joined: Dec 2007 Member No: 602,927 ![]() |
CODE <iframe src="http://example.com/example.html"> I think. I haven't messed with iframes in years. They kinda fell out of web standards in 2002. |
|
|
![]()
Post
#3
|
|
![]() 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> |
|
|
![]()
Post
#4
|
|
![]() Funride.org ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 326 Joined: Jul 2007 Member No: 542,299 ![]() |
QUOTE I think. I haven't messed with iframes in years. They kinda fell out of web standards in 2002. That is not correct, almost all major browsers now support iFrames. My fansite uses iFrames and I've browsed a ton of other sites with frames. |
|
|
![]()
Post
#5
|
|
![]() /人◕‿‿◕人\ ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,283 Joined: Dec 2007 Member No: 602,927 ![]() |
|
|
|
![]()
Post
#6
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 63 Joined: Jun 2009 Member No: 735,129 ![]() |
ui am not talking like that kind of frame, is a frame code that it makes one section... and in that sections evertime i click a link on it it just change to another section like this
from the index.html the iframe box is: a.html and when iclick i button without changign to another index2.html or something like that... that when iclick it it cahgnes it to b.html taht litle section |
|
|
![]()
Post
#7
|
|
![]() Mel Blanc was allergic to carrots. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 6,371 Joined: Aug 2008 Member No: 676,291 ![]() |
ui am not talking like that kind of frame, is a frame code that it makes one section... and in that sections evertime i click a link on it it just change to another section like this from the index.html the iframe box is: a.html and when iclick i button without changign to another index2.html or something like that... that when iclick it it cahgnes it to b.html taht litle section Um, I barely understand what you're saying. Maybe like using DIV's? Hm, something like this layout? |
|
|
![]() ![]() |