Giter Club home page Giter Club logo

Comments (7)

wbashir avatar wbashir commented on July 30, 2024

Use the JQuery load event http://api.jquery.com/load-event/ and instantiate sidr() through $('#simple-menu').sidr();

from sidr.

Nick-K90 avatar Nick-K90 commented on July 30, 2024

Can you please explain it a bit more? Or give an example, i know it's something that i should probably understand and/or know already how to use, but i can't figure it. Maybe it's conflicting with something else, but i am not sure that i use the code correctly in the first place.

Thanks in advance.

from sidr.

wbashir avatar wbashir commented on July 30, 2024

sure, if you want your sidr menu to open on body load. I have created a simple gist for this. Let me know if it doesn't work

https://gist.github.com/wbashir/5984665

from sidr.

Nick-K90 avatar Nick-K90 commented on July 30, 2024

It worked. Thanks a lot m8, I owe you a beer.

from sidr.

artberri avatar artberri commented on July 30, 2024

Thank you @warsamebashir

from sidr.

berkant-fidan avatar berkant-fidan commented on July 30, 2024

what the great the solution? link dead!

from sidr.

wbashir avatar wbashir commented on July 30, 2024

@berkant-fidan sorry for that. I have updated the link

from sidr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.