Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

#name and hide layer onclick event

Status
Not open for further replies.

hablablow

Programmer
Sep 9, 2000
115
FR
hi,

i would like onclick to catch the hidelayer event and the a href target( link to a name="topPage" )
Unfortunately it handles only the hide layer event and doesn't target the a name, go to the top the page.
<a href="#topPage" onclick=" hideLayer('menu1'); return false" onmouseover="window.status=''; return true" onmouseout="window.status=''">TOP OF PAGE</a>

Any help is appreciated
Thanks for your interest.....
Guida.
 
That's because you're returning false from your onclick.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top