3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Twitterのウィジェットを高さ以外もカスタマイズできるスクリプト

Last updated at Posted at 2012-09-12

decorateWidget内で幅を変えるなど好きに装飾できる。


<script type="text/javascript">
  function decorateWidget() {
    if ($("#twitter-widget-1").length > 0) {
      $("#twitter-widget-1")[0].width = "300px";
    } else {
      setTimeout(decorateWidget, 500);
    }
  }
  decorateWidget();
</script>
3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?