I changed the load_page case to load_js so that you can use the widgets separately should the need arise. These are contained within the examples folder. I will demonstrate how to combine the two into one function when we get on to building the Image Gallery itself.
Speaking of which, its now time to turn our attention to putting what we have learned thus far into building an Image Gallery.
The first thing we are going to do is set up our entry page to have accessibility features by providing an alternate navigation system when JavaScript is switched off either by a user preference or because the browser doesn't support JavaScript.
We use a list based menu format to achieve this. The code for this is as follows: