| View previous topic :: View next topic |
| Author |
Message |
elisabeth_rb
Joined: 31 Mar 2009
Posts: 5
|
| Posted: Tue Mar 31, 2009 6:10 am Has the 'Target' tag etc changed? |
|
|
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
Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA
|
| Posted: Tue Mar 31, 2009 6:32 am |
|
|
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
|
| Posted: Tue Mar 31, 2009 6:42 am |
|
|
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! :? :(
Oh, it's a Geocities site, if that clears any mud. |
|
|
Corey Bryant
Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA
|
| Posted: Tue Mar 31, 2009 11:53 am |
|
|
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
|
| Posted: Wed Apr 01, 2009 11:42 am |
|
|
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
Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA
|
| Posted: Wed Apr 01, 2009 12:47 pm |
|
|
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
|
| Posted: Fri Apr 03, 2009 12:39 am |
|
|
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?? :D |
|
|
Corey Bryant
Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA
|
| Posted: Fri Apr 03, 2009 4:52 am |
|
|
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?? :D
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
|
| Posted: Sun Apr 05, 2009 11:24 am |
|
|
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
Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA
|
| Posted: Sun Apr 05, 2009 2:05 pm |
|
|
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 |
|
|
| |
|
|
|