Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 04-28-2006, 02:08 PM   #1 (permalink)
 
Super Techie

Join Date: Dec 2002

Posts: 458

sickness

Default HTML Frames Help

I have to create a small website for this Web Page Programming class I'm taking, and I'm useing frames to create a navigation bar on the left and the content on the right. My question is, how can I display the title of each page, as in what's between the <title> </title> tags for each page? Right now, it's only showing what I have in the title tags for the index.htm page. I'm sorry if my description is kind of confusing. Is this even possible with frames?

Here's my website. Be nice, I'm still working on it.

http://cis.kvcc.edu/HTMLStudents/tginter2944/index.htm
__________________
<font size=1><b>Current Build:</b>
DFI Lanparty Ultra-D
<a href=\"http://valid.x86-secret.com/show_oc?id=77714\">AMD 64 X2 4400+ @ 2.20GHz</a>
Big Typhoon Heatsink/Fan
2 GB G.Skill DDR500 PC4000
eVGA 256MB 7800GTX
37GB Raptor
2x 120GB Hard Drives</font>
sickness is offline  
Old 04-28-2006, 06:22 PM   #2 (permalink)
 
Super Techie

Join Date: Apr 2006

Posts: 454

lazer_viking

Default

Looks like you're off to a good start and I understand you problem about the title not working properly. You probably have your server space set up like this

/HTMLStudents/TGINTER2944
........................index.htm
........................main.htm
........................carhistory.htm
........................nav.htm

where index.htm has nav.htm on all pages. if you want diffrent titles on all of the content pages within the index.htm, you'll need to create diffrent folders while duplicates of nav.htm and index.htm. arrange your space like this:

/HTMLSTUDENTS/TGINTER2944/CARHISTORY
..........................index.htm........index.h tm
..........................main.htm.........carhist ory.htm
..........................nav.htm...........nav.ht m

where on the index.htm in the carhistory folder you have the diffrent title you want. also, depending on wether or not you links to other pages are relative or absolute, you may or may not have to have a duplicate nav.htm.
of course, there are more practical ways to do this with a more advanced programming language that you will undoubtedly learn later on down the line.
hope this helps, i know its a little hard to understand since my illustrations of folders and such are crappy.
__________________
[CPU: e6600 @ 3300 MHz] // [MB: ASUS P5N-E SLi] // [RAM: Patriot 'eased latency' PC2-6400 @ DDR800 5-4-4-12-2T] // [GPU: 8800GTX @ 650/1000/1600 (volt modded)] // [HDD: 2x Cavier 500GiB stripe] // [Chassis: Thermaltake Armor VA8000 (black)] // [PSU: Aspire(Apevia) 680w] // [OS: Windows 7 Ultimate x64][Cooling: water cooled GPU and CPU]

3DMark06: ~11600
3DMark Vantage: 5873
lazer_viking is offline  
Old 04-28-2006, 09:43 PM   #3 (permalink)
 
Super Techie

Join Date: Dec 2002

Posts: 458

sickness

Default

Yeah, I understand that. Is there any way with Javascript? Can I create the name for the page, like name="carhistory" and in index.htm between the <head> tags call for that Javascript? Like storing the value of the page name in a variable and calling for it on the title?
__________________
<font size=1><b>Current Build:</b>
DFI Lanparty Ultra-D
<a href=\"http://valid.x86-secret.com/show_oc?id=77714\">AMD 64 X2 4400+ @ 2.20GHz</a>
Big Typhoon Heatsink/Fan
2 GB G.Skill DDR500 PC4000
eVGA 256MB 7800GTX
37GB Raptor
2x 120GB Hard Drives</font>
sickness is offline  
 
Closed Thread

Thread Tools
Display Modes

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