click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian A. (JIRA)" <>
Subject [jira] Commented: (CLK-545) Better rendering of disabled link controls
Date Sun, 03 May 2009 03:04:30 GMT


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).

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:
a:visited.disabled {
            filter: alpha( opacity = 50 );
            -moz-opacity: 0.5;
            -khtml-opacity: 0.5;
            opacity: 0.5;
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:
>             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.

View raw message