You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beehive.apache.org by James Black <jb...@ieee.org> on 2005/07/15 21:15:27 UTC

re: another question on having image react to user's mouse actions

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have two more questions, hope you don't mind.

The first is that I am trying to set two form elements on a click, one
that is a hidden element, the other is netui:label.
<a href="" title="e09sx270"
onclick="document.getElementById(lookupIdByTagId('rid',this)).value='12625';
document.getElementById(lookupIdByTagId('itemlabel',this)).value='e09sx270';
return false;">

  The rid one works, and is the hidden element. The itemlabel one
doesn't change the label at all, and I don't know why.

  Also, I have set border="0" to get rid of the border, but my boss
wants me to change the way the image looks after the user clicks on it.
  If I have a border that is generally the color of the background how
can I change the border when it is clicked on?

  The images are not in a form, I am using netui:imageAnchor for them.

Thank you for all your help so far.

- --
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black    james@usf.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC2AtPikQgpVn8xrARAtrlAKCASvgJLeOE0HH0wEuQgUDlk1QTsgCfQgeh
vexsci8f8RpEE/J4FepB65o=
=MGgV
-----END PGP SIGNATURE-----