View Full Version : "I'm a newbie...be gentle"

10-17-2003, 08:10 PM

I would like to know how to do in "javascript" that when onMouseOver an image, and the text appear in the bottom of the image?

10-17-2003, 08:21 PM
What does section 2 of our posting guidelines say?


10-18-2003, 11:47 AM
here is an example, do you need more explanations:

<script language="JavaScript" type="text/JavaScript">
function objectSetup(){
zObj = new layerSetup("text","hidden")
function layerSetup(id,visibility) {
if (document.getElementById){
this.obj = document.getElementById(id).style;
this.obj.visibility = visibility;
return this.obj;
function rollOn(){
zObj.visibility = "visible";
function rollOff(){
zObj.visibility = "hidden";

<body onload="objectSetup()">
<a href="#" onmouseover="rollOn()" onmouseout="rollOff()">Roll over here</a><br>
<div id ="text">Text apears here on rollover</div>

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum