Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jan 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Internet Explorer JavaRDP Fullscreen works in FF and Chrome but not IE

    I am trying to pass a screen resolution parameter to a java rdp applet so that it will appear in full screen mode when it launches. This is working fine in Firefox and Chrome but not in IE8. Here is the code:


    Code:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script type="text/javascript">
    function getresolution() {
     var yourres = screen.width + 'x' + screen.height;
     document.write('<param name="geometry" value="' + yourres + '">');
    }
    </script>
    </head>
    <body>
    <applet name='rdp' code='com.elusiva.rdp.applet.RdpApplet' archive='JavaRDP16-1.1.jar' codebase='.' width='1' height='1'>
    <param name='server' value='XXXXXXXXXX'>
    <param name='port' value='3389'>
    <param name='shell' value='C:\seamlessrdp\seamlessrdpshell.exe -s C:\Program%20Files%20(x86)\TRAMS\CBplus\CBplus.exe'>
    <script type="text/javascript">getresolution();</script>
    </applet>
    </body>
    </html>
    Any help on this would be much appreciated!

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,979
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    This won't be a java problem, rather a JS problem. Make sure you have a reasonable default since you cannot be certain that JS is enabled.
    Found this link, I haven't written js in a number of years now, but this looks about right: http://www.howtocreate.co.uk/tutoria.../browserwindow
    If its not, I'll move this to the JS forum for the client writers to look at.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #3
    New to the CF scene
    Join Date
    Jan 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you for your response. I will take a look at the link you provided.

    I believed this to be a JS issue, too. However, when I posted this on the JS forum, someone said it was a Java issue. So, I thought I would post it over here.

  • #4
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,979
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    Its a tough one to immediately call for sure. Since you are working with an applet it appears to be a java thing, but as soon as you mention a bound browser size that tells me its JS. Gotta love the world of web-dev
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •