From the course: jQuery Mobile Essential Training
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
External toolbars - jQuery Mobile Tutorial
From the course: jQuery Mobile Essential Training
External toolbars
If you're building a jQuery Mobile application that has multiple screens in it, which pretty much any non-trivial application is going to have, you'll run into a situation where you want the toolbars to remain persistent on the screen as you're changing pages. And jQuery Mobile provides a way to do that using what's called external fixed position toolbars, so let's take a look at those really quick. Here in the snippets, I've scrolled down in chapter four to the external toolbars section. So let's open up toolexternal_start, and you'll see that this is very similar to the example we had earlier in the course where we had linking to an external page in the site. So here's the link, and it goes to an external webpage. And remember, what happens here is jQuery Mobile will use an Ajax request to load the external page, parse it, and put the content into the dom of the current HTML page. So, what we're going to do is build toolbars that don't have to worry about being replaced. They just…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.