简体   繁体   English

带有新闻资讯的Chrome扩展程序

[英]Chrome extension with news ticker

Hello fellow programmers. 各位程序员大家好。 I want to make a browser extension that will put a news ticker at the top of every page.I want to use the code here (as it will make coding easier): http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/jq-liscroll/scrollanimate.html . 我想打一个浏览器扩展,将放在一个新闻股票在顶部的每page.I要在这里使用的代码(因为它会使编码更容易): http://www.gcmingati.net/wordpress/wp- content / lab / jquery / newsticker / jq-liscroll / scrollanimate.html I would like to develop with crossrider. 我想和crossrider一起发展。 I am, admittedly, not very good with javascript but I deffinatley know enough to make a simple app like this. 坦率地说,我对javascript不太满意,但我deffinatley足够了解,可以制作一个像这样的简单应用。 I was looking at the demos on the site and realized that they did not explain how to add something like a tool bar with an extension. 我正在查看站点上的演示,意识到他们没有解释如何添加带有扩展名的工具栏之类的东西。 I am lost, more or less. 我或多或少地迷路了。 So I would appreciate it if someone could help me figure out what to do. 因此,如果有人可以帮助我弄清楚该怎么做,我将不胜感激。

btw- the news ticker will eventually connect to a server via ajax 顺便说一句,新闻自动收报器最终将通过ajax连接到服务器

You can very easily use jQuery plugin like the above. 您可以非常轻松地使用上述jQuery插件。

Simply add its javascript code and css as resources and then load it from the extension code itself. 只需添加其javascript代码和CSS作为资源,然后从扩展代码本身加载即可。

I really recommend taking a look at this Demo App: http://crossrider.com/apps/9773/ide 我真的建议您看一下这个演示应用程序: http : //crossrider.com/apps/9773/ide

You will see exactly what is needed to be done in order to pull it off. 您将确切地看到要完成它需要执行的操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM