When outages happen, often the first stop for residents is their city's website. To provide quick access to outage information, we've developed a widget that cities and local governments can quickly drop on their websites. Residents simply enter in their city or ZIP code, and they're taken to SCE.com to learn more about current outages in their area.
Adding the widget to your website is easy:
- Paste the code below on the page where you'd like it:
<div class="widgetContainer" id="widgetContainer"></div>
var cityname = '<CityName>';
Configure the '<cityname>' with a specific city, e.g. 'Rosemead'
The outage search tool will look like this:
Test it by searching for a city or ZIP code
The Outage Map should open up in a new tab or window with the map zoomed in on the entered city or ZIP code.