PDA

View Full Version : HTML Question... Is this possible... ???


TGITC
06-15-08, 08:34 PM
I dont think it is, but, hey... I dont claim to know everything so perhaps I can be enlightened?

OK, Imagine you have two pages... You want to link from one page to another, yet you want the link to goto a CERTAIN place on the page... (For sake of example the second page is a long page, and the part that you would like to reference is half way down a long scrolling page... )

Now, usually to do the above, I would simply place an 'anchor' tag on the second page and reference it correctly in the html of the link...

That is pretty much a given....

However, suppose I dont have control over the second page. In other words, it is not 'my' page, so I cannot place an anchor tag in the html.... Infact I cannot do anything to the html, as the I have no control of the page....

Is it possible to create the same effect as an anchor tag, by using a specific string of text, which is on that second page???

As I said, I dont think I can, but I would appreciate it if there IS a way to do this, and someone could tell me???

Thanks...

mOBSCENE
06-15-08, 09:47 PM
Only way I think it's possible is, say, if there are anchor tags in some form already in the target page that you can appropriate, eg in the following I could link to an Amazon page and it goes straight to the Product Description using their own productDescription anchor

http://www.amazon.co.uk/gp/product/B000HK3JH4/ref=s9top_c6_img3-rfc_p?pf_rd_m=A3P5ROKL5A1OLE&pf_rd_s=center-6&pf_rd_r=1X7XW7KG1C0943QPEGM6&pf_rd_t=101&pf_rd_p=173836091&pf_rd_i=468294#productDescription

You can play around and also find you can use things like DIV id and H3 tags as anchors - eg in the following i link to ITV.com, but make it go somewhere near the bottom using one of their div id tags:

http://www.itv.com#placeholderadvert1

Because the target page may not be designed for such use, it may need playing around to get it to jump somewhere specific.

Not sure if there's any other way of doing it.

TGITC
06-15-08, 10:30 PM
OK Thanks... I'll have to have a play :)

TGITC
06-16-08, 12:50 AM
Only way I think it's possible is, say, if there are anchor tags in some form already in the target page that you can appropriate, eg in the following I could link to an Amazon page and it goes straight to the Product Description using their own productDescription anchor

http://www.amazon.co.uk/gp/product/B000HK3JH4/ref=s9top_c6_img3-rfc_p?pf_rd_m=A3P5ROKL5A1OLE&pf_rd_s=center-6&pf_rd_r=1X7XW7KG1C0943QPEGM6&pf_rd_t=101&pf_rd_p=173836091&pf_rd_i=468294#productDescription

You can play around and also find you can use things like DIV id and H3 tags as anchors - eg in the following i link to ITV.com, but make it go somewhere near the bottom using one of their div id tags:

http://www.itv.com#placeholderadvert1

Because the target page may not be designed for such use, it may need playing around to get it to jump somewhere specific.

Not sure if there's any other way of doing it.

Barmy Army? = Exploited?

If so... Why have we not met at a meet yet !!! ???? :)

mOBSCENE
06-16-08, 02:05 AM
Barmy Army? = Exploited?

If so... Why have we not met at a meet yet !!! ???? :)

1) I rarely attend meets.

2) I'm thinking more cricket than punk :)

TGITC
06-16-08, 02:40 AM
1) I rarely attend meets.

2) I'm thinking more cricket than punk :)

OK... I just had to ask though :)