Jump to:

23486 Posts in 18995 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Re: Javascript menu

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: 422 Views
  • OutrunTheWolf
    Avatar
    Community Member
    34 Posts

    Re: Javascript menu Link to this post

    I don't quite understand,

    So I put:

    $(document).ready(function() {
    $('ul.sf-menu').superfish();
    });

    into a new Javascript file, and linked it through the requirements in my Content Controller. It didn't work.
    I also tried putting it straight into my PHP right after the requirements section, but its not PHP so I guess that's why

    422 Views
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.