Thursday, 15 August 2013

javascript - 2 mouseover/hover effects in 1 div? -


I apologize in advance for poor English.

An item (price) should be shown in the picture, and the other (the descendants) I am unable to get out of it, there is only one.

I know my code is wrong, but do not know how to cut it.

  & lt; Div class = "grid_1" & gt; & Lt; Div class = "see projects-before" & gt; & Lt; Div class = "tiptext" & gt; & Lt; A href = "" & gt; & Lt; Img src = "http://foto.scigacz.pl/cache/imgs/_w750/gallery/aktualnosci/imprezy/3ci_rajd_chlorowy/img_06.jpg" alt = "width =" 235 "height =" 133 "/> gt ; & Lt; / A & gt; & Lt; Div class = "description" & gt; There is a big bold description box & lt; / Div & gt; & Lt; / Div & gt; & Lt; Div class = "mask" & gt; & Lt; Div class = "info" & gt; & Lt; Span style = "left: 100px; condition: complete;" & Gt; Price: $ 200 & lt; / Span & gt; & Lt; Div class = "button_add" & gt; & Lt; A href = "" & gt; & Lt; Img src = "" alt = "" style = "float: right; correct: 20px;" /> & Lt; / A & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; / Div & gt; $ (Document). $ ('' Description '') Hide (); $ ('tiptext')   

.hower (function () (if (! $ (This). Child ('description'). (": Animated") {$ (this). Child ('description') .FadeIn ();}}, Function () {$ (this). Children ('Description'). FadeOut ();});});

No comments:

Post a Comment