Plugin jQuery: How to build a web widget using jQuery

How to build a web widget using jQuery
http://www.jqueryrain.com/?http://alexmarandon.com/articles/web_widget_jquery/examples/web_widget_example_2/
http://alexmarandon.com/articles/web_widget_jquery/
x, , jSON, , Web
29/12/2011

Nội dung

How to build a web widget using jQuery

I created some web widgets for the London’s Design Museum and learned a few useful things in the process. Although all the necessary information can be found on the web, I couldn’t find a really comprehensive guide about doing this with jQuery so I decided to write this one. I’ll cover only techniques which are specific to web widgets so you should already be familiar with JavaScript, jQuery and web development if you want to follow easily.

The interesting points will be:

  • ensure the widget’s code doesn’t accidentally mess up with the rest of the page,
  • dynamically load external CSS and JavaScript files,
  • bypass browsers’ single-origin policy using JSONP.

Nguồn: www.jqueryrain.com/2011/12/how-to-build-a-web-widget-using-jquery/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận