|
|
(6 intermediate revisions not shown) |
Line 3: |
Line 3: |
| <meta http-equiv="content-type" content="text/html;charset=utf-8" /> | | <meta http-equiv="content-type" content="text/html;charset=utf-8" /> |
| <title>University of Calgary</title> | | <title>University of Calgary</title> |
- |
| |
- |
| |
- | <script type="text/javascript"><!--
| |
- | var delay=3000
| |
- | var ie4=document.all
| |
- | var curindex=0
| |
- | var totalcontent=0
| |
- | function get_total(){
| |
- | if (ie4){
| |
- | while (eval("document.all.content"+totalcontent))
| |
- | totalcontent++
| |
- | }
| |
- | else{
| |
- | while (document.getElementById("content"+totalcontent))
| |
- | totalcontent++
| |
- | }
| |
- | }
| |
- | function contract_all(){
| |
- | for (y=0;y<totalcontent;y++){
| |
- | if (ie4)
| |
- | eval("document.all.content"+y).style.display="none"
| |
- | else
| |
- | document.getElementById("content"+y).style.display="none"
| |
- | }
| |
- | }
| |
- | function expand_one(which){
| |
- | contract_all()
| |
- | if (ie4)
| |
- | eval("document.all.content"+which).style.display=""
| |
- | else
| |
- | document.getElementById("content"+which).style.display=""
| |
- | }
| |
- | function rotate_content(){
| |
- | get_total()
| |
- | contract_all()
| |
- | expand_one(curindex)
| |
- | curindex=(curindex<totalcontent-1)? curindex+1: 0
| |
- | setTimeout("rotate_content()",delay)
| |
- | }
| |
- | window.onload=rotate_content
| |
- | //--></script>
| |
| </head> | | </head> |
- |
| |
| <style> | | <style> |
| body{ | | body{ |
Line 131: |
Line 89: |
| <div class="title"> | | <div class="title"> |
| UNIVERSITY OF CALGARY | | UNIVERSITY OF CALGARY |
- | </div>
| |
- | <div id="content0" style="display:none">
| |
- | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/autumnnorman-b1.jpg" width="965px" height="293px" border="0">
| |
| </div> | | </div> |
| | | |
- | <div id="content1" style="display:none">
| + | <img src="http://i1001.photobucket.com/albums/af132/igemcalgary/header/1.png" width="965px" height="293px"> |
- | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/autumn10norman-b1.jpg" width="965px" height="293px" border="0"> | + | |
- | | + | |
- | <div id="content2" style="display:none">
| + | |
- | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/skyline.jpg" width="965px" height="293px" border="0">
| + | |
- | </div>
| + | |
- | | + | |
- | <div id="content3" style="display:none">
| + | |
- | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/B1-chicken.jpg" width="965px" height="293px" border="0">
| + | |
- | | + | |
- | <div id="content4" style="display:none">
| + | |
- | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/10.jpg" width="965px" height="293px" border="0">
| + | |
- | </div>
| + | |
- | | + | |
- | <div id="content5" style="display:none">
| + | |
- | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/8.jpg" width="965px" height="293px" border="0">
| + | |
- | | + | |
- | <div id="content6" style="display:none">
| + | |
- | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/B1_ICT2.jpg" width="965px" height="293px" border="0">
| + | |
- | </div>
| + | |
- | | + | |
- | <div id="content7" style="display:none">
| + | |
- | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/B1_Haskayne.jpg" width="965px" height="293px" border="0">
| + | |
- | | + | |
- | <div id="content8" style="display:none">
| + | |
- | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/archnorman-b1.jpg" width="965px" height="293px" border="0">
| + | |
- | </div>
| + | |
- | | + | |
- | <div id="content9" style="display:none">
| + | |
- | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/B1-campus.jpg" width="965px" height="293px" border="0">
| + | |
- | | + | |
- | <div id="content10" style="display:none">
| + | |
- | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/B1-arch.jpg" width="965px" height="293px" border="0">
| + | |
- | </div>
| + | |
- | </div>
| + | |
| </div> | | </div> |
| | | |
Line 329: |
Line 250: |
| </div> | | </div> |
| </div> | | </div> |
| + | |
| + | </body> |
| + | </html> |