1
Hide/View Code on Mon Mar 29, 2010 2:46 pm
shamzblueworld
Registered Member

Hi guys, Here is a Code
Now i know how we can use it under a forum, but I want to use it under a topic, how can we do this?
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>
Now i know how we can use it under a forum, but I want to use it under a topic, how can we do this?
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?






