http://earljones181.files.wordpress.com/2013/08/flashxml_web_design_by_dfever-d2zb7sh.jpg

How do I make a div that pops out of his parent, but sticks with parent? Like the green menus.

Recommended Answers

All 3 Replies

You posted a picture so I cant see the behavior you are referring to, but if you mean that when you hover or click on the item, it sort of "pops out", that is just done by changing the style of the element.

For example, if this occurs when hovered, you change the elements size, color and other properties during the event mouseenter and change them back during the mouseleave. jQuery makes this easy with the hover() method.

Look at menu, the green choices, pop out of its parent.

@bump :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.