This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css" /> | |
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
$(document).ready(function(){ | |
$('#cb').on('change', function(){ | |
$('#mobile_container').slideToggle(); | |
}); | |
}); | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form> | |
<div class="row"> | |
<div class="medium-8 medium-offset-2 columns"> | |
<p class="fake">(Other form stuff goes here.)</p> | |
<div class="row"> | |
<div class="small-12 columns"> | |
<input type="checkbox" id="cb" name="cb"> | |
<label for="cb">Yes! Please text me your special offers.</label> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
$(document).ready(function(){ | |
$('#cb').on('change', function(){ | |
$('#mobile_container').toggle(); | |
}); | |
}); | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
p.fake { | |
font-style: italic; | |
margin: 3rem 0 2rem; | |
color: #cccccc; | |
} | |
div#mobile_container { | |
display: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form> | |
<div class="row"> | |
<div class="medium-8 medium-offset-2 columns"> | |
<p class="fake">(Other form stuff goes here.)</p> | |
<div class="row"> | |
<div class="small-12 columns"> | |
<input type="checkbox" id="cb" name="cb"> | |
<label for="cb">Yes! Please text me your special offers.</label> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
$(document).ready(function(){ | |
$('#cb').on('change', function(){ | |
$('#mobilelabel').toggleClass('disabled'); | |
var checked = !$('#cb').is(':checked'); | |
$('#mobile').prop('disabled', checked); | |
}); | |
}); | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
p.fake { | |
font-style: italic; | |
margin: 3rem 0 2rem; | |
color: #cccccc; | |
} | |
label.disabled { | |
color: #cccccc; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form> | |
<div class="row"> | |
<div class="medium-8 medium-offset-2 columns"> | |
<p class="fake">(Other form stuff goes here.)</p> | |
<div class="row"> | |
<div class="small-12 columns"> | |
<input type="checkbox" id="cb" name="cb"> | |
<label for="cb">Yes! Please text me your special offers.</label> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="medium-5 medium-push-1 columns"> | |
<img src="http://via.placeholder.com/500&text=Photo+1"/> | |
</div> | |
<div class="medium-1 medium-pull-5 columns"> | |
<img src="http://via.placeholder.com/93&text=1"/> | |
<img src="http://via.placeholder.com/93&text=2"/> | |
<img src="http://via.placeholder.com/93&text=3"/> | |
</div> |
NewerOlder