Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Adding image in hovermenu built by navigation tag lib

Hi ,

I have created top level navigation using navigation tag library.It is hover menu.

Now in the dropdown menu I need to add an image and then the 2nd lecvel navigation with method as URL.

The code is as follows :

<li class="Level2">

<Table border=0 cellpadding="0">



<img align=center src="<%=componentRequest.getWebResourcePath() + "/images/dot_w.gif" %>">



<nav:navNodeAnchor navigationMethod="byURL" hashURL="true" />





Now I want that when i move the cursor ,the entie thing i.e the image +the text should get highlighted to some color.In css I placed code for .Level2 a and .Level2 a:hover

But the highlight works only for the text in the navnodeanchor.I tried placing anchor tag for img also but it does not work.

Can someone please guide me thru this.

Thanks ,


Former Member
Not what you were looking for? View more on this topic or Ask a question