Skip to main content
Inspiring
Jun 8, 2020 6:17 AM UTC
Answered

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

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"/>
    This topic is closed to new replies. Start a new post to keep the conversation going.
    Correct answer
    Jun 13, 2020 5:03 PM UTC

    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

     

    6 replies

    gunzelguyAuthor
    Inspiring
    Jun 13, 2020 3:18 PM UTC

    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.)

    Translate
    Correct answer
    Jun 13, 2020 5:03 PM UTC

    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

     

    Translate
    gunzelguyAuthor
    Inspiring
    Jun 14, 2020 2:07 PM UTC

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

    Translate
    BenPleysier
    Community Expert
    Community Expert
    Jun 8, 2020 6:48 AM UTC

    I see that you have found the solution.

    Translate
    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    gunzelguyAuthor
    Inspiring
    Jun 8, 2020 12:29 PM UTC

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

    Translate
    Jun 8, 2020 12:37 PM UTC

    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>

    Translate