Skip to content

Instantly share code, notes, and snippets.

@kyawkyawsoezhu
Last active March 31, 2017 04:31
Show Gist options
  • Save kyawkyawsoezhu/597a81dac5d7fe2201ae477b15f25841 to your computer and use it in GitHub Desktop.
Save kyawkyawsoezhu/597a81dac5d7fe2201ae477b15f25841 to your computer and use it in GitHub Desktop.
{% block style %}
<link href="https://maxcdn.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Hind+Vadodara:300,400,500,600,700" rel="stylesheet">
<link href="https://rawgit.com/kyawkyawsoezhu/1cfb27576050b23c13900d6edf309236/raw/temasek-twig.css" rel="stylesheet">
<style>
@media (max-width: 767px) {
#header .menu ul li a {
color: #FFF!important;
font-size: 22px;
}
th, td:first-child, td {
font-size: 9px!important;
padding: 0px !important;
}
table td .faketd {
padding: 5px;
}
}
.dynamic-section .btn a {
color: #ffffff;
font-weight: 600;
text-shadow: none;
}
#banner .banner-text {
line-height: 1.2;
bottom: 210px;
}
.title {
margin-top: 50px;
}
.lead {
margin-top: 10px;
}
.btn {
padding: 11px 30px;
}
.response-title {
font-size: 24px;
font-weight: 500;
margin-top: 10px;
margin-bottom: 20px;
}
.text-box {
margin: 40px 0;
font-size: 20px;
font-weight: normal;
}
#banner {
background-size: cover;
}
@media (max-width: 960px) {
.events-table {
overflow: hidden;
overflow-x: scroll;
margin: 0 -30px;
}
}
</style>
<script>
var params = {};
var event_id = '{{ data.Event.event_id }}';
if (location.search) {
var parts = location.search.substring(1).split('&');
for (var i = 0; i < parts.length; i++) {
var nv = parts[i].split('=');
if (!nv[0]) continue;
params[nv[0]] = nv[1] || true;
}
}
var cta_k = params.cta_k;
var label = params.label;
var rsvp = params.rsvp;
var base_url = window.location.protocol + '//' + window.location.hostname + '/' + event_id + '/registration/rsvp';
var yes_url = base_url + '?rsvp=yes&cta_k=' + cta_k + '&label=Yes';
var no_url = base_url + '?rsvp=no&cta_k=' + cta_k + '&label=No';
if ( rsvp === 'yes' ) {
window.location.replace(yes_url);
} else if( rsvp === 'no' ) {
window.location.replace(no_url);
}
</script>
{% endblock %}
<div id="guard">
<div class="text-center" id="header">
<div class="menu">
<ul id="nav-menu">
<li>
<a data-target-section="#your-invitation" href="#your-invitation">Your Invitation</a>
</li>
<li>
<a data-target-section="#your-response" href="#your-response">Your Response</a>
</li>
<li>
<a data-target-section="#programme" href="#programme">Programme</a>
</li>
<li>
<a data-target-section="#hotel" href="#hotel">Hotel</a>
</li>
<li>
<a data-target-section="#contact-us" href="#contact-us">Contact Us</a>
</li>
</ul>
</div>
</div> <!-- End Header -->
<div id="banner">
<h2 class="banner-text">{% if data.Attendee.email %}You are invited to<br>{% endif %}
Temasek's September events</h2>
</div> <!-- End Hero -->
<div class="row-fluid">
<div class="span8 offset2">
<div id="main">
<div class="dynamic-section your-invitation" data-target-pane="#your-invitation">
{% if data.Attendee.email %}
<div class="title">
<h4 class="h3 text-center">Dear {{data.Attendee.Name_on_Invite}}</h4>
<p class="text-center lead">You are invited to:</p>
<div class="events-table">
<table class="table" width="100%">
<thead>
<tr>
<th><strong>Time / Date</strong></th>
<th><strong>15 September 2017, Friday</strong></th>
<th><strong>16 September 2017, Saturday</strong></th>
<th><strong>17 September 2017, Sunday</strong></th>
<th><strong>18 September 2017, Monday</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Day</strong></td>
<td>
{% if data.Attendee.TBA_Conference_Invited == "1" %}
<div class="faketd">
<p><strong>TBA Conference</strong></p>
<p>8.30am - 2.00pm</p>
<p>Tower Ballroom, Shangri-La Hotel, Singapore</p>
</div>
{% endif %}
</td>
<td>
{% if data.Attendee.TSS_Conference_Invited == 1 %}
<div class="faketd">
<p><strong>The Singapore Summit Conference (TSS)</strong></p>
<p>8.30am - 3.30pm</p>
<p>Island Ballroom, Shangri-La Hotel, Singapore</p>
</div>
{% endif %}
</td>
<td>
{% if data.Attendee.TSS_Roundtable_Invited == "1" %}
<div class="faketd">
<p><strong>The Singapore Summit (TSS) Roundtable</strong></p>
<p>9.45am - 12.00pm</p>
<p>Tower Ballroom, Shangri-La Hotel, Singapore</p>
</div>
{% endif %}
</td>
<td>
{% if data.Attendee.TIP_Meeting_Invited == 1 %}
<div class="faketd">
<p><strong>Temasek International Panel (TIP) Meeting</strong></p>
<p>9.00am - 12.25pm</p>
<p>Tower Ballroom, Shangri-La Hotel, Singapore</p>
</div>
{% endif %}
{% if data.Attendee.TIP_Lunch_Invited == 1 %}
<div class="faketd">
<p><strong>Temasek International Panel (TIP) Lunch</strong></p>
<p>12.30pm - 2.30pm</p>
<p>Island Ballroom, Shangri-La Hotel, Singapore</p>
</div>
{% endif %}
</td>
</tr>
<tr>
<td><strong>Evening</strong></td>
<td>
{% if data.Attendee.TSS_Welcome_Dinner_Invited == 1 %}
<div class="faketd">
<p><strong>The Singapore Summit (TSS) Welcome Dinner</strong></p>
<p>6.45pm - 9.15pm</p>
<p>Island Ballroom, Shangri-La Hotel, Singapore</p>
</div>
{% endif %}
</td>
<td>
{% if data.Attendee.Networking_Dinner_Invited== "1" %}
<div class="faketd">
<p><strong>Cocktail Reception</strong></p>
<p>7.00pm - 9.00pm</p>
<p>To Be Advised</p>
</div>
{% endif %}
</td>
<td>
{% if data.Attendee.F1_Singapore_Grand_Prix_Invited == 1 %}
<div class="faketd">
<p><strong>2017 Formula 1 Singapore Airlines Singapore Grand Prix</strong></p>
<p>7.00pm - 10.00pm</p>
<p>Temasek International Suite, Paddock Club, Singapore</p>
</div>
{% endif %}
</td>
<td>
{% if data.Attendee.Closing_Dinner_Invited == 1 %}
<div class="faketd">
<p><strong>Temasek International Panel (TIP) Closing Dinner</strong></p>
<p>7.00pm &ndash; 9.00pm</p>
<p>Crescent Ballroom, Four Seasons Hotel, Singapore</p>
</div>
{% endif %}
{% if data.Attendee.TIP_Breakfast_Invited == 1 %}
<div class="faketd">
<p><strong>Temasek International Panel (TIP) Lunch</strong></p>
<p>12.30pm - 2.30pm</p>
<p>Island Ballroom, Shangri-La Hotel, Singapore</p>
</div>
{% endif %}
</td>
</tr>
</tbody>
</table>
<p class="text-center">For more information of the events, please click <a data-target-section="#programme" href="#programme">here</a>.</p>
</div>
</div>{% else %}
<div class="title">
<h4 class="h3 text-center">You are not invited!</h4>
</div>{% endif %}
<div class="row-fluid text-center">
{% if data.Attendee.rsvp == 'Yes' %}
<div class="row">
<div class="text-center border-text-box span8 offset2">
You responded <strong class="green-text">Yes</strong> on <time class="dt" data-time="{{ data.Attendee.rsvp_responded_on.sec }}">{{ data.Attendee.rsvp_responded_on.sec }}</time>.
</div>
<p class="span12"><br>
<a data-target-section="#your-response" href="#your-response">Change your response</a></p>
</div>{% elseif data.Attendee.rsvp == 'No' %}
<div class="row">
<div class="text-center border-text-box span8 offset2">
You responded <strong class="red-text">No</strong> on <time class="dt" data-time="{{ data.Attendee.rsvp_responded_on.sec }}">{{ data.Attendee.rsvp_responded_on.sec }}</time>.
</div>
<p class="span12"><br>
<a data-target-section="#your-response" href="#your-response">Change your response</a></p>
</div>{% elseif data.Attendee.rsvp == 'Waiting' %}
<div class="row">
<div class="text-center border-text-box span8 offset2">
You responded <strong class="green-text">Waiting</strong> on <time class="dt" data-time="{{ data.Attendee.rsvp_responded_on.sec }}">{{ data.Attendee.rsvp_responded_on.sec }}</time>.
</div>
</div>{% else %} {% if data.Attendee.firstname %}
<div class="row btn-group-horizontal">
<div class="btn gray">
<a class="no-link" data-target-section="#no-response-message" href="#no-response-message">No, I am not able to attend</a>
</div>
<div class="btn gold">
<a class="yes-link" data-target-section="#yes-response-message" href="#yes-response-message">Yes, I would like to register</a>
</div>
</div>{% endif %} {% endif %}
</div>
</div>
<div class="dynamic-section your-response" data-target-pane="#your-response">
<div class="title row-fluid">
<h4 class="text-center response-title">Dear {{data.Attendee.Name_on_Invite}}</h4>{% if data.Attendee.rsvp == 'Yes' %}
<div class="row-fluid">
<div class="span12 span12ffset-3 text-center">
<br>
<div class="text-box">
You responded <strong class="green-text">Yes</strong> on <time class="dt" data-time="{{ data.Attendee.rsvp_responded_on.sec }}">{{ data.Attendee.rsvp_responded_on.sec }}</time>.
</div><br>
<div class="btn gray">
<a class="yes-link" href="#">Update my details</a>
</div>
<div class="btn gray">
<a class="no-link" href="#">Change my response to No</a>
</div>
</div>
</div>{% elseif data.Attendee.rsvp == 'No' %}
<div class="row-fluid">
<div class="span12 span12ffset-3 text-center">
<br>
<div class="text-box">
You responded <strong class="red-text">No</strong> on <time class="dt" data-time="{{ data.Attendee.rsvp_responded_on.sec }}">{{ data.Attendee.rsvp_responded_on.sec }}</time>.
</div><br>
<div class="btn gray">
<a class="yes-link" href="#">Change my response to Yes</a>
</div>
</div>
</div>{% elseif data.Attendee.rsvp == 'Waiting' %}
<p class="text-center">Waiting</p>{% else %}
<p class="text-center text-box">You have not responded yet.</p>
<div class="row btn-group-horizontal text-center">
<div class="btn gray">
<a class="no-link" data-target-section="#no-response-message" href="#no-response-message">No, I am not able to attend</a>
</div>
<div class="btn gold">
<a class="yes-link" data-target-section="#yes-response-message" href="#yes-response-message">Yes, I would like to register</a>
</div>
</div>{% endif %}
</div>
</div>
<div class="dynamic-section your-response" data-target-pane="#no-response-message">
<p class="text-center lead">Thank you for your response.<br>
We note that you are not able to attende the event.</p>
</div>
<div class="dynamic-section your-response" data-target-pane="#yes-response-message">
<p class="text-center lead">Thank you for accepting our invitation.<br>
See you at the event.</p>
</div>
<div class="dynamic-section" data-target-pane="#programme">
<h1>Programme</h1><br>
<br>
<div class="programme-lists">
{% if data.Attendee.TBA_Conference_Invited == "1" %}
<div class="programme row-fluid">
<h4>15 September 2017, Friday : TBA Conference</h4>
<p>
Conference description
</p>
<table>
<thead>
<tr>
<th colspan="2">TBA Conference on 15 September 2017, Friday</th>
</tr>
</thead>
<tbody>
<tr>
<td>Time</td>
<td>8.30am - 2.00pm</td>
</tr>
<tr>
<td>Venue</td>
<td>Tower Ballroom, Shangri-La Hotel, Singapore</td>
</tr>
<tr>
<td>Dress Code</td>
<td>Business Formal (Jacket & Tie)</td>
</tr>
</tbody>
</table>
</div>
{% endif %}
{% if data.Attendee.TSS_Welcome_Dinner_Invited == "1" %}
<div class="programme row-fluid">
<h4>15 September 2017, Friday: The Singapore Summit (TSS) Welcome Dinner</h4>
<p>
The programme will begin with a welcome dinner on Friday, 15 September featuring a dialogue session with Singapores Deputy Prime Minister and Coordinating Minister for National Security Teo Chee Hean.
</p>
<table>
<thead>
<tr>
<th colspan="2">TSS Welcome Dinner on 15 September 2017, Friday</th>
</tr>
</thead>
<tbody>
<tr>
<td>Time</td>
<td>6.45pm - 9.15pm<br>(Registration starts at 5.30pm)</td>
</tr>
<tr>
<td>Venue</td>
<td>Island Ballroom, Shangri-La Hotel, Singapore</td>
</tr>
<tr>
<td>Dress Code</td>
<td>Business Formal (Jacket & Tie)</td>
</tr>
</tbody>
</table>
<p>
For more information regarding the summit, please visit
<a href="http://www.singaporesummit.sg/" target="_blank">www.singaporesummit.sg.</a>
</p>
</div>
{% endif %}
{% if data.Attendee.TSS_Conference_Invited == "1" %}
<div class="programme row-fluid">
<h4>16 September 2017, Saturday: The Singapore Summit (TSS) Conference</h4>
<p>
With Asia becoming a key growth engine for the global economy, Asia and the rest of the world are becoming increasingly connected and intertwined in what is often referred to as Global-Asia. The sixth edition of the Singapore Summit will look at global macroeconomic and geopolitical developments, protectionism and trade frictions, disruptive technologies for addressing societal challenges, and inclusive growth for the future economy.
<br>
<br>
The full-day Conference will be chaired by Mr Ho Kwon Ping, Executive Chairman, Banyan Tree Holdings. Attendance is by invitation only.
</p>
<table>
<thead>
<tr>
<th colspan="2">TSS Conference on 16 September 2017, Saturday</th>
</tr>
</thead>
<tbody>
<tr>
<td>Time</td>
<td>8.30am - 3.30pm</td>
</tr>
<tr>
<td>Venue</td>
<td>Island Ballroom, Shangri-La Hotel, Singapore</td>
</tr>
<tr>
<td>Dress Code</td>
<td>Business Formal (Jacket & Tie)</td>
</tr>
</tbody>
</table>
<p>
For more information regarding the summit, please visit
<a href="http://www.singaporesummit.sg/" target="_blank">www.singaporesummit.sg.</a>
</p>
</div>
{% endif %}
{% if data.Attendee.Networking_Dinner_Invited == 1 %}
<div class="programme row-fluid">
<h4>16 September 2017, Saturday: Cocktail Reception</h4>
<p>
An evening for guests and their spouses to network with our senior management and other guests.
</p>
<table>
<thead>
<tr>
<th colspan="2">Cocktail Reception on 16 September 2017, Saturday</th>
</tr>
</thead>
<tbody>
<tr>
<td>Time</td>
<td>7.00pm 9.00pm</td>
</tr>
<tr>
<td>Venue</td>
<td>To Be Advised</td>
</tr>
<tr>
<td>Dress Code</td>
<td>Smart Casual</td>
</tr>
</tbody>
</table>
</div>
{% endif %}
{% if data.Attendee.TSS_Roundtable_Invited == "1" %}
<div class="programme row-fluid">
<h4>17 September 2017, Sunday : The Singapore Summit (TSS) Roundtable</h4>
<p>
An exclusive, closed-door Roundtable involving mainly the international advisors of the MAS, EDB, GIC and Temasek, will also be held on 17 September 2017. The Roundtable will be chaired by Singapores Deputy Prime Minister and Coordinating Minister for Economic and Social Policies Tharman Shanmugaratnam.
</p>
<table>
<thead>
<tr>
<th colspan="2">TSS Roundtable on 17 September 2017, Sunday</th>
</tr>
</thead>
<tbody>
<tr>
<td>Time</td>
<td>
9.45am - 12.00pm
</td>
</tr>
<tr>
<td>Venue</td>
<td>
Tower Ballroom, Shangri-La Hotel, Singapore
</td>
</tr>
<tr>
<td>Dress Code</td>
<td>Smart Casual (Jacket without Tie)</td>
</tr>
</tbody>
</table>
<p>
For more information regarding the summit, please visit
<a href="http://www.singaporesummit.sg/" target="_blank">www.singaporesummit.sg.</a>
</p>
</div>
{% endif %}
{% if data.Attendee.F1_Singapore_Grand_Prix_Invited == "1" %}
<div class="programme row-fluid">
<h4>17 September 2017, Sunday: 2017 Formula 1 Singapore Airlines Singapore Grand Prix </h4>
<p>
Temasek is pleased to extend our hospitality and host our closest friends and networks at the exclusive Temasek International Suite. It will be an evening of enjoyment watching finals of Formula Ones only night race with great company and gastronomic cuisines.
</p>
<table>
<thead>
<tr>
<th colspan="2">2017 Formula 1 Singapore Airlines Singapore Grand Prix on 17 September 2017, Sunday</th>
</tr>
</thead>
<tbody>
<tr>
<td>Time</td>
<td>7.00pm 10.00pm</td>
</tr>
<tr>
<td>Venue</td>
<td>Temasek International Suite, Paddock Club, Singapore</td>
</tr>
<tr>
<td>Dress Code</td>
<td>Smart Casual</td>
</tr>
</tbody>
</table>
</div>
{% endif %}
{% if data.Attendee.TIP_Meeting_Invited == "1" %}
<div class="programme row-fluid">
<h4>18 September 2017, Monday: Temasek International Panel (TIP) Meeting</h4>
<p>
The TIP meeting is a half day, closed door event for the exchange of global strategic and business insights.
</p>
<table>
<thead>
<tr>
<th colspan="2">TIP Meeting on 18 September 2017, Monday</th>
</tr>
</thead>
<tbody>
<tr>
<td>Time</td>
<td>9.00am 12.25pm </td>
</tr>
<tr>
<td>Venue</td>
<td>Tower Ballroom, Shangri-La Hotel, Singapore</td>
</tr>
<tr>
<td>Dress Code</td>
<td>Business Formal (Jacket & Tie)</td>
</tr>
</tbody>
</table>
</div>
{% endif %}
{% if data.Attendee.TIP_Lunch_Invited == 1 %}
<div class="programme row-fluid">
<h4>18 September 2017, Monday: Temasek International Panel (TIP) Lunch</h4>
<p>
The TIP lunch will feature a talk by a distinguished global leader. This event offers a valuable opportunity to interact with our advisors, board members, senior management and the wider business community in Singapore.
</p>
<table>
<thead>
<tr>
<th colspan="2">TIP Lunch on 18 September 2017, Monday</th>
</tr>
</thead>
<tbody>
<tr>
<td>Time</td>
<td>12.30pm 2.30pm <br>(Registration starts at 12:00pm)</td>
</tr>
<tr>
<td>Venue</td>
<td>Island Ballroom, Shangri-La Hotel, Singapore</td>
</tr>
<tr>
<td>Dress Code</td>
<td>Business Formal (Jacket & Tie)</td>
</tr>
</tbody>
</table>
</div>
{% endif %}
{% if data.Attendee.TIP_Meeting_AND_Lunch_Invited == "1" %}
<div class="programme row-fluid">
<h4>18 September 2017, Monday: Temasek International Panel (TIP) Meeting & Lunch</h4>
<p>
The TIP meeting is a half day, closed door event for the exchange of global strategic and business insights.
The TIP lunch will feature a talk by a distinguished global leader. This meeting and related events offer a valuable opportunity to interact with our advisors, board members, senior management.
</p>
<table>
<thead>
<tr>
<th colspan="2">TIP Meeting & Lunch on 18 September 2017, Monday</th>
</tr>
</thead>
<tbody>
<tr>
<td>Time</td>
<td>
9.00am - 12.25pm (Meeting) <br>
12.30pm- 2.30pm (Lunch
</td>
</tr>
<tr>
<td>Venue</td>
<td>
Tower Ballroom, Shangri-La Hotel, Singapore (Meeting) <br>
Island Ballroom, Shangri-La Hotel, Singapore (Lunch)
</td>
</tr>
<tr>
<td>Dress Code</td>
<td>Business Formal (Jacket & Tie)</td>
</tr>
</tbody>
</table>
</div>
{% endif %}
{% if data.Attendee.Closing_Dinner_Invited == "1" %}
<div class="programme row-fluid">
<h4>18 September 2017, Monday: Temasek International Panel (TIP) Closing Dinner</h4>
<p>
The TIP closing dinner is an exclusive event for TIP members, special guests, senior government leaders, advisors, board members and senior management to interact with one another. Prime Minister Lee Hsien Loong will attend as the Guest of Honour for this dinner.
</p>
<table>
<thead>
<tr>
<th colspan="2">TIP Closing Dinner on 18 September 2017, Monday</th>
</tr>
</thead>
<tbody>
<tr>
<td>Time</td>
<td>7.00pm 9.00pm</td>
</tr>
<tr>
<td>Venue</td>
<td>Crescent Ballroom, Four Seasons Hotel, Singapore</td>
</tr>
<tr>
<td>Dress Code</td>
<td>Business Formal (Jacket & Tie)</td>
</tr>
</tbody>
</table>
</div>
{% endif %}
</div>
{% if data.Attendee.email %}
<div class="row btn-group-horizontal text-center">
<div class="btn gray">
<a class="no-link" data-target-section="#no-response-message" href="#no-response-message">No, I am not able to attend</a>
</div>
<div class="btn gold">
<a class="yes-link" data-target-section="#yes-response-message" href="#yes-response-message">Yes, I would like to register</a>
</div>
</div>
{% endif %}
</div>
<div class="dynamic-section" data-target-pane="#hotel">
<h1>Hotel</h1><br>
<br>
<h4>Shangri-La Hotel, Singapore</h4>
<p>22 Orange Grove Road&nbsp;<br>
Singapore 258350</p>
<p>Tel: &nbsp;(65) 6737 3644&nbsp;<br>
Fax: (65) 6737 3257&nbsp;<br>
Website:&nbsp; <a target="_blank" href="http://www.shangri-la.com/singapore/shangrila/">http://www.shangri-la.com/singapore/shangrila/</a><br>
Please download the <a href="http://send.global2mail.com/emails/GEVME/pdf/2017_Hotel_Room_Booking_Form.pdf" target="_blank">form</a>. Once completed, please send the form directly to the hotel contact person stated in the form.</p>
</div>
<div class="dynamic-section" data-target-pane="#contact-us">
<h1>Contact Us</h1><br>
<br>
<p>For enquiries, please contact:</p>
<h4>Temasek Events Team</h4>
<p>DID: +65 6828 2574 / +65 6828 8937<br>
Mobile: +65 9653 1430 / +65 9653 1426<br>
Email:&nbsp;<a href="mailto:registration@temasek.com.sg">registration@temasek.com.sg</a><br>
For more information on the programme, please click
<a data-target-section="#programme" href="#programme">here</a>.</p>
</div>
</div> <!-- End Main -->
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.17.1/moment.min.js"></script>
<script src="https://cdn.rawgit.com/kyawkyawsoezhu/1cfb27576050b23c13900d6edf309236/raw/81c130ad3accb74c29284e3fd26f786d437c901d/temasek-twig.js"></script>
<script>
$(function(){
var rsvp = '{{ data.Attendee.rsvp }}';
var timezone = '{{ data.Event.timezone }}';
var event_id = '{{ data.Event.event_id }}';
// date time format
//var dt = `${moment.unix($('.dt').data("time")).format('MMM DD, YYYY [at] hh:mma')} (GMT +${parseFloat(timezone)})`;
var dt = moment.unix($('.dt').data("time")).format('MMM DD, YYYY [at] hh:mma') + '(GMT +' + parseFloat(timezone) + ')';
$('.dt').text(dt);
$('.no-link').attr('href', no_url);
$('.yes-link').attr('href', yes_url);
$("a[data-target-section]").click(function (e) {
var $targetSection = $(this).data('targetSection');
$navMenu = $('#nav-menu li');
$navMenu.removeClass('active');
$navMenu.find('a').filter("[data-target-section='"+$targetSection+"']").parent('li').addClass('active');
})
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment