Embedding the Streetlightoutages.com panel in your website

There are 2 different options available in Streetlightoutages.com for embedding content on your website - iframes and ASP.Net code.  The iframes approach is the easiest to implement, and allows you to use a single tag in existing HTML code to access the functionality, such as:

<iframe class="streetlightmap"
src ="http://www.streetlightoutages.com/embed.aspx?width=768&height=550&username=OrganizationNameguest"
style="width:768px;border:1px solid #a5b2bd"
scrolling="no"
width="768px" height="550px" frameborder="0">
Your browser does not support iFrames
</iframe>

To use ASP.Net embedding, you must update the code on your web server to include calls which access and deliver the dynamic content from Streetlightoutages.com. With this approach, all content delivered to the users web browsers comes from your server. When you implement the ASP.Net approach, the developer is responsible for making sure that none of the local page content conflicts with the content needed for the Streetlightoutages.com code.

You can obtain sample code for either option through the administration pages on Streetlightoutages.com under the "Main" configuration tab.

 


0 Comments
Actions: E-mail | Permalink | Comment RSSRSS comment feed

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading