I have
function windowHash() {
var hash = window.location.hash;
if (window.location.hash == hash) {
resizePage();
slide(hash);
}
}
I need to remove the # from the hash var in the if statement.. How would I go about doing this so the slide(); is passed with slide(‘web-design’); instead of slide(‘#web-design’);
Thanks,
Danny.
incase you need to add a check for some reason:
if(hash.charAt(0) == '#')