News Rising
Region
  • English
  • Deutsch
  • Dutch
  • Español
  • Français
  • Italiano
  • Português
  • Русский
  • Türkçe
  • عربي
  • 中國人
  • 日本
  • 한국인
  • English

Get PRO Portfolio

Bizz Hub Advertise
Collaborate

Widgets Documentation

Check out various examples in our Widgets Demo page.


IFRAME

In IFRAME widgets all code is completely isolated from site on which it is included and therefore it is more safe from any interference with your site styles, code and content, yet they are harder to style and adapt to your website needs.

SCRIPT

SCRIPT widgets are very easy to style and adapt to your site design, yet not all sites are allowed to add extra scripts. Widget will also inherit style (CSS) from your site, which in some cases is needed behaviour in some not.

Styling SCRIPT widgets

You can easily style SCRIPT widgets using CSS and overriding relevant classes starting with .CryptoPanicWidget.


Notes
  • If you have multiple SCRIPT widgets on the same page you need to add provided <script> tag only once.
  • Both widgets are super light, use simple DOM manipulation to build markup.
  • widgets.min.js file is only ~3kB (<1.5kB gzipped) and widgets.css is ~1kB.
We value your privacy

By clicking Accept, you consent to the use of all cookies. If you do not wish to accept all cookies, you may choose to manage your preferences by opting out optional cookies. For more information on how we use cookies and to view our Privacy Policy and our Cookie Notice.

CryptoPanic (required): Used for site functioning properly
Analytics (optional): Used for CryptoPanic improvements

Accept