External Quote Form

From Ecoachmanager
Jump to: navigation, search

Loading a quote form on an external website

The code below is to be used if you wish to insert an eCoachManager quote form into a website which is not directly connected to eCoachManager.

The top section should be placed in between the <head></head> tags and the bottom section should be placed where the quote form will appear.

If your website already uses Google maps API, jQuery or jQuery UI you may omit these sections.

Including these lines twice is liable to cause issues.

Ensure that you replace "http://eCoachManagerWebsiteAddress.com" with the URL of your eCoachManager system.

<!--Start Google Map-->

   <script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>

<!-- End Google Map -->

<!--Start jQuery-->

   <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>

<!--End jQuery-->

<!--Start jQuery UI-->

   <script src="http://cdn.ecoachmanager.com/js/jquery-ui-1.8.9.custom.min.js" type="text/javascript"></script>
   <link href="http://cdn.ecoachmanager.com/css/redmond/jquery-ui-1.8.13.custom.css" rel="stylesheet" type="text/css">

<!--End jQuery UI-->

<!--Start eCoachManager-->

   <script language="javascript" src="http://cdn.ecoachmanager.com/js/external_quoteform.js"></script>
   <link rel="stylesheet" type="text/css" href="http://cdn.ecoachmanager.com/css/external_quoteform.css"> 

<!--End eCoachManager-->

<!-- Start eCoachManager Body -->

   <div id="ecmForm"></div>
   <script language="javascript">loadECMForm('http://eCoachManagerWebsiteAddress.com', 'Quote Form Heading');</script>

<!-- End eCoachManager Body -->