Highlighted

Link from one page a specific place in another page,.

Explorer ,
Jun 07, 2020

Copy link to clipboard

Copied

I'm at my wits end! In GoLive and early versions of DW, it was so simple to add an anchor, name it and then link to it. I realise that anchors are long gone, I have read the current Adobe tutorial on linking, read through previous forum posts and I still don't get it. The best I've acomplished is creating a link from the index page to the actual photo (the photo comes up by itself, not on its page), I don't want a link to the actual photo, I want a link to where the photo is on the other page. Surely there must be a simple step by step to this?  

 

Here is the code on the index page:

<p><a href="photogallery/suburb/spencer_st/a406.jpg">Spencer St</a></p>
         <p class="text-left"><a href="spen_a406>Spencer St.</a></p>
 
And here is the code on the page where I want the link to go to
 
<img src="a406.jpg" alt="" width="1400" height="918" id="spen_a406"/>

You dont need the / after map.html also you dont really need the http:// domain name stuff infront of the link -see below for how your link should look:

 

 

 

<a href="vr%20map/map.html#telmap">

 

 

 

Also its bad practice to have spaces between folder or file names, should be:

 

vr_map not vr%20map

 

Views

382

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Link from one page a specific place in another page,.

Explorer ,
Jun 07, 2020

Copy link to clipboard

Copied

I'm at my wits end! In GoLive and early versions of DW, it was so simple to add an anchor, name it and then link to it. I realise that anchors are long gone, I have read the current Adobe tutorial on linking, read through previous forum posts and I still don't get it. The best I've acomplished is creating a link from the index page to the actual photo (the photo comes up by itself, not on its page), I don't want a link to the actual photo, I want a link to where the photo is on the other page. Surely there must be a simple step by step to this?  

 

Here is the code on the index page:

<p><a href="photogallery/suburb/spencer_st/a406.jpg">Spencer St</a></p>
         <p class="text-left"><a href="spen_a406>Spencer St.</a></p>
 
And here is the code on the page where I want the link to go to
 
<img src="a406.jpg" alt="" width="1400" height="918" id="spen_a406"/>

You dont need the / after map.html also you dont really need the http:// domain name stuff infront of the link -see below for how your link should look:

 

 

 

<a href="vr%20map/map.html#telmap">

 

 

 

Also its bad practice to have spaces between folder or file names, should be:

 

vr_map not vr%20map

 

Views

383

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Jun 07, 2020

Copy link to clipboard

Copied

I see that you have found the solution.


Ben

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Jun 08, 2020

Copy link to clipboard

Copied

I've suceeded in linking to the photo but I want to link to the place in the page where that photo lives.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Jun 08, 2020

Copy link to clipboard

Copied

You just use the id of the image in the anchor tag:

If your image is in the photogallery.html page:

 

<a href="photogallery.html#spen_a406">Spencer St</a>

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Jun 13, 2020

Copy link to clipboard

Copied

OK, I'm trying this again. I've looked up some sample code examples and have done everything they say but it's still not working, what am I missing?

 

The code from my index page:

<a href="http://victorianrailways.net/vr%20map/map.html/#telmap">

 

And the code to where I want the link on the index page to go:

<a href="M0034-1-23-05-1923.png"><img src="M0034-1 23-05-1923small.jpg" alt="" width="250" height="200" id="telmap"/>

 

(I've since changed this code on the actual page as I didn't want a dead link on my index page.)

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Jun 13, 2020

Copy link to clipboard

Copied

You dont need the / after map.html also you dont really need the http:// domain name stuff infront of the link -see below for how your link should look:

 

 

 

<a href="vr%20map/map.html#telmap">

 

 

 

Also its bad practice to have spaces between folder or file names, should be:

 

vr_map not vr%20map

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Jun 14, 2020

Copy link to clipboard

Copied

Thank you so much! The  "/ "seemed to be causing the problems! Working great now.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...