View Full Version : how to do this?
coolguy23
June 6th, 2001, 01:12
ok, i have set up a javascript where if you roleover an image another image appears at the place of the 1x1.gif transparent file, now i need to replace it with text instead of a pic, how would i do that?
thanks by the way;)
<|R0cKm@nX|>
June 6th, 2001, 04:23
do you mean a mouseover image effect?
coolguy23
June 6th, 2001, 13:23
you know when you move your mouse over an image, it shows anotherimage somewhere else on the screen, but instead of another image appearing somewhere else, i want some text to appear, can someone help?
lucifer
June 6th, 2001, 15:39
you could write the text as a hyperlink
set href="javascript:void()" to deactivate it
use css to make link page coloured and someother colour on hover
<STYLE>
a.hidden:link,a.hidden:visited,a.hidden:active {color:xxxx}
a.hidden:hover {color:xxx}
</STYLE>
<A class="hidden" href="javascript:void()">the text here</A>
lucifer
June 6th, 2001, 15:42
if you want the text to appear somewhere else you'll have to use layers <DIV> + css and make them visible/hidden using javascript or rewrite the text in one
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.