Per dare a ogni pagina la possibilità che il tag <body> abbia come classi css i riferimenti a pagina corrente e padri e figli bisogna utilizzare questo codice:

<body id="inside" class="<% if Level(1) %><% control Level(1) %> $URLSegment <% end_control %><% end_if %><% if Level(2) %><% control Level(2) %> $URLSegment <% end_control %><% end_if %><% if Level(3) %><% control Level(3) %> $URLSegment <% end_control %><% end_if %><% if Level(4) %><% control Level(4) %> $URLSegment <% end_control %><% end_if %><% if Level(5) %><% control Level(5) %> $URLSegment <% end_control %><% end_if %>">


 

Comments are closed.