如何为其他网站创建一个javascript小部件 [英] how to Creating a javascript widget for other sites

查看:77
本文介绍了如何为其他网站创建一个javascript小部件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我需要一个小部件创建,用户可以在我的网站页面中自定义他们的网站页面(横幅/搜索引擎面板)。他们应该选择尺寸,颜色,显示文字,说明一下。我可以在我的网站上检索这些信息,我可以制作一个脚本代码。

用户可以在脚本标签内复制并粘贴他们的网站。

这里是一个示例代码我在网上看到了吗。



hi everyone, i need a widget creation for user can customize their website page(banner/ Search Engine Panel) with in my website page.they should choose a Size,color,display text,Description about. i can retreive this information in my website, and i can make a Script code.
user can copy and paste in their Website within script tag.
here is a sample code were i seeing in net.

<script src="http://www.wego.com/wegobox_cj/wegobox_cj/150x200/flights/theme=blue?ts_code=5ade7"></script>



有人帮我制作这样的代码...


somebody help me to make code like this...

推荐答案

http://alexmarandon.com/articles/web_widget_jquery/ [ ^ ]


这篇关于如何为其他网站创建一个javascript小部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