Jump to content

A link from 1 page to a specific spot on another page


blogsmith
 Share

Recommended Posts

I do realise that 99% the method in your tutorials for a link from 1 part of the page to another part on the same page will not work, but because of some controversy, I decided to test it. The tests were done here:http://blogger-tricks.blogspot.com/2006/10...-described.htmlhttp://blogger-tricks.blogspot.com/2006/10...-main-page.htmlAs expected, it didn't work. Someone gave a tip: http://www.invision-graphics.com/HTML_Guide-19.htmlI tried to test it but when I tried to post it (I am using Blogger for my blog), the error message was tag broken.Here is the codes I tried to paste in my post:On origin page<?HTML Code<a href=”http://blogger-tricks.blogspot.com/2006/10/this-is-individual-post-not-main-page.html/#target">This link should lead to a spot TARGET in another post</a>On target pageClicking on the link in the previous post "This link should lead to a spot TARGET in another post" should lead the spot TARGET below<?HTML Code<a name=”#target”></a> TARGETSince I couldn't post the origin page, I could not test it. I wonder if someone here can be kind enough to point out my mistake, or to give me another method or a link to a site which show how it can be done.BTW, I wish w3schools would add a section on how to do this.Thank youPeter"I do realise that 99% the method in your tutorials for a link from 1 part of the page to another part on the same page will not work"Sorry, it should read"I do realise that 99% the method in your tutorials for a link from 1 part of the page to another part on the same page will not work for linking to a specific spot in another page"Thank you.Peter

Link to comment
Share on other sites

<a href=”http://blogger-tricks.blogspot.com/2006/10/this-is-individual-post-not-main-page.html/#target">Should be like file.html#targetwithout any slash there.
Hi skym,Thanks for the tip. Tried to edit my post. Got this error:"Your HTML cannot be accepted: Tag is broken: <a href=”http://blogger-tricks.blogspot.com/2006/10/this-is-individual-post-not-main-page.html#target">Could have something to do with limitations of posting in Blogger as posting does not accept jayascript for example.Thanks for trying to help. Or if you have something further to add, it will be highly appreciated.Peter
Link to comment
Share on other sites

"Your HTML cannot be accepted: Tag is broken: <a href=”http://blogger-tricks.blogspot.com/2006/10/this-is-individual-post-not-main-page.html#target">The first quote in your href is not an actual quote, it's some stylized crap that either Word or the blog threw in to look pretty. Change it to be an actual quote.Also, when setting up a name, you do not include the hash mark.<a name="target">...</a>

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
 Share

×
×
  • Create New...