123

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <section class="contact bootstrap-iso" id="contact">
    <div class="container">
        <div class="row">
            <h2><strong>Schedule</strong> Now</h2>
            <p class="lead">Book Your Appointment</p>
            <div class="about-jyll-content">
                <div class="col-lg-8 col-lg-offset-2 col-md-6 col-sm-6 col-xs-12">
                    <form action="" id="sneakForm" name="sneakForm" method="post" role="form" accept-charset="utf-8">

                        <div class="row">
                            <div class="form-group col-lg-6">
                                <label class="control-label c" for="date">Pick Your Date</label>
                                <input class="form-control" id="date" name="date" placeholder="MM/DD/YYY" type="text"/>
                            </div>
                            <div class="form-group col-lg-6">
                                <label class="control-label c" for="date">Second Date Choice</label>
                                <input class="form-control" id="date" name="date" placeholder="MM/DD/YYY" type="text"/>
                            </div>
                        </div>
                        <div class="row">
                            <div class="form-group col-lg-6">
                                <label class="control-label c" for="date">Pick Your Time</label>
                                <input class="form-control" id="time" name="time" placeholder="hh:mm" type="text"/>
                            </div>
                            <div class="form-group col-lg-6">
                                <label class="control-label c" for="date">Second Time Choice</label>
                                <input class="form-control" id="time" name="time" placeholder="hh:mm" type="text"/>
                            </div>
                        </div>
                        <button type="button" class="btn btn-default btn-outline" data-toggle="modal" data-target="#myModal">Continue Booking</button>
                        <!--<div class="form-group">-->
                            <!--<label for="inputMessage"></label>-->
                            <!--<textarea class="form-control" id="inputMessage" placeholder="Message"></textarea>-->
                        <!--</div>&lt;!&ndash;form-group&ndash;&gt;-->
                        <!--<input class="btn btn-default pull-right" type="submit" value="submit">-->
                        <!-- Modal -->
                        <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                            <div class="modal-dialog">
                                <div class="modal-content">
                                    <div class="modal-header">
                                        <h4 class="js-title-step"></h4>
                                    </div>
                                    <div class="modal-body">

                                        <div class="row hide" data-step="1" data-title="Choose Your Package">
                                                <div class="well"><h2>Primary Services</h2>
                                                </div>
                                                <table class="table table-primary">
                                                    <tbody>
                                                        <tr>
                                                            <td>
                                                                <input type="checkbox" name="virtual-tours" id="virtual-tour" onclick="calculateTotal()"> 3D Virtual Tours
                                                            </td>

                                                            <td>
                                                                <select id="3DVirtualTours" name="3DVirtualTours" onchange="calculateTotal()">
                                                                    <option value="none">Select Package</option>
                                                                    <option value="studio">Studio / 1 Bedroom: $195</option>
                                                                    <option value="under2000SF">Under 2000 SF: $275</option>
                                                                    <option value="2001-3000SF">2001-3000 SF: $300</option>
                                                                    <option value="3001-4000SF">3001-4000 SF: $325</option>
                                                                    <option value="4001-6000SF">4001-6000 SF: $375</option>
                                                                    <option value="6001-8000SF">6001-8000 SF: $425</option>
                                                                    <option value="8001+">8001+ SF: Call for Quote</option>
                                                                </select>
                                                            </td>

                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <input type="checkbox" name="still-photography" id="still-photography" onclick="calculateTotal()"> Still Photography
                                                            </td>
                                                            <td>
                                                                <select id="HDR" name="HDR" onchange="calculateTotal()">
                                                                    <option value="none">Select Package</option>
                                                                    <option value="10HDR">10 HDR: $99</option>
                                                                    <option value="25HDR">25 HDR: $155</option>
                                                                    <option value="35HDR">35 HDR: $175</option>
                                                                    <option value="36HDR+">36 HDR+: Call for Quote</option>
                                                                </select>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <input type="checkbox" name="aerial-photography" id="aerial-photography" onclick="calculateTotal()"> Aerial Photography
                                                            </td>
                                                            <td>
                                                                <select id="aerial" name="aerial" onchange="calculateTotal()">
                                                                    <option  value="none">Select Package</option>
                                                                    <option value="droneVideoAndPhoto">Drone video &amp; 4 Photos: $400</option>
                                                                    <option  value="10Aerial">10 Aerial Photos: $325</option>
                                                                </select>
                                                            </td>
                                                        </tr>
                                                    </tbody>
                                                </table>

                                                <div class="well">Additional Services</div>
                                                    <div class="col-lg-12">
                                                        <table class="table table-secondary">
                                                            <tbody>
                                                                <tr>
                                                                    <td>
                                                                        <input id="floorPlan1Pack" type="checkbox" name="floor-plan1Pack" onclick="calculateTotal()"> Floor Plans #1 (Add-On to 3D Tour Pkg)
                                                                    </td>
                                                                    <td>
                                                                        <select id="floorPlan1" name="floorPlan1" onchange="calculateTotal()">
                                                                            <option  value="none">Select Package</option>
                                                                            <option  value="under2000SF">Under 2000SF: $60</option>
                                                                            <option  value="2001-3000SF">2001-3000 SF: $75</option>
                                                                            <option  value="3001-4000SF">3001-4000 SF: $95</option>
                                                                            <option  value="4001-6000SF">4001-6000 SF: $135</option>
                                                                            <option  value="6001-8000SF">6001-8000 SF: $175</option>
                                                                            <option  value="8001+">8001+ SF Call for Quote</option>
                                                                        </select>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <input id="floorPlan2Pack" type="checkbox" name="floor-plan2Pack" onclick="calculateTotal()"> Floor Plans #2 (Add-On to Still Photo Pkg)
                                                                    </td>
                                                                    <td>
                                                                        <select id="floorPlan2" name="floorPlan2" onchange="calculateTotal()">
                                                                            <option value="none">Select Package</option>
                                                                            <option  value="under2000SF">Under 2000SF: $150</option>
                                                                            <option  value="2001-3000SF">2001-3000 SF: $165</option>
                                                                            <option  value="3001-4000SF">3001-4000 SF: $180</option>
                                                                            <option  value="4001-5000SF">4001-5000 SF: $195</option>
                                                                            <option  value="5001-6000SF">5001-6000 SF: $210</option>
                                                                            <option  value="6001-8000SF">6001-8000 SF: $225</option>
                                                                            <option  value="8001">8001+ SF Call for Quote</option>
                                                                        </select>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <input id="twilight-sunset" type="checkbox" name="twilight-sunset" value="95" onclick="calculateTotal()"> Twilight / Sunset + $95 <br>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <input id="skyReplacement" type="checkbox" name="skyReplacement" value="35" onclick="calculateTotal()"> Sky Replacement + $35 <br>

                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <input id="photoOnlySession" type="checkbox" name="photoOnlySesion" value="45" onclick="calculateTotal()"> Photo Only Session (No 3D) + $45 <br>

                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <input id="colorPlan" type="checkbox" name="colorPlan" value="30" onclick="calculateTotal()"> Color Plan + $30 <br>

                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <input  id="virtualFurniture" type="checkbox" name="virtualFurniture" value="30" onclick="calculateTotal()"> Virtual Furniture + $30
                                                                    </td>
                                                                </tr>

                                                                <tr>
                                                                    <td>
                                                                        <input  id="rushService" type="checkbox" name="rushService" value="75" onclick="calculateTotal()"> Rush Service + $75
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <input id="outsideDenver" type="checkbox" name="outsideDenver" value="40" onclick="calculateTotal()"> For Sessions Outside Denver Metro + $40
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <input id="customDomain" type="checkbox" name="customDomain" value="none" onclick="calculateTotal()"> Add a custom domain for your single property website for $20 (Comming Soon)
                                                                    </td>
                                                                </tr>

                                                            </tbody>
                                                        </table>
                                                    </div>
                                        </div>
                                        <div id="totalPrice" style="display: block"></div>
                                    </div>
                                    <div class="modal-footer">
                                        <button type="button" class="btn btn-default js-btn-step pull-left" data-orientation="cancel" data-dismiss="modal"></button>
                                        <button type="button" class="btn btn-warning js-btn-step" data-orientation="previous"></button>
                                        <button type="button" class="btn btn-success js-btn-step" data-orientation="next"></button>
                                    </div>
                                </div>
                            </div>
                        </div>


                    </form>
                </div>
            </div>
        </div>
    </div>
