Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

85 users online



Need Help.......PLS

Need Help.......PLS

Currently viewing this thread: 1 (0 members and 1 guests)


DeSiGnZ1

DeSiGnZ1

Status: Offline!

Need Help.......PLS

Im doing a website which it needs iframes so I can put my menu on the left and the main page on the right... Can someone help me out step by step with this cuz I've done it just once looking at a tutorial step by step but I haven't seen a good tutorial which tells u the step by step on how to do this.

I would really appreciate it....Thanks;)

___________________

(Hear me out now)
(You are gonna listen to me like it or not)

army

army

Neverside Peacekeeping Forces
Status: Offline!

iFrame (inline frame) is a method that used to make a page shown in a page. So you can have 2 page shown on a browser.
iFrame is different from frame! first time i think frame is what you want, but because you want iframe, then i'll explain iframe as much as i can
Tongue
MAKING IFRAME:
1. First you'll need page which will be shown as parent page (the page which the navbar will be shown at.
2. And then insert this code:

Code:

<iframe src="folder/yourpage.html" name="content" style="width:100px; height:100px">Sorry but your browser does not support iframe!</iframe>


Code explanation: src="folder/yourpage.html" is where you put the link to your page that you want to show at the iframe.
The name="content" part is a method used to name the iframe. so that iframe has 'content' as it names, to make a link to your 'content' iframe use this code for your link:

Code:

<a href="yourpageurl.html" target="content">Link</a>


Why should we name the iFrame and add target="content"? because if we dont, then the link would be opened just like in new window.
And the one at style="width:100px; height:100px" is to change the width and height, just change the value, like

Code:

style="width:400px; height:600px"


Hope you understand Tongue if not dont worry, fredmv and other l337 will tell you much better explanation Grin

___________________

"The only thing i hate about Sunday is that because tomorrow is Monday"
army

solow

solow

Status: Offline!

Re: Need Help.......PLS

Quote:

Originally posted by 3DeSiGnZ
Can someone help me out step by step with this cuz I've done it just once looking at a tutorial step by step but I haven't seen a good tutorial which tells u the step by step on how to do this.

HUH... you followed a step by step tut on it but you cant find a step by step tut on it.

Why dont you post an example or link of what you have and explain what you are wanting to do. Then we might be able to help you out more.

___________________

"I learn so I can Help" - Solow

DeSiGnZ1

DeSiGnZ1

Status: Offline!

I meant frames... a set of 2frames.

___________________

(Hear me out now)
(You are gonna listen to me like it or not)

Phil

Phil

with Mr. Jones
Status: Offline!

draw a picture. you can have multiple iframes or lots in one normal frameset.

___________________

http://www.philbrodeur.com - Expert PHP Development and Tutorials

AljapaCo

AljapaCo

online since 96
Status: Offline!

Re: Need Help.......PLS

Quote:

Originally posted by 3DeSiGnZ
Im doing a website which it needs iframes so I can put my menu on the left and the main page on the right...

...here you go Wink

PHP:

<?php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd" />   
<
html xmlns="http://www.w3.org/1999/xhtml">  
<
head><title>Title of you page...</title></head>  

<
frameset cols="200,*"  border="0" frameborder="0" framespacing="0">
 
<
frame src="menu.html" scrolling="auto" noresize="noresize" name="menu"  frameborder="0" framespacing="0" spacing="0" />

<
frame src="content.html" scrolling="auto" noresize="noresize" name="content" frameborder="0" framespacing="0" spacing="0" />
  
</
frameset>

<
noframes>
<
body>Text for searchengines and reallyreally old browsers.....</body>
</
noframes>

</
html>
?>

That should do what you want Tongue

___________________

...a post by Tobias from http://www.alingsasju-jutsu.se/aljapaco.png

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0093 seconds.