![]() |
Website: What have I done wrong?
A plea for help, with reps on offer to whoever can show me the error of my ways (blatant bribery I know, but hopefully it will work ;) )
Ive set up a fairly basic web site for my work, using only html code written in M$ Frontpage 2000 ('cos it came bundled with Small Business Server) and I don't know html or anything more sophisticated.. I know the style is a bit old, and the coding even worse, and do want to update eventually. I have a small problem. The site is set up into frames, the top bar should be a constant navigation bar, with the side left frame, a local contents page and the right hand main area the main text. However I have links in the main text that should clear both the main right hand and left frames, and return to the home or index page. That sort of works, but I seem to keep the original top navigation bar, and then also load a new navigation bar duplicate under the original together with the main index page content. With apologies for spamming (but I don't know how else to explain myself): http://www.curchodandco.com/ is the index page. Now click on say "Building Surveying" and the "Party Wall Matters". That all works fine. Now scroll down the Party Wall text. At the bottom is a red logo. Click that should return to the home page, but instead does the duplicate reload :confused: Any ideas? |
Re: Website: What have I done wrong?
Check the direction in the red logo linl to home page, it seems corrupt like this:- http://www.curchodandco.com/BS/BSHome.htm it shoul read this:- http://www.curchodandco.com
|
Re: Website: What have I done wrong?
Quote:
In all honesty, you should probably skip the frames entirely, they're generally frowned on these days. |
Re: Website: What have I done wrong?
Quote:
Code:
<a href="../index.htm">Quote:
__________________ Quote:
|
Re: Website: What have I done wrong?
That picture link is wrong. At the moment, it is pointing to
http://www.curchodandco.com/index.html That is your frame page. When you do that, it loads that frame page, again, within the frame you are calling it from. What you want to do is change the link to: http://www.curchodandco.com/Main.htm And instead of loading the frame again, it will just load the front page. Or, If you want to refresh the frame, in that link, then keep the url as you have it and add: target="_parent" like this: <a href="http://www.website.com/whatever.htm" target="_parent">Link text</a> |
Re: Website: What have I done wrong?
It's even worse if you click the logo on the 'Building Surveying' page!
Graham has the answer - if he he doesn't reply while I'm typing this, you need <a href="../index.htm" target=top> I think, or it may be target="_top" [Edit] This will open in the top-most frame, or Punky's target = "_parent" will open in the parent frame - which may be the same. |
Re: Website: What have I done wrong?
http://www.yourhtmlsource.com/javasc...ingframes.html
would explain your problem and the difference between _parent and _top You'd only really need top if you go down two or more levels, which you shouldn't if you code properly. If you only go down one level (like you are) then either is fine. |
Re: Website: What have I done wrong?
Thanks guys. I'll have to have a play around. Altough I've tried both the target= options of _top and _parent, it doesn't seem to make a difference. The site might be getting cached somewhere though, so I'll have to wait till tommorrow to see what's happenning from the office.
|
Re: Website: What have I done wrong?
Quote:
|
Re: Website: What have I done wrong?
Wohoo, It's done it. just VPN'd to the office network and checked from there.
Thanks a lot all :clap: :clap: :clap: |
Re: Website: What have I done wrong?
not quite , it is still wrong when i check it , if i do a ctrl f5 it is right , i aint no web guru so i am not sure of the significance of this , i just thought i would let you know :(
|
Re: Website: What have I done wrong?
Yep, i'm seeing it sometimes is Ok sometimes not darn it :(
|
| All times are GMT. The time now is 16:43. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum