Use icons?
aharown07 - October 28, 2008 - 02:22
| Project: | Fasttoggle |
| Version: | 5.x-1.1 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
How hard would it be to replace the text links with icons? I don't mind doing this myself (rather than feature request) but my PHP /CSS skills are rudimentary so a nudge in the right direction wd be appreciated.
My comments are just getting quite cluttered with links for the admin/moderator roles.

#1
I don't think you can replace the text of a link with plain icons using css. What you can do is to define an icon to show up before a linked text (or anything else linked) or afterwards. IE6 doesn't support that, but there is a good and small workaround for that.
For other solutions you have to code PHP.
#2
Technically, it is possible to “hide” the text of a link, e.g. by using
text-indent:-9999px;. However, fasttoggle currently doesn’t allow to add classes so that you can target the link in an IE6-compatible way. You can still write selectors for the current versions by using things likea[href^='/node/1234/toggle/sticky].#3
OK, thanks.
A bit of php hacking isn't out of the question. Is it possible to override fastoggle functions in template.php?
(I only half know what that means, but I'm getting there)
#4
Added class names (version in CVS).
--project followup subject--
Automatically closed -- issue fixed for two weeks with no activity.
#5
Automatically closed -- issue fixed for two weeks with no activity.