Expand div on hover

i tried doing it with css, the closest i got was: http://jsfiddle.net/XyDec/ It kind of works, but don't hide the content inside it and i would like some smooth animation , so i guess it's scripts time. i can't write them or don't know where to look for them, could anybody help me ?

Answers


you may take a look at the jquery javascript framework (user friendly and powerfull) here is an example of smooth slide down of div using jquery:

http://api.jquery.com/slideDown/

this is made with one line : $("div").slideDown("slow");

hope it help


Need Your Help

locate byte in pdf file and read line

iphone objective-c ipad

I try to read pdf file. I want to use this function

Subversion and GIT centralization

git svn version-control

I have been using subversion for a while now and I am considering learning and switching to GIT, since it seems to be the majority's preference nowadays.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.