How to use our civic tool on your website
You can embed our tool on your website the same way you embed a YouTube video.
Copy this line and paste it anywhere on your website where you would like the tool to show:
<script src="https://electionssimplified.com/embed.js"></script>This box will show up on your website at the location of your choice:
Now visitors to your website can use it to see their elections and the candidates, while staying on your website the whole time.
(After the voting season, you can remove it at your leisure)
Changing the size
The box fits itself to your page, so most sites don't need to change anything.
If you want to set the size yourself, add one or both of these to the line:
data-height="600"makes the box 600 pixels tall.data-max-width="560"stops the box from getting wider than 560 pixels. On phones it still shrinks to fit the screen.
Example:
<script src="https://electionssimplified.com/embed.js" data-height="600" data-max-width="560"></script>Change the numbers to whatever looks right on your page.
Questions
If you have any questions, please do not hesitate to contact us at contact@electionssimplified.com.