Hi guys...wondering if anyone can help on this one.
I have a page call index.html which is a frameset. The two frames within it are called content.html and navigation.html.
In the navigation frame I have a title. The title changes when the user clicks in the navigation frame on a section.
What i need to be able to do is the same from the content frame namely content.html i.e when I click a subject in the content frame the title in the navigation frame changes.
I have used layers and I can get the title to change if I click on each PAGE but if I click on one section on the content and then on another in the navigation the layer does not hide and i get two layers showing...
Code
function changeTop(section)
{
parent.navigation.document.all[layerShowing].style.visibility="hidden"
parent.navigation.document.all[section].style.visibility="visible"
layerShowing=section
}
can anyone help I know its confusing! but if anyone can help it would be a great help
nik
I have a page call index.html which is a frameset. The two frames within it are called content.html and navigation.html.
In the navigation frame I have a title. The title changes when the user clicks in the navigation frame on a section.
What i need to be able to do is the same from the content frame namely content.html i.e when I click a subject in the content frame the title in the navigation frame changes.
I have used layers and I can get the title to change if I click on each PAGE but if I click on one section on the content and then on another in the navigation the layer does not hide and i get two layers showing...
Code
function changeTop(section)
{
parent.navigation.document.all[layerShowing].style.visibility="hidden"
parent.navigation.document.all[section].style.visibility="visible"
layerShowing=section
}
can anyone help I know its confusing! but if anyone can help it would be a great help
nik