Over'KinG
Postimet : 36
| Titulli: [MOD] Java Script Header Menu Mon Apr 13, 2009 1:25 pm | |
| - Kodi:
-
## EasyMod 0.0.7 compliant ################################################## ############ ## MOD Title: Java Script Header Menu ## MOD Author: AWSW < > (AWSW) [url=http://www.awsw.de/]http://www.awsw.de[/url] ## MOD Description: Adds an alternate java-dropdownmenu header to your phpBB.
Fügt zu Deinem phpBB einen alternativen Header mit einigen Java-Dropdownmenüs hinzu. Diese Menüs können auch verschachtelte Untermenüs enthalten. Der normale Header des phpBB kann damit ersetzt werden. ## MOD Version: 1.00 ## ## Installation Level: easy ## Installation Time: 5 Minutes ## Files To Edit: ## Included Files: n/a ## Generator: phpBB2 Mod Maker 0.1.67 ################################################## ############ ## This MOD is released under the GPL License. Intellectual Property is retained by the MOD Author(s) listed above. [url=http://www.gnu.org/]http://www.gnu.org[/url] ################################################## ############ ## For Security Purposes, Please Check: [url=http://www.awsw.de/]http://www.awsw.de/[/url] for the latest version of this MOD. Downloading this MOD from other sites could cause malicious code to enter into your phpBB Forum. You´ll find support to this MOD at [url=http://www.phpbb.de/]http://www.phpbb.de/[/url] ################################################## ############ ## Before Adding This MOD To Your Forum, You Should Back Up Your Complete Database And All Files Related To This MOD ! ################################################## ############
# #-----[ OPEN ]------------------------------------------ #
templates/subSilver/overall_header.tpl
# #-----[ FIND ]------------------------------------------ #
# #-----[ BEFORE, ADD ]------------------------------------------ #
menu[0][4] = new Item('Logout', '{U_LOGIN_LOGOUT}', '', 140, 0, 0);
// USER AUSGELOGGT:
menu[0][4] = new Item('{L_LOGIN_LOGOUT}', '{U_LOGIN_LOGOUT}', '', 140, 0, 5);
// // MENU HAUPTZEILE ENDE //
// // Portal & Forum START // menu[1] = new Array(); menu[1][0] = new Menu(true, '', 0, 21, 160, defOver, defBack, 'itemBorder', 'itemText'); menu[1][1] = new Item('Intro', 'intro.php', '', defLength, 0, 0); menu[1][2] = new Item('Portal', 'portal.php', '', defLength, 0, 0); menu[1][3] = new Item('Index', 'index.php', '', defLength, 0, 0); // // Portal & Forum ENDE //
// // User START // menu[2] = new Array(); menu[2][0] = new Menu(true, '[img(12,12)]images/smiles/icon_arrow.gif[/img]', 0, 21,160, defOver, defBack, 'itemBorder', 'itemText'); menu[2][1] = new Item('{L_PROFILE}', 'profile.php?mode=editprofile', '', defLength, 0, 0); menu[2][2] = new Item('{L_PRIVATEMSGS}', '{U_PRIVATEMSGS}', '', defLength, 0, 0); menu[2][3] = new Item('[i]Favoriten[/i]', '#', '', defLength, 0, 4); // // User ENDE //
// // Infos & Suche START // menu[3] = new Array(); menu[3][0] = new Menu(true, '', 163, 0, 160, defOver, defBack, 'itemBorder', 'itemText'); menu[4][1] = new Item('Favoriten (intern)', 'favorites.php', '', defLength, 0, 0); menu[4][2] = new Item('Favoriten (extern)', 'favorites_ext.php', '', defLength, 0, 0); // // Favoriten ENDE //
// // LogIn START // menu[5] = new Array(); menu[5][0] = new Menu(true, '>', 0, 21, 160, defOver, defBack, 'itemBorder', 'itemText'); menu[5][1] = new Item('Login', '{U_LOGIN_LOGOUT}', '', defLength, 0, 0); menu[5][2] = new Item('[b]{L_REGISTER}[/b]', '{U_REGISTER}', '', defLength, 0, 0); // // LogIn ENDE //
/////////////////////////////////////////////////////////////////////////////////////////// // // // MENUEANPASSUNG ENDE - MENUEANPASSUNG ENDE - MENUEANPASSUNG ENDE - MENUEANPASSUNG ENDE // // // ///////////////////////////////////////////////////////////////////////////////////////////
// *** OPTIONAL CODE FROM HERE DOWN ***
// These two lines handle the window resize bug in NS4. See . // I recommend you leave this here as otherwise when you resize NS4's width menus are hidden.
var popOldWidth = window.innerWidth; nsResizeHandler = new Function('if (popOldWidth != window.innerWidth) ********.reload()');
// This is a quick snippet that captures all clicks on the ******** and hides the menus // every time you click. Use if you want.
if (isNS4) ********.captureEvents(Event.CLICK); ********.onclick = clickHandle;
function clickHandle(evt) { if (isNS4) ********.routeEvent(evt); hideAllBut(0); }
// This is just the moving command for the example.
function moveRoot() { with(menu[0][0].ref) left = ((parseInt(left) < 100) ? 100 : 5); } // End -->
*********
# #-----[ FIND ]------------------------------------------ #
# #-----[ AFTER, ADD ]------------------------------------------ #
cellpadding="0" cellspacing="0">[table width="100%" bgcolor="#000db0" border="0"][tr][td] [/td][/tr][/table]
# #-----[ FIND ]------------------------------------------ #
# #-----[ AFTER, ADD ]------------------------------------------ #
# #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ # # EoM | |
|