</section>
            
          
!
            
              /*Contact form*/
#contact{
    padding: 4rem 0;
    overflow: hidden;
    text-align: center;
}
#contact h2 strong{
    color: #00aced ;
    font-weight: 300 ;
}

/* Additional Services*/


#myModal td{
    text-align: left;

}

#myModal .well h2{
    text-align: center;
}

#myModal div#totalPrice{
    padding:10px;
    font-weight:bold;
    background-color:#ff0;
}
            
          
!
            
              /**
 * Created by chantal on 3/30/16.
 */


var virtualTours = [];

virtualTours["none"]=0;
virtualTours["studio"]=195;
virtualTours["under2000SF"]=275;
virtualTours["2001-3000SF"]=300;
virtualTours["3001-4000SF"]=325;
virtualTours["4001-6000SF"]=375;
virtualTours["6001-8000SF"]=425;
virtualTours["8001+"]=0;

var HDR = [];
HDR["none"]=0;
HDR["10HDR"]=99;
HDR["25HDR"]=155;
HDR["35HDR"]=175;
HDR["36HDR+"]=0;

var aerial= [];
aerial["none"]=0;
aerial["droneVideoAndPhoto"]=400;
aerial["10Aerial"]=325;

var floorPlan1 = [];
floorPlan1["none"]=0;
floorPlan1["under2000SF"]=60;
floorPlan1["2001-3000SF"]=75;
floorPlan1["3001-4000SF"]=95;
floorPlan1["4001-6000SF"]=135;
floorPlan1["6001-8000SF"]=175;
floorPlan1["8001+"]=0;

