HOME | DD

electricjonny — Click Menus by-nc-sa

#click
Published: 2010-04-22 09:32:57 +0000 UTC; Views: 7023; Favourites: 34; Downloads: 34
Redirect to original
Description I don't know about anyone else, but for me personally, I find the menus here popping open in version 7 very annoying

It's especially annoying because in Firefox, when I want to change to another tab, I hover over the menus and then they fly open. It's just a bit annoying to me, so I thought I would make a Greasemonkey script to fix that (this also works in Chrome, as of May 19th 2011).

So, if you would like to have the menus open when you click on them instead of hovering over them, then you can install this script.

Just to make it clear, clicking on the menu items at the top of the page used to take you somewhere, but now they open the menu up. But you can still get to those locations on each menu when you open them up. All except the dA home page when you click the far left menu. But I didn't find a good way to get that working (I wrote this script in just a few hours).

But you can just put the dA home page (Browse Art) in your dA main menu and that will work. By the way, I'm loving how I can stick that menu to the page now

To Install
You can install this by copying this to a new tab: http://electricjonny.com/code/click_menus.user.js

To Use
After installing this script, you shouldn't notice any changes other than the menus no longer open up when you hover over them. You'll just see the background change on whatever menu area you're hovering over.

To get the menu to open, simply click on the menu area at the top of the page. If you slide your mouse off the menu, it will go away. And if you slide your menu from one menu area at the top to another menu area, the menu will also go away. Simply click again to open another menu up.

And as always, feel free to modify this to suit your own needs, and report any bugs or oddities if you find them
Related content
Comments: 97

electricjonny In reply to ??? [2010-05-19 00:56:01 +0000 UTC]

I'm glad you like it, and thanks for promoting it

👍: 0 ⏩: 0

mastersporeo In reply to ??? [2010-04-27 01:03:21 +0000 UTC]

i went ahead and changed the addresses the script is applied on to only be chats, which is where i mainly had a problem with the drop downs

👍: 0 ⏩: 1

electricjonny In reply to mastersporeo [2010-04-27 01:08:47 +0000 UTC]

That's cool

I sort of thought that the chats were the main place the hovering bugged people. So yeah, making it only apply to the chats is a fine change

👍: 0 ⏩: 1

mastersporeo In reply to electricjonny [2010-04-27 01:24:17 +0000 UTC]

i think now that i have my stick menu on i might need to change it back to all of dA... we'll see. anyway, again thanks for sharing the script with us non-programmers!

👍: 0 ⏩: 1

electricjonny In reply to mastersporeo [2010-04-27 01:27:19 +0000 UTC]

Haha, add it wherever you want.

And no problem at all

👍: 0 ⏩: 0

marmardrew [2010-04-23 23:01:38 +0000 UTC]

Very nice idea. I found my self personally hating the auto-open menus but lately i've gotten used to it and have learned how to avoid it myself. Lol maybe in the future i might use this. It's a great little script. :]

👍: 0 ⏩: 1

electricjonny In reply to marmardrew [2010-04-23 23:07:27 +0000 UTC]

Thanks

I'll probably get used to it, but I find it rather annoying right now

👍: 0 ⏩: 0

GaioumonBatou [2010-04-23 00:48:51 +0000 UTC]

This makes v7 a lot more comfortable. Thanks!

👍: 0 ⏩: 1

electricjonny In reply to GaioumonBatou [2010-04-23 00:51:27 +0000 UTC]

You're welcome

👍: 0 ⏩: 0

photofroggy In reply to ??? [2010-04-22 14:54:22 +0000 UTC]

Brilliantly simplistic solution to something that has been getting on a lot of people's nerves! This should be properly implemented by dA or something

👍: 0 ⏩: 1

electricjonny In reply to photofroggy [2010-04-22 15:03:13 +0000 UTC]

Thank you!

As I was writing the script, I kept wondering if the way I did it was the best way, or even a good way

But luckily, jQuery makes a lot of this much easier. I sort of wanted to make it so you could click on the menu, open it up, then click again to get it to go away... but I've always had problems getting things like .click() or mouseDown to work right on the same thing and do two different things... I think there's some return stuff I haven't gotten a grasp of



