Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 320 lines (275 sloc) 11.818 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320
<!DOCTYPE html>

<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
  <meta charset="utf-8" />

  <!-- Set the viewport width to device width for mobile -->
  <meta name="viewport" content="width=device-width" />

  <title>Welcome to Foundation</title>

  <!-- Included CSS Files -->
  <link rel="stylesheet" href="marketing/stylesheets/index.css">


  <script src="vendor/assets/javascripts/foundation/modernizr.foundation.js"></script>

  <!-- IE Fix for HTML5 Tags -->
  <!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
  <style type="text/css">

    .display-grid .row { background: #eee; margin-bottom: 8px; }
    .display-grid .column, .display-grid .columns { background: #ddd; }

  </style>
</head>
<body>
  <div class="row">
    <div class="twelve columns">
      <h4>Reveal</h4>
      <a href="#" data-reveal-id="myModal" class="button">Open Modal</a>
      <div id="myModal" class="reveal-modal">
        <h2>Awesome. I have it.</h2>
        <p class="lead">Your couch. It's mine.</p>
        <p>I'm a cool paragraph that lives inside of an even cooler modal. Wins</p>
        <a class="close-reveal-modal">&#215;</a>
      </div>
    </div>
  </div>
  
  <div class="row">
    <div class="six columns">
      <h5>Orbit Slider Demo</h5>
      <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
      <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
    </div>
    <div class="six columns">
      <div id="featured">
        <img src="http://placehold.it/500x300&text=image1" />
        <img src="http://placehold.it/500x300&text=image2" />
        <img src="http://placehold.it/500x300&text=image3" />
      </div>
    </div>
  </div>
      
  <div class="row">
    <div class="eight columns">
      <h4>Visibility Classes</h4>
      <p>Foundation 3 allows you to easily turn elements on and off based on certain device criteria, like screen size, touch, or orientation.</p>
      
      <h5>Screen Size</h5>
      <p>The following text should describe the device you're using:
        <strong class="show-for-xlarge">You are on a very large screen.</strong>
        <strong class="show-for-large">You are on a large screen.</strong>
        <strong class="show-for-large-up">You are on a large or very large screen.</strong>
        <strong class="show-for-medium">You are on a medium screen.</strong>
        <strong class="show-for-medium-down">You are on a medium or small screen.</strong>
        <strong class="show-for-small">You are on a small screen, like a smartphone.</strong>
      </p>
      
      <p>This example uses the opposite rules, so the following text should inversely describe the device you're using:
        <strong class="hide-for-xlarge">You are not on a very large screen.</strong>
        <strong class="hide-for-large">You are not on a large screen.</strong>
        <strong class="hide-for-large-up">You are not on a large or very large screen.</strong>
        <strong class="hide-for-medium-down">You are not on a medium or small screen.</strong>
        <strong class="hide-for-medium">You are not on a medium screen.</strong>
        <strong class="hide-for-small">You are not on a small screen.</strong>
      </p>
      
      <h5>Orientation Detection</h5>
      <p>The following text should describe the device you're using:
        <strong class="show-for-landscape">You are in landscape orientation.</strong>
        <strong class="show-for-portrait">You are in portrait orientation.</strong>
      </p>
      
      <h5>Touch Detection</h5>
      <p>The following text should describe the device you're using:
        <strong class="show-for-touch">You are on a touch-enabled device.</strong>
        <strong class="hide-for-touch">You are not on a touch-enabled device.</strong>
      </p>
      
      <ul class="radius button-group">
        <li>
          <input type="submit" value="Save" class="medium secondary button" />
        </li>
        <li>
          <input type="submit" value="Publish" class="medium success button" />
        </li>
      </ul>
      
      <p>
        <input type="submit" value="Publish" class="medium success button" />
        <a href="" class="success button">Publish</a>
      </p>
      
      <p>
        <a href="" class="disabled button">Publish</a> <a href="" class="disabled success button">Publish</a> <a href="" class="disabled alert button">Publish</a> <a href="" class="disabled secondary button">Publish</a>
      </p>
      
      <ul class="radius button-group">
        <li>
          <a href="" class="button">Save</a>
        </li>
        <li>
          <a href="" class="button">Publish</a>
        </li>
        <li>
          <div href="#" class="button split dropdown">
            <a href="#">Split Button</a>
            <span></span>
            <ul>
              <li><a href="#">Dropdown Item</a></li>
              <li><a href="#">Another Dropdown Item</a></li>
              <li class="divider"></li>
              <li><a href="#">Last Item</a></li>
            </ul>
          </div>
        </li>
        <li>
          <div href="#" class="button dropdown">
            Dropdown Button
            <ul>
              <li><a href="#">Dropdown Item</a></li>
              <li><a href="#">Another Dropdown Item</a></li>
              <li class="divider"></li>
              <li><a href="#">Last Item</a></li>
            </ul>
          </div>
        </li>
      </ul>

      <p>
        <div href="#" class="large secondary button split dropdown">
          <a href="#">Split Button</a>
          <span></span>
          <ul>
            <li><a href="#">Dropdown Item</a></li>
            <li><a href="#">Another Dropdown Item</a></li>
            <li class="divider"></li>
            <li><a href="#">Last Item</a></li>
          </ul>
        </div>
      </p>
      
    </div>
    
    <div class="four columns">
      <div class="row">
        <div class="six columns">
          <img src="http://placehold.it/200x200" />
        </div>
        <div class="six columns">
          <img src="http://placehold.it/200x200" />
        </div>
      </div>
      
      <ul class="block-grid two-up">
        <li><img src="http://placehold.it/200x200" /></li>
        <li><img src="http://placehold.it/200x200" /></li>
      </ul>
    </div>
  </div>
  
  <div class="row">
    <div class="twelve columns">
      <h4>Navigation</h4>
      <ul class="nav-bar">
        <li class="active"><a href="#">Nav Item 1</a></li>
        <li class="has-flyout">
          <a href="#">Nav Item 2</a>
          <a href="#" class="flyout-toggle"><span> </span></a>
          <ul class="flyout">
            <li><a href="#">Sub Nav 1</a></li>
            <li><a href="#">Sub Nav 2</a></li>
            <li><a href="#">Sub Nav 3</a></li>
          </ul>
        </li>
      </ul>
    </div>
  </div>
  
  <div class="row">
    <div class="twelve columns">
      <h4>Tabs</h4>
      <dl class="tabs">
        <dd class="active"><a href="#simple1">Simple Tab 1</a></dd>
        <dd><a href="#simple2">Simple Tab 2</a></dd>
        <dd><a href="#simple3">Simple Tab 3</a></dd>
      </dl>

      <ul class="tabs-content">
        <li class="active" id="simple1Tab">This is simple tab 1's content. Pretty neat, huh?</li>
        <li id="simple2Tab">This is simple tab 2's content. Now you see it!</li>
        <li id="simple3Tab">This is simple tab 3's content. It's, you know...okay.</li>
      </ul>
    </div>
  </div>
  
  <div class="row">
    <div class="twelve columns">
      <h4>Custom Forms</h4>
      <form class="custom">
        <label for="radio1">
          <input name="customChoice" type="radio" id="radio1"> Radio Button 1
        </label>
        
        <label for="radio2">
          <input name="customChoice" type="radio" id="radio2"> Radio Button 1
        </label>
        
        <label for="radio3">
          <input name="customChoice" type="radio" id="radio3"> Radio Button 1
        </label>
        
        <label for="radio4">
          <input name="customChoice" type="radio" id="radio4" disabled> Radio Button 3
        </label>
        
        <label for="myDropdown">Dropdown Label</label>
        <select id="myDropdown">
          <option>This is a dropdown</option>
          <option SELECTED>This is another option</option>
          <option>Look, a third option</option>
        </select>
        
        <label for="customDropdown2">Dropdown Label</label>
<select id="customDropdown2">
<option>This is a dropdown</option>
<option SELECTED>This is another option</option>
<option>Look, a third option</option>
</select>
      </form>
    </div>
  </div>
  
  <div class="row">
    <div class="twelve columns">
      <h4>Alerts</h4>
      <div class="alert-box success">
        This is an alert box.
        <a href="" class="close">&times;</a>
      </div>
      
      <div class="alert-box secondary">
        This is an alert box.
        <a href="" class="close">&times;</a>
      </div>
      
      <div class="alert-box alert">
        This is an alert box.
        <a href="" class="close">&times;</a>
      </div>
    </div>
  </div>

<!-- Included JS Files -->
  <script src="vendor/assets/javascripts/foundation/jquery.js"></script>
  <script src="vendor/assets/javascripts/foundation/jquery.placeholder.js"></script>
  
  <script src="vendor/assets/javascripts/foundation/jquery.foundation.alerts.js"></script>
  <script src="vendor/assets/javascripts/foundation/jquery.foundation.accordion.js"></script>
  <script src="vendor/assets/javascripts/foundation/jquery.foundation.buttons.js"></script>
  <script src="vendor/assets/javascripts/foundation/jquery.foundation.tooltips.js"></script>
  <script src="vendor/assets/javascripts/foundation/jquery.foundation.forms.js"></script>
  <script src="vendor/assets/javascripts/foundation/jquery.foundation.tabs.js"></script>
  <script src="vendor/assets/javascripts/foundation/jquery.foundation.navigation.js"></script>
  <script src="vendor/assets/javascripts/foundation/jquery.foundation.reveal.js"></script>
  <script src="vendor/assets/javascripts/foundation/jquery.foundation.orbit.js"></script>
  <script src="vendor/assets/javascripts/foundation/app.js"></script>

<script>
$(window).load(function() {
       $('#orbitTest').orbit({
        fluid: '16x9'
       });
    });

$('#testModal').bind('reveal:open reveal:opened reveal:close reveal:closed', function (event) {
console.log(event);
});

$('#fireReveal').click(function (event) {
event.preventDefault();
$('#testModal').reveal();
});

$('#fireRevealFade').click(function (event) {
event.preventDefault();
$('#testModal').reveal({animation: 'fade'});
});

$('#fireRevealNone').click(function (event) {
event.preventDefault();
$('#testModal').reveal({animation: 'none'});
});


     $(window).load(function() {
        $('#featured').orbit();
     });

</script>
</body>
</html>
Something went wrong with that request. Please try again.