here is the test page
http://www.studioteknik.com/html/test-portfolio.html
I got no error, but no hover-slide effect…
any clue anyone ?
Update, molf have fix the problem, that was the absolute position that did the trick.. but, now, when the text show up, the link underneath is NOT CLIKABLE
the corrected page is here : http://www.studioteknik.com/html/test-portfolio3.html
You should update your CSS, make sure
.image imgis positioned absolutely:This will make the slide work. The image will be displayed outside the surrounding
div, though. To fix that, add anoverflow: hiddenproperty to.image:Update: given that in the solution above you end up with text behind the
.image div(i.e. with non-clickable links), you’d better slide that rather than the image. Instead of the above, do the following:And in your javascript:
Note that the we are now tracking the
hoverevent on thediv.box, and slide down thediv.image.