Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @: marker.contentString = '<div class="content" style="width:400px;height:400px;">' +
- @: '<h3><b>'+ markerpoints[i].coursename +'</b></h3>' +
- @: '<p>'+ markerpoints[i].country +'</p>'+
- @: '<table id="map_table" style="margin-top:5px;" width="100%" cellpadding="10" cellspacing="5">'+
- @: '<thead style="text-align:left"><tr><th>Date</th><th>Course</th></tr></thead>'+
- @: '<tbody>'+
- @: if(markerpoints[i].ProductName0 != 'undefined'){
- @: '<tr>'+
- @: '<td width="158">'+ markerpoints[i].Fromdate0 +' - '+ markerpoints[i].Todate0 +'</td>'+
- @: '<td><a href="Default.aspx?ID=771&ProductID='+ markerpoints[i].ProductID0 +'">'+ markerpoints[i].ProductName0 +'</a></td>'+
- @: '</tr>'+
- @: }
- @: if(markerpoints[i].ProductName1 !== 'undefined'){
- @: '<tr>'+
- @: '<td width="158">'+ markerpoints[i].Fromdate1 +' - '+ markerpoints[i].Todate1 +'</td>'+
- @: '<td><a href="Default.aspx?ID=771&ProductID='+ markerpoints[i].ProductID1 +'">'+ markerpoints[i].ProductName1 +'</a></td>'+
- @: '</tr>'+
- @: }
- @: if(markerpoints[i].ProductName2 !== 'undefined'){
- @: '<tr>'+
- @: '<td width="158">'+ markerpoints[i].Fromdate2 +' - '+ markerpoints[i].Todate2 +'</td>'+
- @: '<td><a href="Default.aspx?ID=771&ProductID='+ markerpoints[i].ProductID2 +'">'+ markerpoints[i].ProductName2 +'</a></td>'+
- @: '</tr>'+
- @: }
- @: '</tbody>'+
- @: '</table>'+
- @: '</div>'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement