[英]How can i make my tags appear as a link after typing it?
Right now i am using acts-as-taggable-on for tags and rails3-jquery-autocomplete to auto complete the tags. 现在,我在标签上使用行为作为标签,并在rails3 -jquery-autocomplete中自动完成标签。 Everything is set up but i want the effect so as soon as their done typing out a tag, underneath the text-box appears whatever tag they typed out just like when asking a question on this site.
一切都设置好了,但是我想要效果,所以一旦他们完成键入标签的操作,文本框下方就会出现他们键入的任何标签,就像在网站上提问时一样。
Can anyone show me or point in the right direction to do it how this site did it? 任何人都可以向我展示或指出正确的方向来完成此网站的工作吗?
Thank you! 谢谢!
It should be pretty simple and straightforward stuff with jquery if you write on your own. 如果您自己编写,那么使用jquery应该非常简单明了。 You will need these things -
您将需要这些东西-
Even inspecting this site's tags html will also give good insight regarding css and html there. 即使检查此站点的html标记,也可以对那里的css和html进行深入了解。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.