Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:31

The Clock script keypress script have me baffled.


Poster: scott.g
Dated: Friday September 23 2005 - 4:21:41 BST

I have followed all the procedures as I understand them for the menuclock.js and keypress.js but I am baffled as to how you declare where on the menu the clock should display, and weather the keypress should work without having to have your mouse over the menu.

first I have placed the following on my web page as I have my menu in a table.:

</script>
<script type="text/javascript" src="/Cintinel/faq/XPmenu/menuclock.js"></script>
<script type="text/javascript" src="/Cintinel/faq/ms-powerpoint/Menu_data.js"></script>
<script src="/Cintinel/faq/XPmenu/keypress.js" type=text/javascript></script>
<script src="/Cintinel/faq/XPmenu/tooltips.js" type=text/javascript></script>
<script>

CLOCK
Q1. Am I supposed to write something in in the Menu_dat.js file to display the clock. I tried, aI("src=/Cintinel/faq/XPmenu/menuclock.js"); but this created an error on role over.

Q2. Is it an aI stament that I use to put the clock where I want it.

Q3. can the clock be placed on the HTML page and not in the menu?

KEYPRESS.
I am able to get this to work, but only if the mouse is over the menu.

Q1. Should you be able to TAB around as in windows.

Q2. can you assign keysrokes to menus. The only thing that worked for me was up-down-left-right arrows on the keyboard.[/code]


Poster: Ruth
Dated: Friday September 23 2005 - 21:44:30 BST

Hi,

Here's a demo of the Clock Module

1. The demo will show you how to code it in the aI.

2. If you want it someplace else on the page outside the menu, you really do it by creating a separate menu that is placed relatively i.e. in a table. So, you'd create the menu [not another file, just a menu in your existing menu_data.js file] Then you would cut it out of the menu_data.js and place it in the table like you do for a main menu placed in a table. It will use the menuclock.js file the call for which you have put up with the other menu program files.

3. The keypress works like a keypress. So, let's say you have the menu on your page with the keypress. When you start the tab, it will start with the first link in your browser, i.e. the url in the address bar. At least that's how it works for me when I go to the Milonic site and hit the tab. I'm not much up on the keypress, I don't use it. I thought it was just something to make the menu work when someone used the tab to navigate their page.

Ruth


Poster: scott.g
Dated: Saturday September 24 2005 - 7:51:03 BST

Thanks Ruth
the clock info looks like it is exactly what I am looking for.
I searched everywhere for that info
Excellent.

As far as the keypress goes, If I go to the milonic home page and click tab on my keyboard, then I am jumped to the various links on the page. My up and down arrows, scroll the page, but nothing activates the menu.
If I hover my mouse over the menu, then use my arrow keys, they allow me to navigate the menu which is what you realy need for accessability.

I noticed there is also a bug on the milonic home menu. If you hover your mouse over home, then use the down arrow on your keyboard, you get a javascript error.

Thanks

:D


Poster: Ruth
Dated: Saturday September 24 2005 - 7:56:19 BST

Hi Scott,

There's a link to all demos on the main site, under support / tech support docs. Not all of them are actually modules from Milonic, some of the demos are of functions created to work with the menu to do different things.

Ruth


Poster: scott.g
Dated: Saturday September 24 2005 - 8:06:52 BST

Thanks again Ruth
I haved only been at this a week, still finding my way around.
:D