Changing var delay hide amount

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
CoolAsCarlito
Forum Contributor
Posts: 192
Joined: Sat May 31, 2008 3:27 pm
Contact:

Changing var delay hide amount

Post by CoolAsCarlito »

This is from a js submenus script and I'm wanting to know how to make it so that it won't disappear until you click another menu.

//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=500
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Changing var delay hide amount

Post by pickle »

How about the whole code? That's just a comment & a variable declaration.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
CoolAsCarlito
Forum Contributor
Posts: 192
Joined: Sat May 31, 2008 3:27 pm
Contact:

Re: Changing var delay hide amount

Post by CoolAsCarlito »

What does having to see the entire code have anythign to do with the answer to the question.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Changing var delay hide amount

Post by pickle »

You're asking us to modify your code & you wonder how seeing the code is relevant?
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
CoolAsCarlito
Forum Contributor
Posts: 192
Joined: Sat May 31, 2008 3:27 pm
Contact:

Re: Changing var delay hide amount

Post by CoolAsCarlito »

I gave you the line that needs to be modified.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Changing var delay hide amount

Post by pickle »

Well if you know it needs to be modified, why are you asking us?

Seriously, you want help, but you're not willing to give us what we need to help you. I, for one, can't help you with what you've given.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply