Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.17 KB

File metadata and controls

42 lines (30 loc) · 1.17 KB

GitHubWidgets

Easily embed GitHub stuff

Use:

  1. Download it (use from the web come soon)
  2. You need the Username from the Account which come in the frame
  3. Embed it like this (You must replace USERNAME to a real name):

Embed a Github User

<iframe src="EmbedGithubUserWidget.php?user=USERNAME&template=TEMPLATEFILE" id="iframe" width="400" height="600" style="border: none;">

You also can do it like this:

<iframe src="" id="iframe" width="400" height="600" style="border: none;">
document.getElementById('iframe').src = "EmbedGithubUserWidget.php?user=USERNAME&template=TEMPLATEFILE";

Embed a Github Organisation

<iframe src="EmbedGithubOrgWidget.php?org=ORGNAME&template=TEMPLATEFILE" id="iframe" width="400" height="600" style="border: none;">

You also can do it like this:

<iframe src="" id="iframe" width="400" height="600" style="border: none;">
document.getElementById('iframe').src = "EmbedGithubOrgWidget.php?org=ORGNAME&template=TEMPLATEFILE";

In the next days i will also implement it on my Web page and widgeds for Organization will come later.