• Resolved rerewrite

    (@rerewrite)


    Hi,

    I am struggling with the following problem:

    When linking to the page with the anchor from an external page (menu), the link does not work.

    It seems that the Link Relationship stops it in some way.

    Same problem when the plugin is deactivated – the Link Relationship is still defined and the link is unresponsive.

    Thank you for all input.

    http://wordpress.org/plugins/page-scroll-to-id/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rerewrite

    (@rerewrite)

    Edit: This happens with the link in general, regardless of anchor.

    Fantastic plugin Manos. Thanks for all of your great work!

    I have the same concern. PageScroll2Id is a great plugin, but links to other pages that include the reference rel=”m_PageScroll2id” don’t work at all. This problem complicates site-wide application of PageScroll with CSS, integration into site-wide menus, pagination of posts, and other site maintenance.

    For example, say you have two identical pages page1.html and page2.html. On page1.html, the link <a href="page1/#someid" rel="m_PageScroll2id"> will work great. However, the link <a href="page2/#someid" rel="m_PageScroll2id"> will not do anything.

    This post describes modifications to jQuery ScrollTo coding to support this functionality:
    http://stackoverflow.com/questions/9652944/jquery-page-scroll-to-different-page

    There’s also a demo of the code working: http://vostrel.cz/so/9652944/page.html

    This addition would make this plugin about perfect.

    Plugin Author malihu

    (@malihu)

    This issue is fixed in version 1.5.1. The plugin script now fully validates href values and ids before preventing any default behavior.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Link to anchor from external menu breaks link’ is closed to new replies.