Skip to main content

Drop-In Iframes • CC-BY-4.0 • No Dependencies

Embed NMLP on your site

Three self-contained widgets any partner site can drop in with one line of HTML. Coverage check, diversion impact calculator, and a styled donate button. All widgets responsive, no external JavaScript dependencies on your host page, attribution baked in.

1. Coverage Check Widget

ZIP-code lookup that returns NMLP's service tier (core metro / extended / statewide volume-justified / out of NM). Useful for senior-living facilities, real estate sites, junk-removal alternatives, sustainability pages.

Live preview:

Embed code:

<iframe src="https://newmexicoliteracyproject.org/widgets/coverage-check"
 width="100%" height="240" loading="lazy"
 title="NMLP Free Pickup Coverage Check"
 style="border:0;max-width:480px"></iframe>

2. Landfill Diversion Calculator Widget

Slim version of the full calculator — donor enters number of boxes, sees landfill pounds avoided, CO2-equivalent emissions prevented, trees of fiber preserved, and water saved. EPA WARM + USDA Forest Service sourced. Useful for sustainability pages, environmental orgs, school recycling programs.

Live preview:

Embed code:

<iframe src="https://newmexicoliteracyproject.org/widgets/diversion-calculator"
 width="100%" height="340" loading="lazy"
 title="NMLP Landfill Diversion Calculator"
 style="border:0;max-width:540px"></iframe>

3. Donate Button Widget

Styled call-to-action card with tap-to-call and schedule-online options. Compact footprint, looks great in sidebars, footers, or in-content. Useful for any partner site that wants to refer donors to NMLP.

Live preview:

Embed code:

<iframe src="https://newmexicoliteracyproject.org/widgets/donate-button"
 width="100%" height="260" loading="lazy"
 title="Donate Books with NMLP"
 style="border:0;max-width:400px"></iframe>

Who should embed these?

  • Senior-living facilities — embed the coverage check on the "move-in resources" page so residents see at a glance whether their new home is covered.
  • Real-estate sites — embed the donate button on listing pages or seller resource pages for downsizing sellers.
  • Sustainability pages — embed the diversion calculator on city/county/utility sustainability content.
  • Library / literacy organizations — embed the donate button on "if you can't donate to us" disclaimers.
  • Professional service sites (probate attorneys, senior move managers, estate-sale companies) — embed the coverage check on referral resource pages.
  • News / journalism — embed the calculator alongside any waste-stream coverage as a reader-engagement element.

Technical notes

  • Self-contained: Each widget is a single HTML file with inline CSS and JavaScript. No external dependencies on your host page.
  • Responsive: All widgets scale to their iframe container; minimum width 320 px, recommended max-width 480-540 px depending on widget.
  • No tracking on the host page: Widget loads NMLP's analytics inside the iframe only; no cookies set on the host domain.
  • CSP-friendly: No unsafe-inline required; safe to embed under tight CSP policies. NMLP serves widget pages with X-Frame-Options: SAMEORIGIN but explicitly allows the widget paths for embedding (configurable on request).
  • License: CC-BY-4.0. Attribution to NMLP is baked into each widget and appreciated.
  • Modifications: If you need a custom-styled or custom-sized version, contact [email protected].