I am beginning a website project and it relies heavily on the feeling of a one page web application. We want to have sliding out panels and dynamically loading content and all the works.
But what my real question is about is wondering what the best way to mix Ember with vanilla jQuery. For instance.
I want to create a small function that will determine what link in the navigation the user clicked and thus open up a certain panel on the side of the page, that panel will have sub nav items and when one of those are clicked the whole menu will slide out revealing a page that was further behind the window if you will. That page will have some content on it but it’s not important.
What is important is that while I know I can achieve this very easily with my jQuery knowledge, I have a very limited knowledge of Ember, but I know it’s a viable option here because we would also love if we could tell our client that they can attach a URL to tweets or blog posts to highlight those various inner pages.
I know I can use resources and models to send around the information but I’ve not seen any tutorials to this point that show how to call a set of functions defined in another script with just regular jQuery when the user visits a certain route.
Is this something that’s doable?