Jump to:

23450 Posts in 18899 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » <a> not working properly

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 399 Views
  • leafchild
    Community Member
    41 Posts

    <a> not working properly Link to this post

    To make fancybox works I had to add the code below to _config.php file

    SSViewer::setOption('rewriteHashlinks', false);

    That cause Anchor tag - link to in same page not working properly.

    <a href="#aaa">Link</a>
    <a name="aaa">Jump to here</a>

    Now #aaa not take me to "Jump to here" in the same page but take me to mydomain.com/index.php/#Contact

    What is the best way to fix this issue?


Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.