- This topic is empty.
-
AuthorPosts
-
April 26, 2012 at 9:58 pm #37805rjmccollamParticipant
I have two things in mind that I want to do to take a simple menu just one step beyond, and possibly make it….cool.
Demo site is up at http://dev.wedodev.com/clients/prdale/topekalasik/
Thing 1 – I want to use jQuery to make the main navigation icons rise up on hover. I have searched around and for whatever reason have been unable to find what I am looking for and am not skilled enough to write it myself.
Thing 2 – For the drop down menu I want to have a triangle at the top of the menu. I have built the menu with some basic CSS3 and would like to keep that. I am trying not to use a full background image so I can keep the menu a dynamic height. The end result should look like this.
I would appreciate any help in pointing me in the right direction. Thanks!
April 27, 2012 at 1:45 am #101856amossParticipantSomething like this?
April 27, 2012 at 9:40 pm #101925rjmccollamParticipantThis is awesome, thank you! I have implemented what you did in the demo site.
One last question…
How do I keep the main li in the “up”, or hover state when I mouse down to the drop down menu?
April 28, 2012 at 12:42 pm #101939amossParticipant#nav li a:hover, #nav li a:focus {
position: relative;
top: -10px; }April 28, 2012 at 4:30 pm #101940rjmccollamParticipantThat is what I thought too, but it doesn’t do the trick.
April 28, 2012 at 5:12 pm #101941amossParticipantDoes this work for you?
http://codepen.io/pen/108/1If not please explain which trick you were after.
April 28, 2012 at 5:47 pm #101946rjmccollamParticipantThanks for the continued help.
What I want is for the main navigation tab, for example Our Process, to stay in the up/hover state when you mouse down to the drop down menu.
April 28, 2012 at 6:03 pm #101947amossParticipantGlad to help where I can. Does this work for you or not?
http://codepen.io/pen/108/1April 30, 2012 at 9:31 pm #102032rjmccollamParticipantUnfortunately it does not.
Let me try another stab at explaining what I want…
When you mouse over a
- two things currently happen. 1 the menu item “moves” up and 2 the drop down menu appears. When you move your mouse down to the drop down menu the original
- that you were hovering on goes back to a normal state, or “moves” down.
How do I keep the main
- stay in the hover state while I am in the drop down menu?
-
AuthorPosts
- The forum ‘Other’ is closed to new topics and replies.