HTML frame development!

This is a discussion on "HTML frame development!" within the Web Page Design section. This forum, and the thread "HTML frame development! are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 18th, 2008, 23:34
FNG FNG is offline
New Member
Join Date: Jan 2008
Location: Paris, France!
Age: 15
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question HTML frame development!

Hello, From last some days i am looking for a thing to learn in HTML that will give a new look to my site!!! the thing is Set of frames!

I mean I will have 2 frames on my Index.html!
Frame A will be a small bar on the left which will contain other links of my other web sites and services!
Frame B will show index file!

NOW the problem is i want when some on click on any link in Frame A, the link must be loaded/navigated in Frame B and Frame A should not go any where should stay on where it is!

let me give an example! you can go to ; http://www.hmonitor.net and have a look on their Frame! if you click on any thing in frame a suppose you click on Download the Frame B will get download page on it and Frame A will stay as it is!!!

So please help me for this!!!! i hope many web masters will help me!
I will be very thankful to all the helpers! waiting for answer!!

FAISAL!
Reply With Quote

  #2 (permalink)  
Old Jan 18th, 2008, 23:38
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,801
Blog Entries: 9
Thanks: 2
Thanked 2 Times in 2 Posts
Re: HTML frame development!

Stop!
Frames are not good! Use PHP includes.
I will try and find the article, it explains everything.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #3 (permalink)  
Old Jan 19th, 2008, 05:09
JustinStudios's Avatar
SuperMember

SuperMember
Join Date: Mar 2007
Location: USA
Posts: 404
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: HTML frame development!

Agree with Alex on this, Frames died about 7 years ago. First thing is to not go that route. Like Alex has suggested you can use includes to make it where you only have to edit 1 page for each item instead of multiple pages for the same items. Also, you can use CSS to make the static links on the left side if you would like, so that isn't an issue either.

First you need to know if your host provides support for ASP or PHP.

If it supports ASP:
Code: Select all
<!--#include file="FileName.ext"-->
There is no extra coding needed for it, it just goes right into the page like this.

If it supports PHP:
PHP: Select all

<?PHP
include("FileName.ext");
?>
You have to tell the browser that you are using PHP code to use this include. The above will put that there for you.

Hope that helps
Reply With Quote
  #4 (permalink)  
Old Jan 19th, 2008, 08:34
Up'n'Coming Member
Join Date: Jan 2008
Location: London
Age: 18
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Re: HTML frame development!

But if you decide you want to go and use frames (I dont see why you would)

The bit of code you need goes in your <A HREF target="frameBname" src="page.html">
Change the frameBname to your B Frames name.

But i do suggest using php includes!!

Good luck

~Dean
Reply With Quote
  #5 (permalink)  
Old Jan 19th, 2008, 08:49
Jack Franklin's Avatar
Resources Administrator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,319
Blog Entries: 8
Thanks: 13
Thanked 6 Times in 6 Posts
Re: HTML frame development!

http://creativecoding.webforumz.com/...ips-tricks/#q2

PHP Includes.
__________________
Resources Administrator


Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
Reply With Quote
  #6 (permalink)  
Old Jan 19th, 2008, 11:57
FNG FNG is offline
New Member
Join Date: Jan 2008
Location: Paris, France!
Age: 15
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: HTML frame development!

Quote:
Originally Posted by Bravo81 View Post
But if you decide you want to go and use frames (I dont see why you would)

The bit of code you need goes in your <A HREF target="frameBname" src="page.html">
Change the frameBname to your B Frames name.

But i do suggest using php includes!!

Good luck

~Dean
well, 1st of all thanks a lot sir! well actually problem is php is difficult and will take time i don't want to get into It and if it's possible in html so why not in HTML??

well here the code you gave up here the problem is when i insert in my Frame a file! it don't show any thing i mean tehere in no text like "contact us" so it will load contact.html in the Frame B! so please help me regarding to that!!!
Reply With Quote
  #7 (permalink)  
Old Jan 19th, 2008, 12:11
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,801
Blog Entries: 9
Thanks: 2
Thanked 2 Times in 2 Posts
Re: HTML frame development!

Why not to use frames.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #8 (permalink)  
Old Jan 19th, 2008, 12:53
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: HTML frame development!

Quote:
Originally Posted by FNG View Post
well, 1st of all thanks a lot sir! well actually problem is php is difficult and will take time i don't want to get into It and if it's possible in html so why not in HTML??
Give yourself an afternoon or two to learn basic PHP, and you should be fine with includes.

PHP is much more powerful than frames. I used to use SSI instead of PHP for includes, but once I learned PHP I was able to save myself a LOT of work by programmatically including items ("if this, then include that" or "take this variable and plug it into all three of those gaps").
Reply With Quote
  #9 (permalink)  
Old Jan 19th, 2008, 13:34
Up'n'Coming Member
Join Date: Jan 2008
Location: London
Age: 18
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Re: HTML frame development!

Quote:
well, 1st of all thanks a lot sir! well actually problem is php is difficult and will take time i don't want to get into It and if it's possible in html so why not in HTML??

well here the code you gave up here the problem is when i insert in my Frame a file! it don't show any thing i mean tehere in no text like "contact us" so it will load contact.html in the Frame B! so please help me regarding to that!!!
It seems he really wants to use Frames.

Can you explain your problem better please? I dont understand.
!! - EDIT - !!

I get ya,

Ok, so its:

<A HREF target="frameBname" src="contact.html">Contact Us</a>

Hope that helps.

~Dean

Last edited by Bravo81; Jan 19th, 2008 at 13:35. Reason: Update
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a HTML frame inside a Flash? Is this possible? toenick Starting Out 1 Mar 30th, 2008 12:03
EASY PEASY Displaying frame address in another frame question molotov JavaScript Forum 3 Nov 20th, 2007 17:29
when this frame loads in flash, print this text in html... cosmicbdog Flash & Multimedia Forum 13 Jun 7th, 2007 16:54
html form nested frame target sj700 Web Page Design 1 Nov 30th, 2005 08:51
<frame> Fox Web Page Design 1 Aug 26th, 2005 20:58


All times are GMT. The time now is 20:52.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43