Jump to content

html help: FRAMES, targets, and # links


viju

Recommended Posts

alright, so i made a webpage in html with two frames. the top which has the graphic banner on it, and a little table of contents right below it. this frame should always be visible.the second frame is the bottom half, which has the chapters of info/text on it. now on the top frame, i want to have a href="#asdfasdf" target="bottomframe" links, so it'll scroll the bottom frame to the right spot/chapter. after i incorporate the a name="#asdfasdf" spots in the bottom frame, it still doesn't work. instead, it just loads the top frame in the bottom frame (so i'm looking at my banner/table of contents twice).any thoughts on how to get this working the way i want it to?many thanks,vj patel

Link to comment
Share on other sites

You need to specify the file name, in addition to the anchor name. If you only specify the anchor name, it thinks you are using the same file that contains the anchor, which is why it loads the top file in the bottom frame. Specify both the file name for the bottom frame, and the anchor name.href="bottomframe.html#name"

Link to comment
Share on other sites

You need to specify the file name, in addition to the anchor name. If you only specify the anchor name, it thinks you are using the same file that contains the anchor, which is why it loads the top file in the bottom frame. Specify both the file name for the bottom frame, and the anchor name.href="bottomframe.html#name"
thank you justsomeguy, you're a real peach! :) fixed my problem
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...