开发者

display content using js if function on fbml

开发者 https://www.devze.com 2023-02-09 04:09 出处:网络
im trying to build an fbml for a client开发者_JAVA百科 that has a live stream functionality from 9-5 only,

im trying to build an fbml for a client开发者_JAVA百科 that has a live stream functionality from 9-5 only, out of this time they want an image informing the user of what time to come back and participate in the live stream.

i've tried to achieve this by using javascript if function but it doesnt seem to be working, any help would be greatly appreciated, code below:

9 && time"); } else if (time>18 && timeSorry come back at 9 am!"); } //-->


I think facebook not alow javascript in FBML application. You have to use FBJS instead of javascript.From facebook

FBML enables you to build Facebook applications that deeply integrate into a user's Facebook experience. To use JavaScript within FBML, use FBJS.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号