0

I am trying to build a summary section for a velocity template.How can we navigate to different sections of the page using velocity scripting.

I am new to velocity. Please help me out in this.

Thanks!

sailakshmi
  • 45
  • 2
  • 6

1 Answers1

0

Navigate within page is an HTML feature using link to specific id.

You can use velocity to hold and use same variable for each section:

 #set( $section_one = "nav1" )
 <a href="#$section_one">first </a>
 .....

 <div id="$section_one"></div>
user7294900
  • 52,490
  • 20
  • 92
  • 189