Phil 7.8.15

8:00 – 4:30 SR

  • Re-ordered my dev machine
  • Had a good discussion with Lenny about future directions for the project and how to effectively use my time while we wait for someone to come on board.
  • Working on figuring out how to put an absolute div in a dynamic page. Ok, here’s how I got it to work.
  • This is the style
    <style>
        .wrapperPanel {
            display: flex;
            justify-content: center;
            background-color: lightgray;
            margin-bottom: 10px;
            margin-top: 10px;
            width: 98vw;
            height: 30vh;
        }
    
        .mainWindow {
            position: relative;
            width: 100%;
            height: 100%;
            background: linear-gradient(darkblue, black);
        }
    
        .glDiv {
            position: absolute;
            width: 100%;
            height: 100%;
        }
    </style>
  • and this is the HTML
    <div class="wrapperPanel">
        <div class="mainWindow">
            <ng-network-webgl class="glDiv" config-obj="glc.configObj"></ng-network-webgl>
        </div>
    </div>
  • The mainWindow css is needed so that the div with the ‘glDiv’ css has something to reference to. Otherwise the overlays won’t work.
  • Lunch thoughts
    • Confirm/Dispute
    • URL chain (or, just chain)
  • Handoff meeting from Brad to Steve tomorrow at 2:00 or later.
  • Added webgl network canvas using inheritance for the controller. Aside from forgetting the stylesheet, everything worked as hoped for!
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: