HTML Tutorial


 /help/HTML Help Forum   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Has the 'Target' tag etc changed?
Post new topic   Reply to topic    HTML Help Forum -> HTML Frame
View previous topic :: View next topic  
Author Message
elisabeth_rb



Joined: 31 Mar 2009
Posts: 5

PostPosted: Tue Mar 31, 2009 6:10 am     Has the 'Target' tag etc changed? Reply with quote

Dear All,

When I created the page code below, it worked just fine in that the menu bar (for which this is the code) when clicked on, would display the selected page in the other frame. This no longer works and hasn't done for quite some time, making the site a complete joke. Any ideas?? I've put the possibly doubtful bit in red and, yes, my frames are named (or that possibly the problem??)

<html>
<head><title>Direction Bar</title></head>
<body bgcolor = "#CCDDFF" text ="#000000" link ="#220055" vlink ="#220055" alink = "#220055">
<base target = "main_view">
<center><p><img src= "image9.gif" height = 75 width = 52></p>

<table border = 3 cellpadding =3 cellspacing = 2>
<tr><td bgcolor = "#EEEEFF"><center><font size = 4><a href ="format.html">Build-a-Site!</a></td>
<tr><td bgcolor = "#EEEEFF"><center><font size = 4><a href ="lingo.html">Lingo!</a></td>
<tr><td bgcolor = "#EEEEFF"><center><font size = 4><a href ="needlefr.html">Needle Arts</a></td>
<tr><td bgcolor = "#EEEEFF"><center><font size = 4><a href ="universe.html">Universe</a></td>
<tr><td bgcolor = "#EEEEFF"><center><font size = 4><a href ="cover.html">Home</a></td>
</table><br>
<img src = "image13.gif" height = 80 width = 75>

</body>
</html>
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Tue Mar 31, 2009 6:32 am     Reply with quote

What's the source code of the frames? Have you considered updating the site so you are not using frames - as you can see, frames are problematic.

_________________
Corey
Toll Free Phone Numbers | Processing Credit Cards | Microsoft Expression Web Blog
elisabeth_rb



Joined: 31 Mar 2009
Posts: 5

PostPosted: Tue Mar 31, 2009 6:42 am     Reply with quote

Here's the frames source code:

<html>
<head><title>ElisabethatGeocities</title><meta name = "keywords" content = "creator, universe, solar system"</head>
<frameset cols = 15%,* frameborder = "no" framespacing = "0">
<frame src = "direct.html" name = "menubar">
<frame src = "cover.html" name = "main_view">
<noframes><p>Your browser cannot read frames, so please <a href = "nfindex.html">click </a>to see this site without frames.</p>
</noframes>
</frameset>
</html>

I know they're tricky little beasts, and I wouldn't complain normally, it's just that they used to work just fine and did so for several years, but don't anymore! Confused Sad

Oh, it's a Geocities site, if that clears any mud.
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Tue Mar 31, 2009 11:53 am     Reply with quote

If it is a free account with Geocities, that could even complicate things since they add code on top of your code.

Try adding the name attribute to one of your links in the direct.html page to see if that helps.

_________________
Corey
Toll Free Fax Solutions | Mile High Merchant Accounts | Expression Web Blog
elisabeth_rb



Joined: 31 Mar 2009
Posts: 5

PostPosted: Wed Apr 01, 2009 11:42 am     Reply with quote

Corey Bryant wrote:
If it is a free account with Try adding the name attribute to one of your links in the direct.html page to see if that helps.

Thanks. I'm not sure what this means though...
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Wed Apr 01, 2009 12:47 pm     Reply with quote

Where you have
Code:
<a href ="format.html">Build-a-Site!</a>

try
Code:
<a href="format.html" name="main_view">Build-a-Site!</a>

Now would be a good time though to really consider updating your website (updating your code: removing the deprecated <font> elements, etc).

_________________
Corey
Toll Free Phone Numbers | Processing Credit Cards | Microsoft Expression Web Blog
elisabeth_rb



Joined: 31 Mar 2009
Posts: 5

PostPosted: Fri Apr 03, 2009 12:39 am     Reply with quote

Thank you. So, what you mean here is, instead of using a base target tag, I have to direct each and every link to the relevant window? (PS I've just tried it and it didn't seem to work, but I'll wait a while before stating that for certain as sometimes it doesn't seem to update for a few hours with G.)

Re the other tags, do you know where I can find a list of those in common use now. Out of interest, why are those termed as 'deprecated'? What's so despicable about them?? Very Happy
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Fri Apr 03, 2009 4:52 am     Reply with quote

elisabeth_rb wrote:
So, what you mean here is, instead of using a base target tag, I have to direct each and every link to the relevant window?

Yes - if you have to use frames - but I have to say it again so that hopefully you will consider it, especially after seeing some of your code (Build a Site).

You might check out my changes are not showing up. You can always view the source code to make sure the added code is there. Doing a hard refresh (CNTL-F5) will help to make sure you get a current copy from the server.

elisabeth_rb wrote:
What's so despicable about them?? Very Happy

Styles (CSS) is the preferred method now. As we progress, code changes / gets updated. Styles help you layout the website, control the fonts, backgrounds etc in one single file. This way, if you need to make a change - say you want the background to be a light grey instead of white, you make a change to one file & all the pages that are attached to that style sheet will have the correct background color.

_________________
Corey
Toll Free Phone Numbers | Processing Credit Cards | Microsoft Expression Web Blog
elisabeth_rb



Joined: 31 Mar 2009
Posts: 5

PostPosted: Sun Apr 05, 2009 11:24 am     Reply with quote

Thanks a lot, Corey. I always thought of CSS as being a bit too involved for me, but I probably will re-do the whole site and dump a large portion of it anyway. Not exactly a priority though.=)

To be totally truthful, I don't really mind if some piece of coding is considered crummy these days - if it works, it'll do!!LOL! Not that it's particulalry relevant, but there are a lot of older things that are looked down on now, but are actually a great deal better than what goes these days!

Thanks a lot for your help. I'll revamp the whole site when I get to it. Most of it us just stuff from uni over 10 years ago anyway and really isn't that important. It's when Geocities decide to delete all your files without warning, then reinstate them 3 days later that really gets me!!!
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Sun Apr 05, 2009 2:05 pm     Reply with quote

It's not that it's crummy really, but when you want to validate your code - this is where you will run into some problems. The validators will throw out errors, telling you to use styles (deprecated HTML tags).

_________________
Corey
Virtual Office Solutions | Processing Credit Cards | Microsoft Expression Web Blog
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> HTML Frame All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial