vkidv
09-24-2002, 08:03 PM
i know this is easy to do..just use the
onmouseover="status= <thing> "
but what if i want to have lots of these?
i think i'd need a script with a function to define each one actualy on the link..like:
// define all link status infomation... is this a good idea ?
var code="Coding Forums, A great place to go if you need help or want to help";
var nullv=" ";
function onoffv(on,off) {
window.status=on
window.status=off
}
//later on in the page..
<a href="http://www.codingforums.com/" onMouseOver=onoffv(code,code)" onMouseOut="onoffv(nullv,nullv)"> Coding Forums</a>
thats just what i think it it will be ( i wrote that how i think it is )
editfixed mistakes
onmouseover="status= <thing> "
but what if i want to have lots of these?
i think i'd need a script with a function to define each one actualy on the link..like:
// define all link status infomation... is this a good idea ?
var code="Coding Forums, A great place to go if you need help or want to help";
var nullv=" ";
function onoffv(on,off) {
window.status=on
window.status=off
}
//later on in the page..
<a href="http://www.codingforums.com/" onMouseOver=onoffv(code,code)" onMouseOut="onoffv(nullv,nullv)"> Coding Forums</a>
thats just what i think it it will be ( i wrote that how i think it is )
editfixed mistakes