Log In · Register

 
How to do iframe..
RealArtDesigns
post Nov 29 2009, 02:59 PM
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.
 
 
Start new topic
Replies (1 - 6)
heyo-captain-jac...
post Nov 29 2009, 03:10 PM
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.
 
Mikeplyts
post Dec 1 2009, 01:12 AM
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>
 
funride
post Dec 19 2009, 09:50 PM
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.
 
heyo-captain-jac...
post Dec 19 2009, 10:20 PM
Post #5


/人◕‿‿◕人\
*******

Group: Official Member
Posts: 8,283
Joined: Dec 2007
Member No: 602,927



QUOTE(funride @ Dec 19 2009, 08:50 PM) *
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.

Yeah they all support them, but they're not good practice.
 
RealArtDesigns
post Dec 26 2009, 01:13 AM
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
 
Mikeplyts
post Dec 28 2009, 02:29 AM
Post #7


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



QUOTE(RealArtDesigns @ Dec 26 2009, 03:13 AM) *
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?
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: