IanMarlowe
07-24-2005, 07:14 AM
I was wondering, and after much try have failed. Can you make a mouseover affect so the word (for example):
LEARN HTML
(which would be a hyperlink)
would be changed to:
LEARN HTML NOW!
?
Could you do that? It would basicallt be adding a bit of text. These are some of the ways I tried (all useless):
<script type="text/javascript">
document.write('<a href="blah.html">Hyperlink</a>
onMouseover
document.write('<a href="blah.html">Hyperlink to blah</a>
</script>
that code prooved useless...
<script type="text/javascript">
"extra"=to blah //variable
document.write('<a href="blah.html">Hyperlink</a>')
onMouseover
document.write(extra) + ('<a href="blah.html">Hyperlink</a>')
</script>
as did that one...
Any Ideas?
LEARN HTML
(which would be a hyperlink)
would be changed to:
LEARN HTML NOW!
?
Could you do that? It would basicallt be adding a bit of text. These are some of the ways I tried (all useless):
<script type="text/javascript">
document.write('<a href="blah.html">Hyperlink</a>
onMouseover
document.write('<a href="blah.html">Hyperlink to blah</a>
</script>
that code prooved useless...
<script type="text/javascript">
"extra"=to blah //variable
document.write('<a href="blah.html">Hyperlink</a>')
onMouseover
document.write(extra) + ('<a href="blah.html">Hyperlink</a>')
</script>
as did that one...
Any Ideas?