Navigator
Online Users

In total there are 23 users online :: 7 registered, 0 hidden and 16 guests

Most users ever online was 81 on Wed Jun 09, 2010 10:40 am

Registered users: Ask Jeeves [Bot], dravekx , Exabot [Bot], Google 2.1 [Bot], hardpeter , MSN [Bot], Yahoo [Bot] based on users active over the past 240 minutes

Last Online
In order to view the online list you have to be registered and logged in.



We are a free and open
community, all are welcome.

Click here to Register

Bot Tracker

Google 2.1 [Bot]
Fri. Sep. 10 2010, 02:58
MSN [Bot]
Fri. Sep. 10 2010, 02:58
Exabot [Bot]
Fri. Sep. 10 2010, 02:55
Yahoo [Bot]
Fri. Sep. 10 2010, 02:54
Ask Jeeves [Bot]
Fri. Sep. 10 2010, 02:34
Baidu [Spider]
Thu. Sep. 09 2010, 23:54
Google [Bot]
Thu. Sep. 09 2010, 18:14
Google Desktop
Thu. Sep. 09 2010, 14:28
MSNbot Media
Thu. Sep. 09 2010, 07:23
Alexa [Bot]
Thu. Sep. 09 2010, 06:04

Search

Categories
Not processed for this page
In development
Demo Block
Progress: [||||||||||]
Last updated:
Mon 25 Aug 2008
Version: 0.0.0
Designed by: Michaelo
Not downloaded yet
Team Speak
Progress: [||||||||||]
Last updated:
Mon 20 Apr 2009
Version: 1.0.0
Designed by: HelterSkelter
Ported by: Mike
Not downloaded yet
Cloud9 Links

; ; ; ; ; ; ; ; ; ;

JS Menu Idea

Php, Mysql, Html, CSS and other questions affecting coding

JS Menu Idea

Postby dravekx » Fri Mar 05, 2010 1:17 pm

Main Site URL: http://www.dravekx.com
Coding URL: http://dravekx.dyndns.org/phpbb3

I have this goal-dream-change I want to add (if possible) to my lithium dx-z3 menu system, but not sure how to go about it correctly. I think this is more than a one step process, but let me give the layout and see if anyone has an easy or fitting solution.

1. The Main Menu is controlled via JavaScript and HTML using A and B:

(A. JavaScript)
Spoiler:
var openSubNav = '';

function show_sub(navId)
{
next = document.getElementById(openSubNav);
if (next)
{
next.style.display = 'none';
}
else
{
next = document.getElementById('sub_nav_home');
if (next)
{
next.style.display = 'none';
}
}
next = '';

next = document.getElementById(navId);
if (next)
{
next.style.display = 'block';
}
next = '';
openSubNav = navId;
}

(B. HTML)
Spoiler:
<div class="navigation_menu">
<ul>
<li onmouseover="show_sub('sub_nav_home');"><a href="{U_PORTAL}" title="{L_PORTAL}"><span>Home</span></a></li>
</ul><div>

<div id="sub_navigation_menu">
<ul><li>
<div id="sub_nav_home" style="display: none;">
<ul>
<li><a href="" title="" class="menuanchorclass someotherclass" rel="anylinkmenu1[click]"><span>ClickDropMenuItem</span></a></li>
</ul></div></li></ul></div>

The HTML sub navigation list (when clicked) then calls the JavaScript file anylinkmenu.js. This file accesses menucontents.js which defines the clickdropmenu layout as such:

(C. MENU LAYOUT)
Spoiler:
var anylinkmenu1={divclass:'anylinkmenu', linktarget:'_self'}
anylinkmenu1.items=[
["ClickDropMenuTitle", "ClickDropMenuTitleLink"],
["- Empty -", ""],
["- Empty -", ""]
]


I want to, somehow, AUTO IMPLEMENT the forum categories and sub-forums and into this menu system instead of hand-typing/changing each one. That way, you can add a category or forum via the ACP and it will automatically add the category and sub forums to the menu system.

Is this possible? Can I use the current setup? If anyone wants to take a shot at this, help, or even slap me with any optimistic suggestions, I would appreciate it. This would be a really cool addition and I'm hoping to accomplish it. (even if it costs some $$) I can't afford a big bill, but once complete, I'll offer it for free so others can enjoy it. (with royalist approvals if needed) :mrgreen: :ugeek:
User avatar
dravekx
 
Posts: 314
Joined: Fri Jun 05, 2009 5:31 am
Location: The World of Dravekx Flag

Re: JS Menu Idea

Postby dravekx » Sun Jun 27, 2010 12:58 am

still no luck on getting this accomplished. Hopefully soon, life will give me the patience and time.
User avatar
dravekx
 
Posts: 314
Joined: Fri Jun 05, 2009 5:31 am
Location: The World of Dravekx Flag


Return to Coding

Who is online

Registered users: Ask Jeeves [Bot], dravekx , Exabot [Bot], Google 2.1 [Bot], hardpeter , MSN [Bot], Yahoo [Bot]