Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi pages #1

Open
jehad1990 opened this issue Jan 22, 2017 · 1 comment
Open

multi pages #1

jehad1990 opened this issue Jan 22, 2017 · 1 comment

Comments

@jehad1990
Copy link

Hello,

I like your work a lot, but I need it to work with multi pages; I mean to able to add URL for each item on menu that can lead me to other page.

Hope you can provide this.

@Eamonnzhang
Copy link
Owner

Hi,you can try to delegate event.

$('#exampleSide').on('click','a',function(){
    console.log($(this).parent('li').index()); //the order of the item
    window.open("the url you need to");
})

I will update methods in the near feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants