Equaldex Embed Widget

Embed Equaldex’s widget on your website to display LGBT rights information for a country or subdivision.

Embed the widget

  1. Choose the country or subdivision you want to display. See regions here: Regions reference.

  2. Add this iframe (an HTML element that embeds another page) to your page’s HTML. Replace CA with your chosen region code.

    <iframe
      src="https://www.equaldex.com/embed/topic?region=CA"
      width="100%"
      height="400"
      title="Equaldex LGBT rights information"
    ></iframe>

Widget policies

Attribution: The widget automatically includes a link back to Equaldex. You must not hide or manipulate this attribution.

Parameters

Add query parameters to the iframe’s src URL to choose a region and customize the widget. Separate parameters with & in a URL, or &amp; in HTML.

ParameterTypeRequiredAccepted values and behavior
regionStringYesA two-letter ISO country code or an ISO 3166-2 subdivision code. See the Regions reference.
issuesComma-separated issue IDsNoRestricts the widget to the specified issues. See the API reference for issue information.
colorStringNoA hexadecimal color code without the leading #, such as cc6655. The widget’s text is white; choose a color dark enough to keep it readable.
headerStringNoSet to 0 to hide the widget’s header section.
footerStringNoSet to 0 to hide the widget’s footer section.

Did this page help you?