Sorry, this page is only available in one language

JumpToChild

Suggested dropletname: JumpToChild

Published by: rsmith

Create a Dropdown box of Child Pages and 'Jump To' that page when selected.
You can specify a specific starting PAGE_ID to list from a different portion of the site.

if(!is_numeric($start)){$start=PAGE_ID;}
ob_start();
echo'
 <form name="jump2all">
 <select name="select" onchange="javascript: window.location = this.options[this.selectedIndex].value;">
  <option value="" selected="">Pick A  Page</option>';
  show_menu2(0,$start,SM2_ALL,SM2_ALL|SM2_CURRTREE,'<option value="[url]">[menu_title]</option>');
 echo'</select></form>';
 $content = ob_get_contents();
ob_end_clean();
return $content.' ';

Usage:

[[JumpToChild]]

[[JumpToChild?start=248]]



« Previous droplet | Overview | Next droplet »