both link to function and to header?
Posted: Tue Jan 16, 2007 8:46 am
hi there. i have a simple question. i have an anchor tag that calls a javascript function. however i want it to direct at a header in the page.
i want those two in one link. how can this be done?
Code: Select all
<a href='javascript: myfunction(x)'>Closer look</a>Code: Select all
<a href="#Some header">Closer look</a>