var floorPlan2= [];
floorPlan2["none"]=0;
floorPlan2["under2000SF"]=150;
floorPlan2["2001-3000SF"]=165;
floorPlan2["3001-4000SF"]=180;
floorPlan2["4001-5000SF"]=195;
floorPlan2["5001-6000SF"]=210;
floorPlan2["6001-8000SF"]=225;
floorPlan2["8001+"]=0;



//This function finds the package price based on the
//drop down selection (select option tags)

function getVirtualPrice() {

    var virtualTourSelect = document.getElementById('3DVirtualTours');

    //alert(virtualTours[virtualTourSelect.value]);
    return parseInt(virtualTours[virtualTourSelect.value]);
}



function getHDRPrice(){

    var HDRSelect = document.getElementById('HDR');

    //alert(HDR[HDRSelect.value]);
    return HDR[HDRSelect.value];
}



function getAerialPrice(){

    var aerialSelect = document.getElementById('aerial');

    //alert(aerial[aerialSelect.value]);
    return aerial[aerialSelect.value];
}

function getfloorPlan1Price(){

    var floorPlan1Select = document.getElementById('floorPlan1');

    //alert(floorPlan1[floorPlan1Select.value]);

    return floorPlan1[floorPlan1Select.value];
}

function getfloorPlan2Price() {

    var floorPlan2Select = document.getElementById('floorPlan2');

    //alert(floorPlan2[floorPlan2Select.value]);
    return floorPlan2[floorPlan2Select.value];
}


// getTwilightPrice() finds the price based if twilight is selected or not.

function getTwilightPrice() {
    var twilight = document.getElementById('twilight-sunset');
        if(twilight.checked){
            return(95);
        } else {
            return(0);
        }
}

// getSkyReplacementPrice  price() finds the price based if sky replacement is selected or not.

function getSkyReplacementPrice() {
    var sky = document.getElementById('skyReplacement');
    if(sky.checked){
        return(35);
    } else {
        return(0);
    }
}

// getPhotoSessionPrice  price() finds the price based if photo Session is selected or not.

function getPhotoSessionPrice() {
    var photo = document.getElementById('photoOnlySession');
    if(photo.checked){
        return(45);
    } else {
        return(0);
    }
}

// getColorPlanPrice  price() finds the price based if photo Session is selected or not.

function getColorPlanPrice() {
    var colorPlan = document.getElementById('colorPlan');
    if(colorPlan.checked){
        return(30);
    } else {
        return(0);
    }
}

// getFurniturePrice  price() finds the price based if photo Session is selected or not.

function getFurniturePrice() {
    var furniture = document.getElementById('virtualFurniture');
    if(furniture.checked){
        return(30);
    } else {
        return(0);
    }
}

// getRushPrice  price() finds the price based if photo Session is selected or not.

function getRushPrice() {
    var rush = document.getElementById('rushService');
    if(rush.checked){
        return(75);
    } else {
        return(0);
    }
}

// getDenverPrice  price() finds the price based if photo Session is selected or not.

function getDenverPrice() {
    var denver = document.getElementById('outsideDenver');
    if(denver.checked){
        return(40);
    } else {
        return(0);
    }
}


function calculateTotal(){

    //Here we get the total price by calling our function
    //Each function returns a number so by calling them we add the values they return together

    var total = getVirtualPrice() + getHDRPrice() + getAerialPrice() + getfloorPlan1Price(); + getfloorPlan2Price() + getTwilightPrice() + getSkyReplacementPrice() + getPhotoSessionPrice() + getColorPlanPrice() + getFurniturePrice() + getRushPrice() + getDenverPrice();


    var totalEl = document.getElementById('totalPrice');

   document.getElementById('totalPrice').innerHTML = "Your Total is: " + total;
    totalEl.style.display = 'block';
}

function hideTotal(){

    var totalEl = document.getElementById('totalPrice');
        totalEl.style.display = 'none';
}

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console