javascript - jQuery div hover slide effect -


i have div here:

<div style=" width: 259px;  height: 201px;  background-color: #282c2f;  box-shadow: 0px 8px 10px #000;  border-radius: 10px;  border: 2px solid #282c2f;">shop</div> 

that when user hovers, grey box needs slide down teal box. new color shown, , link ready clicked.

it should slide into:

<div style="     width: 259px;      height: 201px;      background-color: #00e7b4;      box-shadow: 0px 8px 10px #000;      border-radius: 10px;      border: 2px solid #282c2f;"><a href="shop.htm">shop</div> 

is there can see effect similar working? perhaps plugin suggestions? not sure how start on this.

very similar looking for, except black disappears slides out of div: http://jsfiddle.net/buczg/

i believe you're trying accomplish. haven't tested browser compatibility, may want , play around it. involved adding additional div, , using slidedown on new div.

<div id="newtarget" style="display:none;width:100px; height:100px; background-color:teal; border: teal solid 1px; position:absolute;">     <a id="newtargetlink" href="#">link</a> </div> 

http://jsfiddle.net/buczg/22/


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -