Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- // insulation <-> insulationinside
- $( "#insulation" ).click(function() {
- if($('#insulation').is(":checked")){
- document.getElementById("insulationinside").style.display = "block";
- }else{
- document.getElementById("insulationinside").style.display = "none";
- }
- });
- // solar <-> solarinside
- $( "#solar" ).click(function() {
- if($('#solar').is(":checked")){
- document.getElementById("solarinside").style.display = "block";
- }else{
- document.getElementById("solarinside").style.display = "none";
- }
- });
- // heating <-> heatinginside
- $( "#heating" ).click(function() {
- if($('#heating').is(":checked")){
- document.getElementById("heatinginside").style.display = "block";
- }else{
- document.getElementById("heatinginside").style.display = "none";
- }
- });
- // sinsulation <-> sinsulationinside
- $( "#sinsulation" ).click(function() {
- if($('#sinsulation').is(":checked")){
- document.getElementById("sinsulationinside").style.display = "block";
- }else{
- document.getElementById("sinsulationinside").style.display = "none";
- }
- });
- // ssolar <-> ssolarinside
- $( "#ssolar" ).click(function() {
- if($('#ssolar').is(":checked")){
- document.getElementById("ssolarinside").style.display = "block";
- }else{
- document.getElementById("ssolarinside").style.display = "none";
- }
- });
- // sheating <-> sheatinginside
- $( "#sheating" ).click(function() {
- if($('#sheating').is(":checked")){
- document.getElementById("sheatinginside").style.display = "block";
- }else{
- document.getElementById("sheatinginside").style.display = "none";
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement