Javascript Navigation selector -
i have nav selector on site works want change navigation 5 destinations while keeping things same other 2 cities
here working code :
<!-- hero nav section --> <div class="no-gutter"> <ul id="nav"> <li><a href="<%= application["baseurl"].tostring() + session["lang"] + "/"+country+"/"+cityname+"/"+cityname+"-tours"%>" <%if(url.contains(cityname + "-tours")){%>class="current"<%}%>><% if (cityname == "washington-dc") {%>washington, d.c.<% } else {%><%= cityname.replace('-', ' ')%><%; } %> tours</a></li> <li><a href="<%= application["baseurl"].tostring() + session["lang"] + "/"+country+"/"+cityname+"/private-tours"%>" <%if(url.contains("private")){%>class="current"<%} %>>private tours</a></li> <li><a href="<%= application["baseurl"].tostring() + session["lang"] + "/"+country+"/"+cityname+"/nextday-tours"%>" <%if(url.contains("nextday")){%>class="current"<%}%>>next day tours</a></li> <li><a href="<%= application["baseurl"].tostring() + session["lang"] + "/"+country+"/"+cityname+"/sale-tours"%>" <%if(url.contains("sale")){%>class="current"<%}%>>sale tours</a></li> </ul> </div>
how can keep paris , london , change whats displayed 5 italian cities..
ask more info please !
Comments
Post a Comment