none
HTA Tiltle not hidden when x-ua-compatibility is set to ie=10 RRS feed

  • Question

  • Good Evening Everyone,

    I'm playing around with a login prompt using an HTA and I'm having issues getting the title bar to be hidden. I had to make changes and add the below line to my header so i can use bootstrap and a few other css files like animate.css.

    <meta http-equiv="x-ua-compatible" content="ie=10">

    When i have ie=9, the title bar is hidden but then animate.css doesn't work. has anyone had this issue and solved it already? I have been looking online and I'm not finding anything too promising.

    Header

    <!DOCTYPE html>

    <head> <meta http-equiv="x-ua-compatible" content="ie=10"> <title>Admin Lanucher Login</title> <HTA:APPLICATION APPLICATIONNAME="Admin Launcher Login" ID="AdminLanucherLogin" VERSION="1.0" BORDER="none" INNERBORDER="no" caption="no" SYSMENU="no" MAXIMIZEBUTTON="no" MINIMIZEBUTTON="no" SCROLL="no" SCROLLFLAT="yes" SHOWINTASKBAR="no" CONTEXTMENU="no" SELECTION="no"/> <link rel="stylesheet" type="text/css" href="./resources/bootstrap.3.3.6/content/Content/bootstrap.css" > <link rel="stylesheet" type="text/css" href="./resources/font-awesome-4.5.0/css/font-awesome.css" > <link rel="stylesheet" type="text/css" href="./resources/animate.css" > <link rel="stylesheet" type="text/css" href="./resources/fonts/EXO 2/exo2.css" > <link rel="stylesheet" type="text/css" href="./resources/login.css" > <script language="javascript" src="./resources/jquery-1.9.1.js" type="text/javascript"></script> <script language="javascript" src="./resources/bootstrap.3.3.6/content/Scripts/bootstrap.js" type="text/javascript"></script> </head>




    Tuesday, February 9, 2016 11:16 PM

Answers

All replies

  • HTAs are not supported in that mode - use at your own risk.

    \_(ツ)_/

    Tuesday, February 9, 2016 11:28 PM
  • I understand its use at my own risk, I was just hoping to see if anyone knew a workaround.
    • Proposed as answer by FZeker Monday, July 11, 2016 2:08 PM
    • Unproposed as answer by FZeker Monday, July 11, 2016 2:08 PM
    Tuesday, February 9, 2016 11:50 PM
  • I think you are out of luck. HTAs are essentially obsolete.

    -- Bill Stewart [Bill_Stewart]

    Wednesday, February 10, 2016 4:22 PM
    Moderator
  • I still tinker with HTAs, VBscript, Javascript, and HTML is certainly not obsolete and HTAs are fully supported in Windows 10.  Developing large scale applications based on the HTA platform is certainly not a great idea for long term life-cycle, but it is an outstanding option for minimalist apps that can do whatever you can dream up.  I have an app that plops a sweet little resized jQuery fortified button/menu that (onMouseOver) does a slide-out from the top-right corner of the desktop, offering handy office info and documentation hyperlinks.  

    Here is my HTA header, I noticed your code uses SCROLL="no", mine uses SCROLL="NONE", however {edit}I now realize my property is wrong {oops}.  My app works as desired though and I am using IE9 standards.  Everything I have attempted with functionality has worked great with this so far, just need to get creative.  Hope this helps.

    <!DOCTYPE html>
    <HEAD>
     <TITLE>QuickLynx</TITLE>

     <meta http-equiv="X-UA-Compatible" content="IE=9">       <!-- IE9 Standards -->
     <meta content="text/html; charset=UTF-8">

     <script language="javascript">
     document.writeln('<hta:application ');
     document.writeln('ID="objFZ_QuickLynx_App" ');
     document.writeln('CAPTION="NO" ');
     document.writeln('WINDOWSTATE="NORMAL" ');
     document.writeln('SHOWINTASKBAR="YES" ');
     document.writeln('SCROLL="NONE" ');
     document.writeln('SINGLEINSTANCE="YES" ');
     document.writeln('BORDER="NONE" ');
     document.writeln('APPLICATIONNAME="FZ_QuickLynx_App" ');
     document.writeln('version="1.0" /> ');
     </script>

     <link rel="STYLESHEET" href="quicklynx_slidein.css" Type="text/css">
     <SCRIPT src="jquery/jquery.min.js" language="javascript"></SCRIPT>
     <SCRIPT src="jq_QuickLynx.js" language="javascript"></SCRIPT>
     <SCRIPT src="fz_QuickLynx_AppHandler.vbs" language="vbscript"></SCRIPT>
    </head>
    <body>
    <!-- div: app:page container -->
    <div id="container">
     <a id="btnQuickPick">&laquo; QuickLynx</a> <a id="btnExit">X</a> 
     <!-- List Insert Dynamically -->
    </div> <!-- end: container -->

    .....</body></html




    • Edited by FZeker Monday, July 11, 2016 2:39 PM
    Monday, July 11, 2016 2:09 PM