http://acc.tempting-illusions.org/calender/index.php
I used this code
- Code: Select all
script type="text/javascript">
function changeover() {
document.getElementById('link1').style.color = "pink";
document.getElementById('image1').style.display = "block";
}
function changeout() {
document.getElementById('link1').style.color = "orange";
document.getElementById('image1').style.display = "none";
}
</script>
<a href="#" onClick="javascript:changeover();" onMouseOut="javascript:changeout();" id="link1">1</a>
<img src="/calender/images/august/bdays/1.png" id="image1" style="display: none; position: absolute;">
It worked and all, and then i added a second one and it stopped working on on the first one; showing the second one again when I clicked "1" >:(
The second code was this
- Code: Select all
<script type="text/javascript">
function changeover() {
document.getElementById('link2').style.color = "pink";
document.getElementById('image2').style.display = "block";
}
function changeout() {
document.getElementById('link2').style.color = "orange";
document.getElementById('image2').style.display = "none";
}
</script>
<a href="#" onClick="javascript:changeover();" onMouseOut="javascript:changeout();" id="link2">2</a>
<img src="/calender/images/august/bdays/2.png" id="image2" style="display: none; position: absolute;">
What do I do O_O help!


