You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Adrian A. (JIRA)" <ji...@apache.org> on 2009/05/03 05:04:30 UTC
[jira] Commented: (CLK-545) Better rendering of disabled link
controls
[ https://issues.apache.org/jira/browse/CLK-545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705373#action_12705373 ]
Adrian A. commented on CLK-545:
-------------------------------
Disabled links can be rendered as a link ("a" tag) and still keep the "disabled" behavior (but also the link one -> but without following the link).
Changes:
1. add class "disabled" for the "a" tag.
2. set the title to, e.g. "Disabled Link" for the "a" tag
3. set onclick="return false;"
Following style can be used:
<code>
a:link.disabled,
a:visited.disabled {
cursor:default;
filter: alpha( opacity = 50 );
-moz-opacity: 0.5;
-khtml-opacity: 0.5;
opacity: 0.5;
}
</code>
It will make the link look disabled (even for icons and background if any), but much better than actual simple string rendering.
> Better rendering of disabled link controls
> ------------------------------------------
>
> Key: CLK-545
> URL: https://issues.apache.org/jira/browse/CLK-545
> Project: Click
> Issue Type: New Feature
> Components: core
> Reporter: Adrian A.
>
> Add better rendering of disabled link controls. Right now is a simple span text and there's no visual hint that this might be a disabled Link (except for that ActionButton).
> Possible improvements:
> - 50% opacity for images/icons
> - title on mouse over
> - href browser status bar hint on mouse over (but no click possible - since the link is disabled)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.