Using link #id attribute with frames...

User 2078965 Photo


Registered User
7 posts

OK thank you -
I'd like to link to the specific post 'Reflection 1-5' which is on this page
http://www.jungturks.com/news (scrolling down a bit)

from this page
http://www.jungturks.com/news/mn1.html

Right now I can only link to that post using this code,

<a href="/news/news.html#Reflection" target="_top">

which does not return the 'menu' frame, only the 'news' frame.
User 122279 Photo


Senior Advisor
14,649 posts
Online Now

Sorry, I have tried to make sense out of it, but it seems that there are several framesets involved (one for every menu item by the looks of it). Frames were THE thing some 10-12 years back as it was used to simplify the creation of a navigation among other things. But with all these framesets competing against each other, it is complicating something that could be made much easier. It's also advisable to have the links to all the sub-pages 'up front' with links back to the start page, else visitors to the site will think they have entered a maze.

I strongly advise you to start over. If you really want to stick with the frames, you should have just one frameset page, preferrably the index.html, and maybe call the upper frame 'top' and the lower one 'bottom' or something similar, and then have in the 'top' frame a line in the header section saying
<base target=bottom>

That will open all the links in the navigation in the 'bottom' frame.

If you want the page to open showing a special paragraph, you need to insert where you go FROM this bit of code:
<a href="/news/news.html#Reflection">some-text-to-make-the-link-show</a>


and where you are jumping TO has to have this:
<a name="Reflection">


Good luck!
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2078965 Photo


Registered User
7 posts

Thanks for that Inger, I'll take your advice and modernise the code when I overhaul the site - looks like I have some work ahead of me!
Really appreciate all the help from everyone, no doubt I'll be back with some more questions:)
User 122279 Photo


Senior Advisor
14,649 posts
Online Now

You're welcome to it ;)

Just out of curiosity, why the name Jung Turks? That was a political movement in Turkey about 100 years ago, but I think your site is based in Ireland? Is there a common denominator somewhere?
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2078965 Photo


Registered User
7 posts

You're right Inger, I believe 'Young Turks' was the name of that movement - we go with Jung though (from the psychiatrist Carl), which I'm sure there is some reason for ;)

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.