Forums

This topic is locked

2 questions preload image and rollover text

Posted 12 Dec 2002 01:03:03
1
has voted
12 Dec 2002 01:03:03 jumpin jimminy posted:
i have a some descent sized flash content on my site(using DW &F mx)
can i have image or message so peole no something is on ot's way...i've tried lower source but there does not seem to be an option for it.

also how do you get that little text box to appear with a message in it and a colored background when 'rollover' a pic or some text
cheers pedro

Replies

Replied 12 Dec 2002 04:37:00
12 Dec 2002 04:37:00 Dan The Man replied:
this should do it
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<script language="JavaScript">
<!--
function changeBg(color) {
myText.style.backgroundColor = color;
}
//-->
</script>
</head>
<body>
<img name="myImage" src="" width="200" height="40" onMouseOver="changeBg('#0000FF')" onMouseOut="changeBg('#FFFFFF')"><br>
<textarea name="myText" style="width:200px; height:40px;">image/flash loading...
one moment please</textarea>
</body>
</html>

Reply to this topic