If your goal is to display the hash (#printProj, etc.) in the address bar, no. There's no way.
However, if you would be happy without that (the hash will still show in the status bar on hover of the link if the browser has that feature enabled), just have each onclick return false, example:
Code:
<a href="#printProj" onclick="showPane('printProj'); return false;">PRINT</a>
But, it looks like you're changing the display property of divisions. If so, this in and of itself can cause the page to jump around. To prevent that, thumbsContainer should have its dimensions set to a height equal to or greater than the maximum height of its content when everything that can be revealed within it is revealed, and if it's a factor, similarly with its width. You may already have dealt with that, you don't show the page's style. And all that part should only be a factor if there's content beside thumbsContainer and/or below it. Or possibly if it's the last thing on a page that's either taller or wider than the window.
It's possible I'm missing something, either misunderstanding the question, or not correctly visualizing what the code does/would do.
If you want more help:
Please post a link to a page on your site that contains the problematic code so we can check it out.
And tell me what I need to do to see the problem.
Bookmarks