I am working on a menu bar that has been create for divisions in html.
The menubar works perfectly fine until you go to the second tier. For
some reason it will not let me clear the timer for the second tier.
And whats worse is that one you move back to the first tier it does
not clear the timer for it either.
Here is the link for the page i am working on: http://www.nwtechonline.com/~kendalk...vaschools.html.
If you need the code then post and i will get it to you.
Also this menubar works only in firefox at the moment. If you are
using Internet Explorer I am sorry.
Thanks in Advance,
Kendal Knabe
Alva Schools Webmaster 8 4329
On Dec 6, 10:56 am, kendalk08 <kendal...@gmail.comwrote:
I am working on a menu bar that has been create for divisions in html.
The menubar works perfectly fine until you go to the second tier. For
some reason it will not let me clear the timer for the second tier.
And whats worse is that one you move back to the first tier it does
not clear the timer for it either.
Here is the link for the page i am working on:http://www.nwtechonline.com/~kendalk...vaschools.html.
If you need the code then post and i will get it to you.
Also this menubar works only in firefox at the moment. If you are
using Internet Explorer I am sorry.
Thanks in Advance,
Kendal Knabe
Alva Schools Webmaster
Oops sorry the link is: http://www.nwtechonline.com/~kendalk07a/alvaschools/.
kendalk08 said the following on 12/6/2007 11:56 AM:
I am working on a menu bar that has been create for divisions in html.
The menubar works perfectly fine until you go to the second tier. For
some reason it will not let me clear the timer for the second tier.
And whats worse is that one you move back to the first tier it does
not clear the timer for it either.
Why are you trying to use setTimeout to begin with? Simply use the
onmouseover/out events to decide whether to show/hide the menus. And,
your layout is off. Try going from one "tier" to the next, very slowly,
with the mouse. The second tier disappears before you can get to it.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
The only reason for the timer is to allow time for the user to change
there mind...
I have not tried the onmouseout/onmouseover trick before but i'll give
it a try.
Kendal Knabe
Alva Schools Webmaster
On Dec 7, 12:26 am, kendalk08 <kendal...@gmail.comwrote:
The only reason for the timer is to allow time for the user to change
there mind...
I have not tried the onmouseout/onmouseover trick before but i'll give
it a try.
Your links at the top do nothing with script disabled. They certainly
have their problems when script is enabled. Perhaps you shouldn't
waste your time re-inventing the wheel.
Try this script: http://code.google.com/p/nicemenus/
You'll have to change to nested lists for your menus, but that is what
they should be anyway.
"kendalk08" <ke*******@gmail.comwrote in message
news:53**********************************@e23g2000 prf.googlegroups.com...
On Dec 6, 10:56 am, kendalk08 <kendal...@gmail.comwrote:
>I am working on a menu bar that has been create for divisions in html. The menubar works perfectly fine until you go to the second tier. For some reason it will not let me clear the timer for the second tier. And whats worse is that one you move back to the first tier it does not clear the timer for it either.
Here is the link for the page i am working on:http://www.nwtechonline.com/~kendalk...vaschools.html.
If you need the code then post and i will get it to you.
Also this menubar works only in firefox at the moment. If you are using Internet Explorer I am sorry.
Thanks in Advance, Kendal Knabe Alva Schools Webmaster
Oops sorry the link is: http://www.nwtechonline.com/~kendalk07a/alvaschools/.
All I get is a javascript error: depOneStartTimer is not defined,
menubar_js2.js line 53.
You do not need to use javascript for this stuff. CSS will do quite nicely.
--
Richard.
On Dec 7, 4:51 am, "rf" <r...@invalid.comwrote:
"kendalk08" <kendal...@gmail.comwrote in message
news:53**********************************@e23g2000 prf.googlegroups.com...
On Dec 6, 10:56 am, kendalk08 <kendal...@gmail.comwrote:
I am working on a menu bar that has been create for divisions in html.
The menubar works perfectly fine until you go to the second tier. For
some reason it will not let me clear the timer for the second tier.
And whats worse is that one you move back to the first tier it does
not clear the timer for it either.
Here is the link for the page i am working
on:http://www.nwtechonline.com/~kendalk...vaschools.html.
If you need the code then post and i will get it to you.
Also this menubar works only in firefox at the moment. If you are
using Internet Explorer I am sorry.
Thanks in Advance,
Kendal Knabe
Alva Schools Webmaster
Oops sorry the link is: http://www.nwtechonline.com/~kendalk07a/alvaschools/.
All I get is a javascript error: depOneStartTimer is not defined,
menubar_js2.js line 53.
You do not need to use javascript for this stuff. CSS will do quite nicely.
Those CSS menus are inherently inaccessible though. Another thing I
don't like about them is that they vanish the instant you move the
mouse away, which seems to be the opposite of what the OP is trying to
accomplish.
On Dec 7, 11:58 am, David Mark <dmark.cins...@gmail.comwrote:
On Dec 7, 4:51 am, "rf" <r...@invalid.comwrote:
"kendalk08" <kendal...@gmail.comwrote in message
news:53**********************************@e23g2000 prf.googlegroups.com...
On Dec 6, 10:56 am, kendalk08 <kendal...@gmail.comwrote:
>I am working on a menu bar that has been create for divisions in html.
>The menubar works perfectly fine until you go to the second tier. For
>some reason it will not let me clear the timer for the second tier.
>And whats worse is that one you move back to the first tier it does
>not clear the timer for it either.
>Here is the link for the page i am working
>on:http://www.nwtechonline.com/~kendalk...vaschools.html.
>If you need the code then post and i will get it to you.
>Also this menubar works only in firefox at the moment. If you are
>using Internet Explorer I am sorry.
>Thanks in Advance,
>Kendal Knabe
>Alva Schools Webmaster
Oops sorry the link is:
>http://www.nwtechonline.com/~kendalk07a/alvaschools/.
All I get is a javascript error: depOneStartTimer is not defined,
menubar_js2.js line 53.
You do not need to use javascript for this stuff. CSS will do quite nicely.
Those CSS menus are inherently inaccessible though. Another thing I
don't like about them is that they vanish the instant you move the
mouse away, which seems to be the opposite of what the OP is trying to
accomplish.
I have figured a way around the CSS Menu to create a Javascript Menu
using Div. The problem came from when the ONMOUSEOVER event fired from
the child element it fired the ONMOUSEOUT event from the parent
element. This caused the child element to cancel the timer and the
parent element to restart the timer. Now it works perfectly in Firefox
and i am working on getting it to work perfectly in IE. To view the
page in FireFox goto: http://www.nwtechonline.com/~kendalk...ls/index2.html.
If you want to view the script post here and ill post it. Thanks to
all for the help.
Kendal Knabe
Alva Schools Webmaster
On Dec 10, 11:02 am, kendalk08 <kendal...@gmail.comwrote:
[snip]
goto: http://www.nwtechonline.com/~kendalk...ls/index2.html.
404.
If you want to view the script post here and ill post it. Thanks to
all for the help.
That shouldn't be necessary if the link is made to work. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Richard A. DeVenezia |
last post by:
At line
this.timerId = setInterval (function(){this.step()}, 100)
I get error dialog
Error:Object doesn't support this property or method.
If I change it to
this.timerId = setInterval...
|
by: Mark |
last post by:
Hi,
At the top of my php file I have got :-
<body onblur="self.focus();">
so when I click off onto another window, my window comes back up in front
which is perfect. The problem however, is...
|
by: Adrian MacNair |
last post by:
Hi, it's been about 5 years since I did JavaScript so I was wondering if I
could get some help with a little problem. I wrote a script from memory (5
years!!) and the only problem I have is...
|
by: GEL |
last post by:
Hi, I want to open a new browser window, let the user use that window
for several minutes, and when they close, I'd like to change the page
displayed in the original window.
According to...
|
by: ced |
last post by:
Hallo,
I have some JS which creates a new 2-frame window.
The new window (via onLoad) backfills a variable
in the parent window so I'll know when it's safe
to load the target frame.
The...
| |
by: eyoung |
last post by:
I call a function that takes the unit price and quantity ordered to
create an amount...it looks something like this.
function calculateCost()
{
quantity=document.RFO.quantity.value;...
|
by: df |
last post by:
Why?
|
by: Eddie |
last post by:
I am opening a windows (well, technically a greybox() call GB_show()
which shows a nicer window than normal), and want to wait until that
window is closed before moving to the next command. ...
|
by: rizwan6feb |
last post by:
Hi experts! I getting the following error message from Firefox, for the given code
Error: uncaught exception: Permission denied to get property Window.resizeTo
<!DOCTYPE html PUBLIC...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |