nrsh_ram Posted February 11, 2009 Share Posted February 11, 2009 hi to all, i want create the link to call page in same page example: in tat page i have personal details,results,family details...so i want put a link when i click on "personal details" it will show the personal details, when i click "results" it will show the result... how to create this link? Quote Link to comment Share on other sites More sharing options...
rhodesa Posted February 11, 2009 Share Posted February 11, 2009 anchors....so in the different sections, put this: <a name="section_name"></a> where section_name is the name of the section (must be unique) then on your page, if you have links, you just do: <a href="#section_name">Section Name</a> or with JavaScript...since you posted this in the JS forum: window.location.href="#section_name"; Quote Link to comment Share on other sites More sharing options...
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.