<script>
function showdiv(){
var tip;
tip = document.getElementById("one");
tip.style.display ="block";
}
function hidediv(){
var tip;
tip = document.getElementById("one");
tip.style.display ="none";
}
</script>
Firstly, your question is uninformative, and is basically asking us to decipher what you're doing and write your code for you. That's a no-no. Be more descriptive.
What on earth is that even doing? What is div#one?
superdezign wrote:Firstly, your question is uninformative, and is basically asking us to decipher what you're doing and write your code for you. That's a no-no. Be more descriptive.
What on earth is that even doing? What is div#one?
Completely agree. If you were more informative, maybe we could help. Also, learn how to use proper tags. You're using an LI when there isn't even a UL.