A
alice
I'm attempting to create a link that is invisible to the user (there
is a background image that contains a letter in a logo which appears
to the user as the link) but will still be clickable. I have made it a
list item so that it can also act as drop down menu on hover, and
I've gotten this part to work even with the visibility set to hidden.
But I also want an onClick function, and I'm finding that this only
works when the item is visible.
Here is was I have for this
<a href="#" style="visibility:hidden" onClick="swaptext('<p>text text
text text text.</p>'); return false">A</a>
Is there any way to do this?
is a background image that contains a letter in a logo which appears
to the user as the link) but will still be clickable. I have made it a
list item so that it can also act as drop down menu on hover, and
I've gotten this part to work even with the visibility set to hidden.
But I also want an onClick function, and I'm finding that this only
works when the item is visible.
Here is was I have for this
<a href="#" style="visibility:hidden" onClick="swaptext('<p>text text
text text text.</p>'); return false">A</a>
Is there any way to do this?