function stickynav_menu in Sticky Navigation 7
Same name and namespace in other branches
- 6 stickynav.module \stickynav_menu()
Implements hook_menu().
File
- ./
stickynav.module, line 54 - Make a menu or some other element on the page stick on top when you scroll down
Code
function stickynav_menu() {
$items['admin/config/user-interface/stickynav'] = array(
'title' => 'Sticky Nav Settings',
'description' => 'Settings of sticky navigation on your website',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'stickynav_admin_form',
),
'access callback' => 'user_access',
'access arguments' => array(
'administer stickynav',
),
'file' => 'admin/stickynav.admin.inc',
);
return $items;
}