one way around it might be to add a function to your web page and then invoke the function when clicking on the buttons of the navbar.

for example, assume you had a function in your page

function show_question(id)
{
...
}


You could then invoke the function by adding

javascript:show_question('q1'); wihtin the url field of the button or menu

Hope this helps