Outage Search Widget for City & Local Government Websites
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:
<script src="//www.sce.com/wps/wcm/connect/99d2cc0f-6bd8-4b3c-a3f2-511b8d952e7f/outage_widget_script.js?MOD=AJPERES&CACHEID=99d2cc0f-6bd8-4b3c-a3f2-511b8d952e7f" type="text/javascript"></script>
<div class="widgetContainer" id="widgetContainer"></div>
<script type="text/javascript">
var cityname = '<CityName>';
loadWidget();
</script> -
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.
This widget is provided to you by Southern California Edison without warranty of any kind, express or implied. Southern California Edison may in its sole discretion discontinue the functionality of the widget and disclaims all liability in connection with your installation and use of the widget.