Rank: Advanced Member
Groups: Member
Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Some of our customers want to use Java applet only in all browsers including Internet Explorer. This functinality can be implemented through the type property. Here are the code snippets, which illustrate how to instantiate Upload Suite Java edition in all browsers: ASP.NET control: Code:<aur:Uploader
ID="Uploader1" runat="server" Width="100%" Height="500px" Type="java">
</aur:Uploader>
JavaScript Library: Code: var uploader = $au.uploader({
id: 'Uploader1',
width: '100%',
height: '500px',
type: 'java'},
//…other parameters…
)
Setting type property is differed in PHP Library. It is required to use PreRender event: PHP Library: Code:<script type="text/javascript">
function Uploader1_PreRender(){
$au.uploader('Uploader1').type('java');
}
</script>
<?php
require_once '../ImageUploaderPHP/Uploader.class.php';
$uploader = new Uploader('Uploader1');
$uploader->getClientEvents()->setPreRender("Uploader1_PreRender");
//…other parameters…
?>
NOTE: Nevertheless, we recommend to use ActiveX control in Internet Explorer and Java applet in other Java-enabled browsers. Edited by moderator Monday, May 28, 2012 8:15:08 PM(UTC)
| Reason: Not specified |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
 1 user thanked Dmitry.Obukhov for this useful post.
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.