Bootstrap/glyficons dont display on shell.explorer control

Get help with using AutoHotkey and its commands and hotkeys
User avatar
CheshireCat
Posts: 8
Joined: 07 Mar 2016, 15:58

Bootstrap/glyficons dont display on shell.explorer control

03 Feb 2019, 07:17

Hello everyone, :D
I was hopping I could get a little guidance. I am experimenting with and learning bootstrap/winstrap, and wanted to display a glyficon on the html page I've created. I have no problems displaying the glyficon on my web browser, internet explorer for example, but if I create a shell.explorer control in a GUI and try to display it there, the glyficon does not appear. Im guessing it's the shell.explorer, where I may need to add some setting or something, but I have no clue what it might be. Would anyone know what I might be doing wrong? A little guidance would be greatly appreciated.
teadrinker
Posts: 845
Joined: 29 Mar 2015, 09:41
Contact:

Re: Bootstrap/glyficons dont display on shell.explorer control

11 Feb 2019, 13:06

Hi,

Code: Select all

ComObjError(false)
html =
(
<!DOCTYPE html>
<html>
  <head>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
  </head>
  <body>
    <div class="container">
      <h2>Bootstrap Glyphicons</h2>
      <p>Asterisk icon: <span class="glyphicon glyphicon-asterisk"></span></p>    
      <p>Euro icon as a link:
        <a href="#">
          <span class="glyphicon glyphicon-euro"></span>
        </a>
      </p>
      <p>Envelope icon on a button:
        <button type="button" class="btn btn-default btn-sm">
          <span class="glyphicon glyphicon-envelope"></span> Envelope
        </button>
      </p>
      <p>Off icon on a styled link button:
        <a href="#" class="btn btn-info btn-lg">
          <span class="glyphicon glyphicon-off"></span> Off
        </a>
      </p> 
    </div>
  </body>
</html>
)
Gui, -DPIScale
Gui, Add, ActiveX, w400 h230 vWB, about:<!DOCTYPE html><meta http-equiv="X-UA-Compatible" content="IE=edge">
WB.document.write(html)
WB.refresh()
Gui, Show
Return

GuiClose:
   ExitApp

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], tm6464 and 232 guests