This is a migrated thread and some comments may be shown as answers.

Add hover state to a hyperlink in R.A.D Editor

1 Answer 25 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Marin
Top achievements
Rank 1
Marin asked on 24 Nov 2008, 03:24 PM
Hello,
I have R.A.D Editor with its css class. I want to add hover state to the style that I use in the HyperLink Manager.
Can you give me an example how to do this.
Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 25 Nov 2008, 04:31 PM
Hi Marin,

The content area of RadEditor is editable IFRAME. The editable IFRAMEs offer hover effect for links only in Firefox.

To achieve this effect, you should set the CssFiles property to point to an external css file containing the following pseudo classes:

a:link {color: #FF0000}     /* unvisited link */
a:visited {color: #00FF00}  /* visited link */
a:hover {color: #FF00FF}   /* mouse over link */
a:active {color: #0000FF}   /* selected link */

Another way is to just put these classes on the page with the editor inside style tags and the editor will pick up them automatically.

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Marin
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or