Graeme Posted June 24, 2012 Report Share Posted June 24, 2012 Hello All, Is it possible to have a jump link, like to top of page, but to another part of another page? Say if I have an image on a home page, when this is clicked it takes you to the point on another page explaining the ad? Thank you as always best wishes Graeme Quote Link to comment Share on other sites More sharing options...
Andrea Posted June 24, 2012 Report Share Posted June 24, 2012 Yes - it's called 'bookmark" Let's say you want to go to THIS TOPIC on page 2, code it like this: <h2 id="topic">THIS TOPIC</h2> And the link on the other page to get there looks like this: <a href="page2#topic">Go To Pate 2, THIS TOPIC</a> Quote Link to comment Share on other sites More sharing options...
Graeme Posted June 24, 2012 Author Report Share Posted June 24, 2012 Thanks Andrea, I have <a href="#boxercise"><img src="images/boxercisenews.gif" width="200" height="90" alt="" align="" /></a> on an index.html page and <div id="boxercise"> at the point on another page where I would like the the user to be directed to. Graeme Quote Link to comment Share on other sites More sharing options...
Andrea Posted June 24, 2012 Report Share Posted June 24, 2012 You have to include the 'other page' into the link. See my code. The way you have it now, it'll be looking for #boxercise on the same page you're on. Quote Link to comment Share on other sites More sharing options...
Graeme Posted June 24, 2012 Author Report Share Posted June 24, 2012 I think I've got it! I added <a href="ourclasses.html#boxercise"> to the code and bingo, Thank you, Best wishes Graeme Quote Link to comment Share on other sites More sharing options...
akimmi Posted July 6, 2012 Report Share Posted July 6, 2012 I think I've got it! I added <a href="ourclasses.html#boxercise"> to the code and bingo, Thank you, Best wishes Graeme thanks for correct me , i thought u were talking about hyper link <a href="http://www.-----.com">next page</a> Quote Link to comment Share on other sites More sharing options...
Graeme Posted July 6, 2012 Author Report Share Posted July 6, 2012 Thank you all very much, I really appreciate it, Best wishes Graeme 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.
Note: Your post will require moderator approval before it will be visible.