-1
我有这个javascript代码,我想将它转换为FBJS,但我不知道如何。Facebook FBJS - 5秒后显示内容
<html>
<head>
<script type="text/javascript">
function timeMsg()
{
var t=setTimeout("alertMsg()",5000);
}
function alertMsg()
{
document.write("<p>some text</p>");
}
</script>
</head>
<body>
<a href="http://www.mywebsite.com" onclick="timeMsg()">Click</a>
</body>
</html>
有人能帮助我吗?