Closed (fixed)
Project:
Internationalization
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2008 at 06:50 UTC
Updated:
22 Aug 2008 at 11:17 UTC
Would like to be able to switch my flags based on the a.active css property.
So far css hasn't brought me near to where i want to be (since the image is nested inside the link, which is nested within the language div).
So there is probably some fiddling with code involved.
Basically i would like to be able to use one image as language-icon (that's easy, we allready do that). When this language icon gets used (someone clicks it) the image gets replaced with one with a higher opacity (so that the visitor can see what language is active).
See attached jpg for an idea.
Anyone?
| Comment | File | Size | Author |
|---|---|---|---|
| flags_2.jpg | 1.47 KB | br4t | |
| flags.jpg | 1.33 KB | br4t |
Comments
Comment #1
br4t commentedSurely this can't be that hard?
Comment #2
jose reyero commentedYou need to handle this in the theme.
This is from my site's template.php, as you can see it uses different images when active/inactive.
See http://www.reyero.net
Comment #3
br4t commentedthanks.
i fixed this another way.
But i'm still keen on getting this working, i might implement it at a later time!
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.