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

[Solved] Zoom

1 Answer 116 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 2
Andrew asked on 05 Mar 2010, 10:31 AM
Hello,

I have two questions about the zoom tool on the RadEditor.

- Is it possible to zoom by default the content area on page load?
- Is the zoom only works on Internet Explorer? In Firefox, it doesn't works!

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 05 Mar 2010, 11:03 AM
Hello Andrew,

Straight to the questions:
1) Yes, it is possible with the following code:

<script type="text/javascript">
function OnClientLoad(editor)
{
    editor.get_contentArea().style.zoom = "200%";
}
</script>
<telerik:radeditor runat="server" OnClientLoad="OnClientLoad" ID="RadEditor1">
</telerik:radeditor>

2) The Zoom feature is based on the MS specific Zoom property. This property is not supported by Firefox and for that reason this functionality works only in Internet Explorer.

If you would like to zoom the content in Firefox you can use the Firefox Zoom In (Ctrl++) / Zoom Out (Ctrl--) buttons that are available in the View -> Zoom menu - actually you can see how they behave in the attached by Pavel video.

Best regards,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Editor
Asked by
Andrew
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Share this question
or