Difference between revisions of "Template:Sidebar"

From Sinfronteras
Jump to: navigation, search
Line 793: Line 793:
 
     </style>
 
     </style>
 
     <script>
 
     <script>
         document.getElementById("Desktop-inter2").innerHTML = document.getElementById("Desktop-inter0").innerHTML
+
         // This allows using the whole table by using «display: none» on the sections that won't be shown:
         $(".invisible").not('.desktop-1').css('display','none')
+
        // document.getElementById("Desktop-inter2").innerHTML = document.getElementById("Desktop-inter0").innerHTML
         $("#Desktop-inter1 #container-desktop-menu").css('display','none')
+
         // $(".invisible").not('.desktop-1').css('display','none')
 +
         // $("#Desktop-inter1 #container-desktop-menu").css('display','none')
 +
       
 +
        // This is by taking only the section I need:       
 +
        document.getElementById("desktop-1-titulo-inter").innerHTML = document.getElementById("desktop-1-titulo").innerText
 +
        document.getElementById("Desktop-inter2").innerHTML = document.getElementById("desktop-2-1-area").innerHTML
 +
 
 
         $("#Desktop-inter1 #desktop p").addClass("desplaza-2")
 
         $("#Desktop-inter1 #desktop p").addClass("desplaza-2")
 
         $("#Desktop-inter1 .desktop-1-1").addClass("desplaza-2")
 
         $("#Desktop-inter1 .desktop-1-1").addClass("desplaza-2")
 
         $("#Desktop-inter1 .text-1-1").removeClass("desplaza-2")
 
         $("#Desktop-inter1 .text-1-1").removeClass("desplaza-2")
        document.getElementById("desktop-1-titulo-inter").innerHTML = document.getElementById("desktop-1-titulo").innerText
+
 
 
         $("#desktop-1-titulo-inter").wrap('<a href="Desktop" />');
 
         $("#desktop-1-titulo-inter").wrap('<a href="Desktop" />');
 
     </script>
 
     </script>
 
</html>
 
</html>

Revision as of 17:09, 23 March 2021