Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / September 2007



Tip: Looking for answers? Try searching our database.

Trying do create dynamic menus - need to delay mouseout for about 200 ms.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Terry - 29 Sep 2007 10:56 GMT
var oMattress = document.getElementById("mattressmenu");
oMattress.onmouseover = function ()
{document.getElementById"mattress").style.display = "block";}
Thomas 'PointedEars' Lahn - 29 Sep 2007 12:37 GMT
> var oMattress = document.getElementById("mattressmenu");
> oMattress.onmouseover = function ()

Proprietary and inherently error-prone.  See _addEventListener() in
http://PointedEars.de/scripts/dhtml.js

> {document.getElementById"mattress").style.display = "block";}
--------------------------^
Syntax error.

PointedEars
Signature

"Use any version of Microsoft Frontpage to create your site. (This won't
prevent people from viewing your source, but no one will want to steal it.)"
 -- from <http://www.vortex-webdesign.com/help/hidesource.htm>

Terry - 29 Sep 2007 14:40 GMT
On Sep 29, 7:37 am, Thomas 'PointedEars' Lahn <PointedE...@web.de>
wrote:
> > var oMattress = document.getElementById("mattressmenu");
> > oMattress.onmouseover = function ()
>
> Proprietary and inherently error-prone.  See _addEventListener() inhttp://PointedEars.de/scripts/dhtml.js

I am surprised you saw this post because I removed it when I realized
that I had not completed the whole post.

I am wondering how is what I was trying to do proprietary? It was
working so far with both Firefox and IE (at least IE7)?

Are there any other resources that you can point me to if I want to
build cascading menus properly.

I was about to purchase DHTML Utopia: Modern Web Design Using
Javascript and the DOM.

Thanks in advance,
Terry
Thomas 'PointedEars' Lahn - 29 Sep 2007 14:45 GMT
> On Sep 29, 7:37 am, Thomas 'PointedEars' Lahn <PointedE...@web.de>
> wrote:
[quoted text clipped - 4 lines]
> I am surprised you saw this post because I removed it when I realized
> that I had not completed the whole post.

You are using Google's faulty and obviously not fool-proof Web interface.

> I am wondering how is what I was trying to do proprietary?

Assigning a Function object reference to a non-standard property, even
though (at least in two DOMs) a standards-compliant alternative is possible.

> It was working so far with both Firefox and IE (at least IE7)?

So?

> Are there any other resources that you can point me to if I want to
> build cascading menus properly.

http://www.google.com/search?q=css+menu&filter=0

> I was about to purchase DHTML Utopia: Modern Web Design Using
> Javascript and the DOM.

And I thought it couldn't get any worse.

PointedEars
Signature

var bugRiddenCrashPronePieceOfJunk = (
   navigator.userAgent.indexOf('MSIE 5') != -1
   && navigator.userAgent.indexOf('Mac') != -1
)  // Plone, register_function.js:16

Terry - 29 Sep 2007 15:12 GMT
On Sep 29, 9:45 am, Thomas 'PointedEars' Lahn <PointedE...@web.de>
wrote:
> > On Sep 29, 7:37 am, Thomas 'PointedEars' Lahn <PointedE...@web.de>
> > wrote:
[quoted text clipped - 25 lines]
>
> And I thought it couldn't get any worse.

I take it you don't reccommend that book.

I must say that it seems like you and a few others seem to be really
knowledge. What do I have to do to reach your lofty status? I am kind
of starting all over again with this stuff. I have a degree in Comp.
Sci. but it was a while before I started to get into development.

Any suggestions on how I could improve real fast.

I know classic asp fairly well might be using asp.net at my next job
and am planning on learning php and then eventually ruby on rails.

I appreciate your advice,
Terry
Terry - 29 Sep 2007 15:30 GMT
I followed both of your links.

With the first one it is still downloading the javascript.

Was there a particular link in that results of that google search that
you thought would be goood for me to look at.

I just came across this http://www.howtocreate.co.uk/tutorials/testMenu.html

what do you think.

I guess I should try to build something that won't fail if javascript
is disabled.

By the way that downloading is still going on.

Terry
timsamshuijzen@gmail.com - 29 Sep 2007 15:30 GMT
> I must say that it seems like you and a few others seem to be really
> knowledge. What do I have to do to reach your lofty status? I am kind
> of starting all over again with this stuff. I have a degree in Comp.
> Sci. but it was a while before I started to get into development.
>
> Any suggestions on how I could improve real fast.

Here are some links that got me started (two weeks ago):

http://www.quirksmode.org/resources.html
http://www.nexes.org/sun/javascript/ajaxinaction/Ajax%20in%20Action_ApB.html

and ofcourse:

http://jibbering.com/faq/
http://jibbering.com/faq/#FAQ3_2
Terry - 29 Sep 2007 15:40 GMT
Thank you.

On Sep 29, 10:30 am, timsamshuij...@gmail.com wrote:

> Here are some links that got me started (two weeks ago):

http://www.quirksmode.org/resources.htmlhttp://www.nexes.org/sun/javascript/ajax
inaction/Ajax%20in%20Action_A
...

Is it safe to run the active x for the above link.

Thanks,
Terry
Thomas 'PointedEars' Lahn - 30 Sep 2007 12:58 GMT
> On Sep 29, 9:45 am, Thomas 'PointedEars' Lahn <PointedE...@web.de>
> wrote:
[quoted text clipped - 3 lines]
>
> I take it you don't reccommend that book.

Correct.

> I must say that it seems like you and a few others seem to be really
> knowledge. What do I have to do to reach your lofty status? I am kind
> of starting all over again with this stuff. I have a degree in Comp.
> Sci. but it was a while before I started to get into development.
>
> Any suggestions on how I could improve real fast.

The best answer to that request is that you can not.  Acquiring knowledge
that can be applied correctly requires experience and acquiring that
requires time.  It helps if you are a quick study, but it helps more to
study more.

To provide you with a perspective: I am doing JS/ECMAScript programming for
about 8 years now, I am considering myself a quick study regarding
programming languages and concepts, and I am still learning new things here
every week.

> I know classic asp fairly well might be using asp.net at my next job
> and am planning on learning php and then eventually ruby on rails.

Learning PHP is a good idea; I am not so sure with Ruby on Rails (but I only
read about the latter until now).  You should concentrate more on learning
programming concepts than on learning a bunch of new languages.

On a closer look, programming languages are much alike, and if you can apply
the underlying programming concept, you can easily rewrite a program in any
language.

PointedEars
Signature

Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
 -- Richard Cornford, cljs, <f806at$ail$1$8300dec7@news.demon.co.uk>

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.