Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2015
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. @: marker.contentString = '<div class="content" style="width:400px;height:400px;">' +
  2. @: '<h3><b>'+ markerpoints[i].coursename +'</b></h3>' +
  3. @: '<p>'+ markerpoints[i].country +'</p>'+
  4. @: '<table id="map_table" style="margin-top:5px;" width="100%" cellpadding="10" cellspacing="5">'+
  5. @: '<thead style="text-align:left"><tr><th>Date</th><th>Course</th></tr></thead>'+
  6. @: '<tbody>'+
  7. @: if(markerpoints[i].ProductName0 != 'undefined'){
  8. @: '<tr>'+
  9. @: '<td width="158">'+ markerpoints[i].Fromdate0 +' - '+ markerpoints[i].Todate0 +'</td>'+
  10. @: '<td><a href="Default.aspx?ID=771&ProductID='+ markerpoints[i].ProductID0 +'">'+ markerpoints[i].ProductName0 +'</a></td>'+
  11. @: '</tr>'+
  12. @: }
  13. @: if(markerpoints[i].ProductName1 !== 'undefined'){
  14. @: '<tr>'+
  15. @: '<td width="158">'+ markerpoints[i].Fromdate1 +' - '+ markerpoints[i].Todate1 +'</td>'+
  16. @: '<td><a href="Default.aspx?ID=771&ProductID='+ markerpoints[i].ProductID1 +'">'+ markerpoints[i].ProductName1 +'</a></td>'+
  17. @: '</tr>'+
  18. @: }
  19. @: if(markerpoints[i].ProductName2 !== 'undefined'){
  20. @: '<tr>'+
  21. @: '<td width="158">'+ markerpoints[i].Fromdate2 +' - '+ markerpoints[i].Todate2 +'</td>'+
  22. @: '<td><a href="Default.aspx?ID=771&ProductID='+ markerpoints[i].ProductID2 +'">'+ markerpoints[i].ProductName2 +'</a></td>'+
  23. @: '</tr>'+
  24. @: }
  25. @: '</tbody>'+
  26. @: '</table>'+
  27. @: '</div>'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement