Jump to content

Adding Dynamic Div To Left Navigation


deepshah
 Share

Recommended Posts

Hi everyone,I want to add an image next to the link when i will mouse over particular link.I tried it to search on google.But i don't know javascript very well so, i can't modify any code.So, can anyone help me for the same ?Thanks in Advance ..............

Link to comment
Share on other sites

One way is to use CSS:

<html><head><style type="text/css">a {padding-left:20px;}a:hover {background:url(http://w3schools.invisionzone.com/style_images/1/folder_profile_portal/user-offline.png) no-repeat;}</style></head><body><a href="http://www.w3schools.com/">W3Schools</a></body></html>

If that's not quite what you're looking for, it might be best if you posted the code you have so far and someone'll be able to help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...