Please find the code at http://jsfiddle.net/wlogeshwaran/NGL8P/4/
Here i want to make the ‘hi’ , ‘hello’ invisible , when it is out of that green box.
What should I do to make them disappear when they are out of the green box.
Thanks in Advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I would change it over to div based instead of li based so you can reuse the same css class instead of creating a new style for each one. The updated code can be found by going http://jsfiddle.net/NGL8P/21/
Javascript
Cleaned up abit since changing html
HTML
CSS