<!--my code for info button-->
<button type="button" onclick="if (document.getElementById('PartitionSource Info').style.display !=''){
document.getElementById('PartitionSource Info').style.display='';
document.getElementById('PartitionSource Info').innerHTML='infomation based on button';
}
else{
document.getElementById('PartitionSource Info').style.display='none';
}">
Info
</button>
<p id="PartitionSource Info" style="display: none">
text</p>
And here is the actual button
No comments:
Post a Comment