Skip to content

dart-creations.com

Advertisement
Home arrow Forums
DART Creations Forums
Welcome, Guest
Please Login or Register.    Lost Password?
rollover image with li.item55:hover doesn Forum is locked
(1 viewing) 1 Guest
Joomla 1.5 Modules
Go to bottom
TOPIC: rollover image with li.item55:hover doesn
#553
rollover image with li.item55:hover doesn 2 Years, 10 Months ago  
hi, i add this lines:

li.item1:hover {
img:url(/images/stories/myButton2.jpg);
}

just like in your example to my default.css file from

/templates/myTemplate/css/

but the image don't change can u help me... am i doing something wrong??

i'm testing in localhost... does the url change?
 
Logged Logged
 
Last Edit: 2009/04/02 12:30 By .
  The topic has been locked.
#556
Re:rollover image with li.item55:hover doesn 2 Years, 10 Months ago  
It looks ok ... try using FireBug to check whether the CSS item to which you are applying the hover is correct.
 
Logged Logged
  The topic has been locked.
#611
Re:rollover image with li.item55:hover doesn 2 Years, 9 Months ago  
Hi

I can't seem to find the specific class for the different "menu items/images".
The module doesn't even create a < li > output.
Where do i define them/find them? Im using the horizontal image menus.


Regards.
 
Logged Logged
  The topic has been locked.
#665
Re:rollover image with li.item55:hover doesn 2 Years, 9 Months ago  
Hi Dart,

I am experiencing the same problem. The CSS won't replace the image I use in the menu with the image specified in the hover: line in the CSS file.
Also, when I look at the code for the page (rightmouseclick and select page source) there is no list, but a table in which the images are defined with an anchor <a> in each cell.
In admin, when you look at the menu item that is created there is an id created by Joomla, in my case id's 1,5,6,7,8 but I don't see that in the page code that is created.

See www.webcoast.nl/test/ and the vertical menu on the left.

Regards, Leo
 
Logged Logged
  The topic has been locked.
#666
Re:rollover image with li.item55:hover doesn 2 Years, 9 Months ago  
You are probably using a different menu style. In your case you will need to create custom CSS for the TD, probably something like this:

td.item1:hover {
img:url(/images/stories/myButton2.jpg);
}
 
Logged Logged
  The topic has been locked.
Go to top

Buy us a beer!

If we've helped you, consider buying a beer €3. It will inspire us to keep on giving! Cheers!

Sponsors

Login Form






Lost Password?
No account yet? Register

Pagerank
Generated in 0.46040 Seconds