Here's an example dropdown menu.
[url="http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm"]http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm[/url]
This is how I would install it in MKP 1.1...
In mkportal/include/functions.php (function view_header)...
[quote]return <<
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script language="JavaScript" type="text/javascript" src="{$js}">
$tooltip_js
{$pmk_js}
Add the code that belongs in the section (AnyLink Drop Down Menu Step 1) here.
EOF;
}[/quote]
Make the edits below in mkportal/templates/default/tpl_main.php (function header)...
[quote]// barra dei link
if (defined("OFF_LINE")) {
$output .= $Skin->open_body();
return $output;
}
if ($this->config['navbar']) {
/*
foreach ($this->navbar_links_order as $entry) {
$name = $this->navbar_links[$entry[0]]['name'];
$title = $this->navbar_links[$entry[0]]['title'];
if ($entry[0] >= 1 && $entry[0] <= LAST_NAVBAR_ENTRY) {
if ($name == "forum") {
if (!$ibforums->member['g_view_board'] && !$this->member['is_admin']) {
continue;
}
}
elseif ($name <> "home") {
if ($this->config["mod_".$name] || !$this->member['is_admin'] && !$this->member["g_access_".$name]) {
continue;
}
}
}
else {
if (!$this->member['is_admin'] && !in_array($ibforums->member['mgroup'], $this->navbar_links[$entry[0]]['groups'])) {
continue;
}
}
if ($this->navbar_links[$entry[0]]['name'] == "forum") {
$dest = $ibforums->base_url;
}
else {
if ($entry[0] <= LAST_NAVBAR_ENTRY) {
$dest = "$this->siteurl/index.php{$this->navbar_links[$entry[0]]['url']}";
}
else {
$dest = $this->navbar_links[$entry[0]]['url'];
}
}
switch ($entry[1]) {
case "2" : $target = "target="_blank"";
break;
case "3" : $dest = "java script:PopWindow('$dest','$title','{$entry[2]}','{$entry[3]}','1','1','1','0','0')";
$target = "";
break;
default : $target = "";
break;
}
$row_link .= $Skin->row_link("$this->images/{$this->navbar_links[$entry[0]]['image']}", "href="$dest" $target", $title); */
$row_link .= "Add the (AnyLink Drop Down Menu Step 2) links here";
//}
$output .= $Skin->view_linkbar($row_link);
}[/quote]
The same method should work with other similar scripts.
Screenshot:













