Click to See Complete Forum and Search --> : two better than one?


leprkn
07-03-2003, 07:48 PM
i'm sure this isn't the place for it but i'm gonna try anyway

is it possible to have one hyperlink do 2 things at the same time? here's an example:

<a id="xhome" href="javascript:Toggle('home');">

this runs a script "toggle" but i also need it to open another page. this is what i was thinking:

<a id="xhome" href="javascript:Toggle('home');" href="../home.htm" target="mainFrame">

or even:

<a id="xhome" href="javascript:Toggle('home');" onClick="href='../home.htm' target="mainFrame">

HELP!!!!

jdavia
07-03-2003, 10:11 PM
Try reading this.
http://www.cafe.edu/www-tags/faq12.html