Re: Showing hidden answer when question clicked?
Nigel,
It won't work for ALL your visitors, but for people who have browsers
that display the ALT text when you move over an image, you could try
the ALT= tag for an image.
<a href="answerURL " target="new"><i mg src="answer.gif " height="20"
width="48" alt="The first letter of the alphabet is A" border="0"></a>
You would want to have the answer available at the "answerURL" address
in case the user has a browser that does not display the ALT image. The
top of your page could tell the user to move their mouse over the word
"Answer" to see the answer, and add (if you don't see the answer, click
there).
Since you'd re-use the "answer.gif " every place you need it, the image
wouldn't add lots of code to your page.
I'm sure there are many other methods you can use to accomplish your
purpose, like using OnMouseOver or OnClick.
Look at http://www.godloveseveryone.org/
Move your mouse over the "Get Out of Hell Free" card and you'll see an
ALT message (if you are using a compatible browser), and if you click
the image, you get an Alert message, if Javascript is active. (Just
now, I saw the ALT text on IE but not on MF, but I did see the alert
message on both.)
If you have puzzle-lovers in your family, be sure to download mazes
that contain their first names. See my signature. And if you're going
to make a purchase from Amazon anyway, see my postscript to see how to
help us at no cost to you.
John
www.GodLovesEveryone.org ("God Loves yourname" maze)
www.MAZES.com/readers/maze.asp ("yourname is an amazing reader" maze)
P.S. If you shop at Amazon, please use our links to get there:
thanks in advance
Nigel,
It won't work for ALL your visitors, but for people who have browsers
that display the ALT text when you move over an image, you could try
the ALT= tag for an image.
<a href="answerURL " target="new"><i mg src="answer.gif " height="20"
width="48" alt="The first letter of the alphabet is A" border="0"></a>
You would want to have the answer available at the "answerURL" address
in case the user has a browser that does not display the ALT image. The
top of your page could tell the user to move their mouse over the word
"Answer" to see the answer, and add (if you don't see the answer, click
there).
Since you'd re-use the "answer.gif " every place you need it, the image
wouldn't add lots of code to your page.
I'm sure there are many other methods you can use to accomplish your
purpose, like using OnMouseOver or OnClick.
Look at http://www.godloveseveryone.org/
Move your mouse over the "Get Out of Hell Free" card and you'll see an
ALT message (if you are using a compatible browser), and if you click
the image, you get an Alert message, if Javascript is active. (Just
now, I saw the ALT text on IE but not on MF, but I did see the alert
message on both.)
If you have puzzle-lovers in your family, be sure to download mazes
that contain their first names. See my signature. And if you're going
to make a purchase from Amazon anyway, see my postscript to see how to
help us at no cost to you.
John
www.GodLovesEveryone.org ("God Loves yourname" maze)
www.MAZES.com/readers/maze.asp ("yourname is an amazing reader" maze)
P.S. If you shop at Amazon, please use our links to get there:
thanks in advance
Comment