using url like a php query string
hi
i've written a script which switches between divs of a certain class on the page when appropriate links are clicked.
for the sake of accessibility, the script first hides all the divs, then shows one of them. this way, if a visitor does not have javascript enabled, the divs will show normally down the page. i've also included named links for anyone without javascript.
what i want to know is, can i use the #linkname on the end of a url to automaticall switch to the right div when the page loads?
that way, a bookmarked page would go straight to the right section
thanks.