• Resolved Samim2763

    (@martinboudreaux60)


    can someone please give me an example of how to set up the link to scroll to an image? I tried using the image Id that I got out of the media library set up like this,
    <a href="#5752" rel="m_PageScroll2id">Termination</a> then pasted it into the text section of the editor but it does not work.

    this is the page I want to do it one,
    http://facadeswallsystems.com/eifs-stucco-systems/eifs/
    look in the details tab and scroll down a bit and you will see many images, I want to make a index on the page so people can easily navigate to the image they want.

    https://ww.wp.xz.cn/plugins/page-scroll-to-id/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author malihu

    (@malihu)

    Hi,

    Your img or figure tags must have an id attribute set, so you can insert links that point to that id. For example:

    <a href="#5752" rel="m_PageScroll2id">Termination</a>

    <figure id="5752" class="hammy-responsive... </figure>

    As it is now, there’s no id on your images/figures.

    Thread Starter Samim2763

    (@martinboudreaux60)

    thanks for the help, that’s exactly how I ended up doing it, ill close this out.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘scroll to image’ is closed to new replies.