1 Hide/View Code Mon Mar 29, 2010 4:16 pm
shamzblueworld
Registered Member
Hi guys, Here is a Code
Also I want to put those cricinfo widgets in it, so a user can click on them to view the latest scores etc.
How can I do that?
- Code:
<html>
<head>
<script type="text/javascript">
function toggleDiv()
{
if (document.getElementById("myDivBox").style.display == "block")
{
document.getElementById("myDivBox").style.display = "none";
}
else
{
document.getElementById("myDivBox").style.display = "block";
}
}
</script>
</head>
<body>
<img src="IMAGEURL.JPG" value="Show/Hide Affiliates" onclick="toggleDiv()">
<div id="myDivBox" style="display:none;">
CONTENT HERE
</div>
</body>
</html>
Also I want to put those cricinfo widgets in it, so a user can click on them to view the latest scores etc.
How can I do that?