Difference between revisions of "Team:Shanghaitech/Device"

Line 2: Line 2:
 
{{Shanghaitech/css}}
 
{{Shanghaitech/css}}
 
<html>
 
<html>
<head>
 
 
<script>
 
    var a = document.getElementById('top-header');
 
    var b = document.body;
 
    function change(){
 
        if (a.className == "expanded") {
 
            a.className='condensed';
 
        } else {
 
            a.className='expanded';
 
        }
 
    }
 
    function change2(){
 
        if (b.className == "dev") {
 
            b.className='';
 
        } else {
 
            b.className='dev';
 
        }
 
    }
 
</script>
 
 
<body class='dev'>
 
<body class='dev'>
 
<div id="bg-casual" class="background"></div>
 
<div id="bg-casual" class="background"></div>
 +
<div id="header-bg-duplicate" class="background"></div>
 
<header id="top-header" class='expanded'>
 
<header id="top-header" class='expanded'>
 
<div id='header-container' class='normalized'>
 
<div id='header-container' class='normalized'>
     <div-- id="header-bg" class="background"><!--div id="header-bg-opacity"></div--></div>
+
     <div id="header-bg" class="background"></div>
 
     <div id="logo-container" class="container"><img src="logo.png" alt="logo" class="img-contain" /></div>
 
     <div id="logo-container" class="container"><img src="logo.png" alt="logo" class="img-contain" /></div>
 
     <ul class="container horizontal normalized" id="menu-bar">
 
     <ul class="container horizontal normalized" id="menu-bar">
Line 153: Line 134:
 
<p>This is a following paragraph.</p>
 
<p>This is a following paragraph.</p>
 
<p>This is a following paragraph.</p>
 
<p>This is a following paragraph.</p>
</body></html>
+
<script>
 +
    function change(){
 +
        var a = document.getElementById('top-header');
 +
        if (a.className == "expanded") {
 +
            a.className='condensed';
 +
        } else {
 +
            a.className='expanded';
 +
        }
 +
    }
 +
    function change2(){
 +
        var b = document.body;
 +
        if (b.className == "dev") {
 +
            b.className='';
 +
        } else {
 +
            b.className='dev';
 +
        }
 +
    }
 +
</script>
 +
</body>

Revision as of 13:28, 27 October 2017

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.

This is a following paragraph.