Jump to content

Recommended Posts

Basically I want a rather simple navigation menu on the side that has a small tab that when it is mouse over'd it will pull out a list of links. It would also be good to do it in a visually appealing way. Just like slide out. Can anyone help me with this? I'm not sure how to get started :/

Link to comment
https://forums.phpfreaks.com/topic/200078-jquery-hiding-side-navigation-menu/
Share on other sites

Usually this is done using css to toggle the display of ul's in li's with the :hover pseudo selector, then javascript is layed over the top to make it 'slide' or whatever you want. That way, it will degrade nicely for people who don't have javascript enabled.

 

Here is a nice tutorial for one. Even though it isn't a vertical menu, the same logic apply.

 

http://net.tutsplus.com/tutorials/design-tutorials/how-to-build-and-enhance-a-3-level-navigation-menu/

Usually this is done using css to toggle the display of ul's in li's with the :hover pseudo selector, then javascript is layed over the top to make it 'slide' or whatever you want. That way, it will degrade nicely for people who don't have javascript enabled.

 

Here is a nice tutorial for one. Even though it isn't a vertical menu, the same logic apply.

 

http://net.tutsplus.com/tutorials/design-tutorials/how-to-build-and-enhance-a-3-level-navigation-menu/

 

Thanks but i'm trying to come up with a simple way to do one myself that is fairly universal. That I can put anything in. I was thinking maybe using the jQuery library and having a div on the right side of the page that has everything in it but the width is only like 30 pixels wide so that it shows the picture that can be mouse'd over. When you mouse over it will expand the div however I believe if you expand the width that it goes to the right doesn't it? And that will expand the page which is not what I want to do. So at the same time I was thinking about animating the left property to change the position of the div. Does anyone know of an easier way to do this or is this the easiest way? The sidebar HAS TO BE on the right side.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.