Jump to content

Adding Dynamic Div To Left Navigation


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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...