Anyway, yeah. I would love it if they let you pick if you want to click on the menus or just hover over them. It can be especially annoying in the chat rooms.

👍: 0 ⏩: 0

PatrickRuegheimer [2010-04-22 10:23:32 +0000 UTC]

Hover doesn't work but when I click on it it works perfect. (:

Even the pop up menues doesn't bother me that much. ^^

👍: 0 ⏩: 1

electricjonny In reply to PatrickRuegheimer [2010-04-22 10:30:17 +0000 UTC]

Hover doesn't work? As in, the menus don't open when you hover, or the background doesn't change like in the preview image here?

👍: 0 ⏩: 1

PatrickRuegheimer In reply to electricjonny [2010-04-22 10:34:10 +0000 UTC]

When I hover it the background doesn't change.
When I click the menu opens normal. (:

👍: 0 ⏩: 1

electricjonny In reply to PatrickRuegheimer [2010-04-22 10:40:13 +0000 UTC]

Hmm, I see. What version of Firefox are you using?

The background for the menus use a Firefox 3.6 type gradient, so if you aren't using the newest Firefox, you won't see the change. I'll try to change this script so it works for older versions

👍: 0 ⏩: 1

PatrickRuegheimer In reply to electricjonny [2010-04-22 10:43:59 +0000 UTC]

FF 3.5.9
Will update it, you don't have to change it for me.

👍: 0 ⏩: 1

electricjonny In reply to PatrickRuegheimer [2010-04-22 10:46:45 +0000 UTC]

Ah ok. Well I just got it changed (it only took a couple minutes), so you can install this from here again [link]

👍: 0 ⏩: 1

PatrickRuegheimer In reply to electricjonny [2010-04-22 19:42:30 +0000 UTC]

Works perfect. (:

👍: 0 ⏩: 1

electricjonny In reply to PatrickRuegheimer [2010-04-22 19:50:48 +0000 UTC]

Good to hear

👍: 0 ⏩: 0

mastersporeo In reply to ??? [2010-04-22 10:18:30 +0000 UTC]

i like the script, however im not getting the second menu for hovering thats shown. still, id rather keep it like this, especially as a dAmn user, because those drop downs always get in my way.

👍: 0 ⏩: 1

electricjonny In reply to mastersporeo [2010-04-22 10:27:38 +0000 UTC]

Hmm, well, the way this script works, if you're hovering over a menu at the top, you have to click it to open the menu. But if you slide your mouse over to hover on another menu, the previous menu will go away. You can just click the menu your mouse is over now to open it again though.

Does that make sense?

👍: 0 ⏩: 1

mastersporeo In reply to electricjonny [2010-04-22 10:32:32 +0000 UTC]

yeah it does, my issue was non existent. i misinterpreted something else. thanks for the helpful script

👍: 0 ⏩: 1

electricjonny In reply to mastersporeo [2010-04-22 10:33:47 +0000 UTC]

Ah ok. I don't think I really explained things well enough in the artists comments. So I'll go and make it much clearer now. I'm glad you like it

👍: 0 ⏩: 1

mastersporeo In reply to electricjonny [2010-04-22 10:43:34 +0000 UTC]

i didnt realize you could stick the menu under deviantart now, so i was confused by it, but now that i have it its like two sweet changes at the same time. so thanks to you sir

👍: 0 ⏩: 1

electricjonny In reply to mastersporeo [2010-04-22 10:48:31 +0000 UTC]

Haha yeah, just about everything at the top is a menu. You have the menu by the dA logo, the one next to your name, the messages, shop, then at the far right you have the friends and collect menu.

For me, I stick the dA menu on the page so I have some things right under all the menus.

👍: 0 ⏩: 1

mastersporeo In reply to electricjonny [2010-04-22 10:54:29 +0000 UTC]

oh yeah i knew all that. i just didnt know they had enabled the stick part. and i really like having that enabled

👍: 0 ⏩: 1

electricjonny In reply to mastersporeo [2010-04-22 11:00:19 +0000 UTC]

I know! Now I can put the areas I click on the most down there and not have to get to them from the menu. It's a great addition

👍: 0 ⏩: 1

mastersporeo In reply to electricjonny [2010-04-22 11:12:18 +0000 UTC]

thats one thing i really missed in the beta

👍: 0 ⏩: 0

mastersporeo In reply to ??? [2010-04-22 10:16:03 +0000 UTC]

bravo sir.

👍: 0 ⏩: 0

SaTaNiA [2010-04-22 10:04:09 +0000 UTC]

I love dA v7 for my own, but i think it will be useful for tons of v7 hates
But it's a nice addon
Thanks

👍: 0 ⏩: 1

electricjonny In reply to SaTaNiA [2010-04-22 10:10:17 +0000 UTC]

Haha yeah, some people may like the hovers, others may not.

Options are always good

Thanks for the comment

👍: 0 ⏩: 1

SaTaNiA In reply to electricjonny [2010-04-22 10:28:04 +0000 UTC]

You're welcome
actually it's useful since there's still some bug with those popoup
if you click on your groups badges and the over the menu , the menu will be behind the group badges :sad:
The may have forgot a order there

👍: 0 ⏩: 1

electricjonny In reply to SaTaNiA [2010-04-22 10:31:07 +0000 UTC]

Yeah, it seems not everything is worked out quite right yet

👍: 0 ⏩: 1

SaTaNiA In reply to electricjonny [2010-04-22 10:36:52 +0000 UTC]

👍: 0 ⏩: 0

Synfull In reply to ??? [2010-04-22 09:54:45 +0000 UTC]

Awesome. Right now i'm not using V7 because i personally far prefer the current dA. However atleast i know when i'm forced to switch its possible to have a script to stop the menus appearing when you hover

👍: 0 ⏩: 1

electricjonny In reply to Synfull [2010-04-22 10:01:56 +0000 UTC]

Yeah, same here. I don't ever use version 7 (other than to test out the new things and give feedback), but once this version goes live, I'm hoping this script will still work so I don't have the hovering opening them up.

👍: 0 ⏩: 1

Synfull In reply to electricjonny [2010-05-18 23:33:49 +0000 UTC]

Stupid question, but why can't i click the link now i need it? >.>

👍: 0 ⏩: 1

electricjonny In reply to Synfull [2010-05-18 23:42:12 +0000 UTC]

You need the install link for this script, here? [link]

👍: 0 ⏩: 0

HaDou-Ken In reply to ??? [2010-04-22 09:33:46 +0000 UTC]

This dA v7 is better than the correct one! Thanks!

👍: 0 ⏩: 1

electricjonny In reply to HaDou-Ken [2010-04-22 09:35:47 +0000 UTC]

Haha thanks

I just find those menus popping open all the time very annoying

I imagine they did that since people didn't know that some menus in the current version could be clicked on to open them.

👍: 0 ⏩: 1

HaDou-Ken In reply to electricjonny [2010-04-22 09:38:42 +0000 UTC]

But there a little problem. The script do not work. And when i click on 396 messages nothing happen.

👍: 0 ⏩: 1

electricjonny In reply to HaDou-Ken [2010-04-22 09:42:26 +0000 UTC]

Really?

I can click at the top (right now it says 1 Message), and it opens the menu. Then I can click on the links in that menu and get to my message centre.

👍: 0 ⏩: 1

HaDou-Ken In reply to electricjonny [2010-04-22 10:17:32 +0000 UTC]

When i click i see the list from up to down. And when i put the mouse on it the list do not show. (Or something like that...)Before i install, when i put the mouse on the '### messages' they show me the list.

👍: 0 ⏩: 1

electricjonny In reply to HaDou-Ken [2010-04-22 10:28:50 +0000 UTC]

So the messages menu doesn't open when you hover?

Try clicking on the messages menu

👍: 0 ⏩: 1

HaDou-Ken In reply to electricjonny [2010-04-22 11:04:16 +0000 UTC]

That take time. I uninstall it because it dont work.

👍: 0 ⏩: 1

electricjonny In reply to HaDou-Ken [2010-04-22 11:09:19 +0000 UTC]

Ah ok

👍: 0 ⏩: 0