viju Posted September 13, 2006 Share Posted September 13, 2006 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 More sharing options...
reportingsjr Posted September 13, 2006 Share Posted September 13, 2006 Google it? Thats what I did when I first worked with frames, but I moved away from regular frames because they made me mad.. Now I just use iframes, just as easy but better to! Link to comment Share on other sites More sharing options...
aquatsr Posted September 14, 2006 Share Posted September 14, 2006 Code? Link to comment Share on other sites More sharing options...
justsomeguy Posted September 14, 2006 Share Posted September 14, 2006 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 More sharing options...
viju Posted September 14, 2006 Author Share Posted September 14, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now