Log In · Register

 
iFrames
rawoarbby
post Jul 21 2007, 06:49 PM
Post #1


Newbie
*

Group: Member
Posts: 2
Joined: Jul 2007
Member No: 547,967



I really don't understand iframes; but it would be so much easier to actually change the layout than going to EVERY single page and changing the layout there;
anyone willing to help?

i understand about the code
<iframe frameborder="0" width="500" height="5000" src="http://yousite .com/index.html" name="Content" allowTransparency="true" scrolling="no" align="top" style="position:absolute; top:450px; left:206px"></iframe>

but i don't really underztand the rest;
am i suppose to put the iframe code in every single page that i want the same layout in?
and
am i suppose to have a separate iframe code for the sidebar and the updates?
please help
 
 
Start new topic
Replies (1 - 4)
*karmakiller*
post Jul 21 2007, 09:53 PM
Post #2





Guest






If you have multiple pages and you don't want to update them all when you change your layout, I'd suggest using PHP Includes. You can use DIVs instead of iFrames. They're pretty easy to use, I prefer them over iFrames.

You can still use iFrames. Your content pages can use CSS. Just fill out a stylesheet and upload it and then you can link it. You don't change the layouts on that page. So basically, you have one main page that you update and put the iFrames on and you change the height and width of the iFrames when you update your layout. You can put as many iFrames on your page as you'd like.
 
Chicago
post Jul 21 2007, 10:55 PM
Post #3


1 2 3 4 5 6
*****

Group: Member
Posts: 788
Joined: May 2007
Member No: 522,043



i agree with karmakiller, DIVS are mucho' easier
 
moorepocket
post Jul 21 2007, 11:19 PM
Post #4


Death is a promise given to us at birth
*******

Group: Official Designer
Posts: 4,757
Joined: Mar 2004
Member No: 7,459



iframes are intend to put information w/o all the codes. It's simplier if you have it on every page. It's less coding. Like radio.blog.

width="500"
height="5000"
src="http://yousite .com/index.html" (the page in which you want to show)
name="Content" (for link navigations)
allowTransparency="true" (transparent background)
scrolling="no" (scrollbar)
align="top"
style="position:absolute; top:450px; left:206px
(you don't really need the last two)

But if you want an iframe layout like this. Then all you need is the pages and put it in a frame.

(that was so hard to explain. Hope i make sense.)
 
*tripvertigo*
post Jul 24 2007, 02:17 PM
Post #5





Guest






you should just give up.
 

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