|
|
Line 4: |
Line 4: |
| <head> | | <head> |
| <style type="text/css"> | | <style type="text/css"> |
- |
| |
| .back-to { | | .back-to { |
| position: fixed; | | position: fixed; |
Line 15: |
Line 14: |
| background-position: -50px 0 | | background-position: -50px 0 |
| } | | } |
- |
| |
- |
| |
| .back-to .backtotop { | | .back-to .backtotop { |
| float: left; | | float: left; |
Line 46: |
Line 43: |
| background-position: -50px 0 | | background-position: -50px 0 |
| } | | } |
- |
| |
- |
| |
| </style> | | </style> |
| </head> | | </head> |
Line 54: |
Line 49: |
| | | |
| <!----{{Template:12SJTU_sliderbar}}----> | | <!----{{Template:12SJTU_sliderbar}}----> |
- | <html>
| |
- | <head>
| |
- | <style type="text/css">
| |
- | div.bottombar{ /* bar that runs across the bottom of the menu */
| |
- | height: 10px;
| |
- | background: #1a1109;
| |
- | }
| |
- |
| |
- | ul.semiopaquemenu{ /* main menu UL */
| |
- | font: bold 18px Verdana ;
| |
- | width: 100%;
| |
- |
| |
- | padding: 11px 0 8px 0; /* padding of the 4 sides of the menu */
| |
- | margin: 0;
| |
- | text-align: center; /* set value to "left", "center", or "right" to align menu accordingly */
| |
- | }
| |
- | ul.semiopaquemenu2{
| |
- | padding: 0px 0 8px 6px;
| |
- | text-align: left;
| |
- | }
| |
- | ul.semiopaquemenu2 li{
| |
- | margin-left: 0px;
| |
- | margin-top: 12px;
| |
- | display:block !important;
| |
- | }
| |
- |
| |
- | ul.semiopaquemenu2 li a{
| |
- |
| |
- | margin-right: 0px; /* spacing between each menu link */
| |
- | margin-left: 0px;
| |
- | margin-top: 15px;
| |
- | }
| |
- | ul.semiopaquemenu li:hover .menubar1,ul.semiopaquemenu li:hover .menubar2,ul.semiopaquemenu li:hover .menubar3,ul.semiopaquemenu li:hover .menubar4{
| |
- | display:block;
| |
- | background-color:#fadb48;
| |
- | }
| |
- | ul.semiopaquemenu li{
| |
- | display: inline;
| |
- | }
| |
- |
| |
- | ul.semiopaquemenu li a,ul.semiopaquemenu2 li a{
| |
- | color:white;
| |
- | padding: 6px 8px 6px 8px; /* padding of the 4 sides of each menu link */
| |
- | margin-right: 10px; /* spacing between each menu link */
| |
- | text-decoration: none;
| |
- | }
| |
- |
| |
- | ul.semiopaquemenu li a:hover, ul.semiopaquemenu li a.selected{
| |
- | color: black;
| |
- | background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjgyIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMC4xNiIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); /* IE9+ SVG equivalent of linear gradients */
| |
- | background: -moz-linear-gradient(top, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.16) 100%); /* fade from white (0.82 opacty) to 0.16 opacity */
| |
- | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.82)), color-stop(100%,rgba(255,255,255,0.16)));
| |
- | background: -webkit-linear-gradient(top, rgba(255,255,255,0.82) 0%,rgba(255,255,255,0.16) 100%);
| |
- | background: -o-linear-gradient(top, rgba(255,255,255,0.82) 0%,rgba(255,255,255,0.16) 100%);
| |
- | background: -ms-linear-gradient(top, rgba(255,255,255,0.82) 0%,rgba(255,255,255,0.16) 100%);
| |
- | background: linear-gradient(top, rgba(255,255,255,0.82) 0%,rgba(255,255,255,0.16) 100%);
| |
- | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d1ffffff', endColorstr='#29ffffff',GradientType=0 );
| |
- | -moz-box-shadow: 0 0 5px #595959; /* CSS3 box shadows */
| |
- | -webkit-box-shadow: 0 0 5px #595959;
| |
- | box-shadow: 0 0 5px #595959;
| |
- | padding-top: 12px; /* large padding to get menu item to protrude upwards */
| |
- | padding-bottom: 9px; /* large padding to get menu item to protrude downwards */
| |
- | }
| |
- |
| |
- | </style>
| |
- | </head>
| |
- | </html>
| |
| <!----End {{Template:12SJTU_sliderbar}}----> | | <!----End {{Template:12SJTU_sliderbar}}----> |
| | | |
Line 715: |
Line 643: |
| if (this.submenus[i].className != "collapsed") { | | if (this.submenus[i].className != "collapsed") { |
| this.collapseMenu(this.submenus[i]); | | this.collapseMenu(this.submenus[i]); |
- | } | + | } |
| } | | } |
| } | | } |