Hi, I'm trying to use URL's such as 'mysite.com/#contact' that will show a certain div. I have my function written and working to show the div, currently being used as "$("#a.contact").click(showContact);"
How would I use something like "window.location.hash" to fire off the function "showContact" for example, if the URL was /#contact? This would need to provide for about 3 pages, Home, About, Portfolio and Contact. I know there's a plugin for enabling use of the back button etc, but I'd rather something simple without having to load plugins. Many thanks, Alex