/*********** V3.x-dev ************/
Version 3 of Single Page Website (SPWv3.x)
- Uses Ben Alman Jquery HashChange Library (http://benalman.com/projects/jquery-hashchange-plugin/), to bind the scrolling behavior to #hash URL segment changes.
- Transforms the URLs of the main menu options placing the path of the URL as the #hash fragment of the URLs. Like
http://www.mysite.net/about/services to http://www.mysite.net/#!/about/services
- uses a section element with an id that has the "sp_" prefix and a number for each page added. sp_0, sp_1, sp_2... and so on.
- A scrolling event is triggered according to the corresponding hash.
- When the user scrolls manualy, either using the mouse Wheel or the browser scrolling slide, the corresponding menu item will get the 'active' class as well as the title of the page will change when reaching a particular page.
- Single page website pages always fill the complete window height. If the user resizes the browsers window, the single page pages containers will adjust to fit the size of the window. This feature is optional; can be enabled/disbaled in configuration at a checkbox labeled "Adjust pages to the height of the Browser Window".
- SPWv3.x version needs the PHP Simple HTML DOM Parser, http://simplehtmldom.sourceforge.net/.
Version 1.11 of this plugin comes with SPWv3.0.