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
  • 1
  • 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>
Ori Marko
  • 56,308
  • 23
  • 131
  • 233