just a little correction to what pagess said:
Always have a backup in case javascript doesn't work. NoScript for firefox is getting more and more popular. For links, use something like this:
- Code: Select all
<a href="somepage.html" onclick="some_function(); return false;">My Link!</a>
The return false will stop the link from going to somepage.
html, but if javascript is disabled it'll go to somepage.
html because the return false; won't be executed.
And also, I think what you'll want is a prescripted dropdown menu and
AJAX to make this.