1 >
返回列表 发新帖 回复

[程序咨询] hide/show div with 'nid

楼主
查看 815 回复 2| 发表于 2017-08-01 16:23:57

Hi, 


I want to show/hide div with 'nid' check in read chapter page by using javascript.

Example : Get 'nid' data from this link 'module/novel/read.php?tid=9&nid=3&cid=20' for checking condition.

And the condition is 'If nid=3 ; show div and if nid not = 3 ; hide div'.

Could you help me to write javascript or php code?

沙发
发表于 2017-08-01 22:59:37

If nid=3

{cur:nid=3}Show here{/cur}


If nid!=3

{cur:nid=3}Hide here{/cur}


板凳
发表于 2017-08-02 09:18:42

Wow! it's easily

thank you very much.

1 >
返回列表
您需要登录后才可以回帖 登录 | 注册