logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Spry
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 11-03-2010, 04:55 AM   #11
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

Sorry, it's been a rough day and I haven't been very good with this question . If you'd like the normal cursor on ALL the items with submenus this should work (fingers crossed ):

In the ul.MenuBarVertical a.MenuBarItemSubmenu style rule add the following property:

cursor:default;

You'll need to change the link code back to <a class="MenuBarItemSubmenu"> and you can forget the normalCursor style rule altogether.
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 11-03-2010, 06:02 PM   #12
gore.m
 
Join Date: Mar 2010
Posts: 53
Default

Thanks you for your reply!
Yes, with your help I have done normal cursor on ALL the items of menu.
But I would like to have normal cursor only on empty items (items without link) and hand cursor on items with link.
Is it possible?

thanks you
gore.m is offline   Reply With Quote
Old 11-03-2010, 07:05 PM   #13
gentleone
gentleone's Avatar
 
Join Date: Nov 2009
Location: Rhodes, Greece
Posts: 2,837
Default

I did it before to drop the hand cursor on an anchor tag by dropping the href attribute, but it might be that a spry drop down menu relies on the href attribute in the javascript file in order to work. I'm not familiar with spry so I don't know that. You know that there are CSS althernatives to have a (multilevel) dropdown menu?
__________________
www.gentlemedia.nl
gentleone is offline   Reply With Quote
Old 11-03-2010, 08:41 PM   #14
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

A change to the rule ul.MenuBarVertical a.MenuBarItemSubmenu (that's one rule) affects only the items with submenus. And that's what it does in my tests.

Dreamweaver does rely on the anchor <a> tag to style the menu and apply the cursor: pointer property to the <a> tag so simply removing the href="#" won't do the trick.
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 11-04-2010, 07:38 AM   #15
gore.m
 
Join Date: Mar 2010
Posts: 53
Default

Quote:
Originally Posted by DWcourse View Post
A change to the rule ul.MenuBarVertical a.MenuBarItemSubmenu (that's one rule) affects only the items with submenus. And that's what it does in my tests.

Dreamweaver does rely on the anchor <a> tag to style the menu and apply the cursor: pointer property to the <a> tag so simply removing the href="#" won't do the trick.
THANKS YOU It works
gore.m is offline   Reply With Quote
Old 11-04-2010, 03:10 PM   #16
gentleone
gentleone's Avatar
 
Join Date: Nov 2009
Location: Rhodes, Greece
Posts: 2,837
Default

Quote:
Originally Posted by DWcourse View Post
Dreamweaver does rely on the anchor <a> tag to style the menu and apply the cursor: pointer property to the <a> tag so simply removing the href="#" won't do the trick.
Okay... good to know.
__________________
www.gentlemedia.nl
gentleone is offline   Reply With Quote
Old 11-04-2010, 06:45 PM   #17
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

Quote:
Originally Posted by gore.m View Post
THANKS YOU It works
Glad we finally got it figured out. Some days things are just harder than they should be.
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:39 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com