sazqatch
06-20-2003, 01:05 PM
I have a frame site that has some simple javascript to change the location.href for mulptiple frames when following certain links. Ive been using this:
javascript:void(parent.frames[3].location.href='../html/contact.html');void(parent.frames[1].location.href='../nav_LB_empty.html');
The problem Ive found is that when I put an html in the main frame [3] that is nested inside a subfolder, the relative urls in the navbar frame break. I know all I would have to do is keep all the html at the same level, but I need that to be organized.
you can see this in action at my test site. Follow the artists link in the main nav, then choose "mark" in the subnav. then try to go back to home in the main nav. you get file not found errors
http://www.fineartandframing.com/testing/
I thought it might be a need to use a focus command?? something to tell the browser to concentrate on the nav frame instead of the "main" frame.
help. thanks!
-Cliff
javascript:void(parent.frames[3].location.href='../html/contact.html');void(parent.frames[1].location.href='../nav_LB_empty.html');
The problem Ive found is that when I put an html in the main frame [3] that is nested inside a subfolder, the relative urls in the navbar frame break. I know all I would have to do is keep all the html at the same level, but I need that to be organized.
you can see this in action at my test site. Follow the artists link in the main nav, then choose "mark" in the subnav. then try to go back to home in the main nav. you get file not found errors
http://www.fineartandframing.com/testing/
I thought it might be a need to use a focus command?? something to tell the browser to concentrate on the nav frame instead of the "main" frame.
help. thanks!
-Cliff