wasso Posted March 9, 2009 Report Posted March 9, 2009 well my question is a little wierd so please try to understand it :D i decided not to use frames in my html page. What i want is that in a certain html pages when you switch for html to another the positon view of the page wont change. As i press on a link that goes to another html, i dont want that the pages view well go back on top and that i will need to scroll down again. i mean that i want the html.page view to be steady, to be set on a certain view position. Quote
Andrea Posted March 9, 2009 Report Posted March 9, 2009 I'm not quite sure what you're saying - but it's a good thing you're not using frames - you shouldn't. Maybe a bookmark might help with your issue? Quote
Wickham Posted March 9, 2009 Report Posted March 9, 2009 (edited) I think Thelma is referring to an anchor. You can have an anchor for the same page so that when you click the link it will take you to another place on the same page (like a link at the bottom of the page that says "top" and takes you back up to the top) or you can have a link that takes you to a place on another page that is not the top, it can be anywhere on the page. The link on the first page would be:- Item 15 and in the code for the page 5 just above the heading for Item 15 you would put in the anchor code:- You can use absolute urls if more convenient:- Item 15 and on page 5 Edited March 9, 2009 by Wickham Quote
wasso Posted March 9, 2009 Author Report Posted March 9, 2009 Thanks i think this is what i'm looking for, but i need some directions. what do you mean above the heading? In pageA.html : i want that when i press on the "id=Education" (link in pageA) to appear on the page position view of the "id=CV" in pageB.html. i am giving this example because i did understand what you have given me, but i tried to aply but with no sucess. can you apply your instructions depending on my examples. Quote
Wickham Posted March 9, 2009 Report Posted March 9, 2009 Make your link on the first page Education You put the anchor at the place on the other page that you want to show at the top of the viewing window, so that a page appears to start with a scroll. This assumes that both files are in the same folder/directory. When I said Heading I was just assuming that you have a paragraph heading that you want to show at the top of the viewing window. You can have several anchors on a page with their different links and ids. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.