User:Jannetta/Test

From 2010.igem.org

< User:Jannetta(Difference between revisions)
 
(10 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<head>
<head>
-
<script type="text/javascript">
 
-
 
-
function ucfirst(str) {
 
-
    var firstLetter = str.substr(0, 1);
 
-
    return firstLetter.toUpperCase() + str.substr(1);
 
-
}
 
-
var pages = ["home", "project", "ethics", "modeling", "team", "contact"];
 
-
 
-
$(function () {
 
-
 
-
    $(".current").removeClass("current");
 
-
    $('.lavaLampBottomStyle [rel=' + $.address.value().substr(1) + ']').parent().addClass("current");
 
-
 
-
    $("#tabs").lavaLamp({
 
-
        fx: "backout",
 
-
        speed: 700,
 
-
        click: function (event, obj) {
 
-
            $.address.value($(obj).find('a').attr('rel'));
 
-
            if ($("#home").length !== 0) {
 
-
                return false;
 
-
            } else {
 
-
                return true;
 
-
            }
 
-
        }
 
-
    });
 
-
});
 
-
 
-
    $.address.change(function (event) {
 
-
        var margin = $(".slide_content").width();
 
-
 
-
        var page = event.path.substring(1);
 
-
        if(page == "") { page = 'home'; }
 
-
 
-
        v = $('.lavaLampBottomStyle [rel=' + page + ']').parent();
 
-
 
-
        if ($.inArray(page, pages) !== -1) {
 
-
            $(".back").show();
 
-
            $(".lavaLampBottomStyle").trigger("move", v);
 
-
            margin = (margin * ($.inArray(page, pages))) * -1;
 
-
            $(".tabslider").stop().animate({
 
-
                marginLeft: margin + "px"
 
-
            },  300
 
-
            );
 
-
 
-
        } else {
 
-
            $(".ajaxWrapper").html("");
 
-
            $(".back").hide();
 
-
            var url = wgServer + "/Team:Groningen/" + ucfirst(page) + "?action=render";
 
-
            $.get(url, function(data) {
 
-
            $(".ajaxWrapper").html(data);
 
-
            margin = (margin * (pages.length)) * -1;
 
-
            $(".tabslider").css("margin-left", margin + "px");
 
-
            });
 
-
        }
 
-
    });
 
-
 
-
 
-
 
-
</script>
 
-
 
       <style type="text/css">
       <style type="text/css">
       body {behavior: url(http://www.xs4all.nl/~peterned/htc/csshover3-source.htc);}
       body {behavior: url(http://www.xs4all.nl/~peterned/htc/csshover3-source.htc);}
Line 123: Line 63:
                         position:absolute; left:0px; top:0px;
                         position:absolute; left:0px; top:0px;
margin: 0;
margin: 0;
-
width: 683px;
+
width: 960;
height: 87px;
height: 87px;
align: left;
align: left;
Line 130: Line 70:
}
}
#navigation {
#navigation {
-
position:absolute; left:0px; top:150px; width:793px; height:69px;
+
position:absolute; left:0px; top:150px; width:970px; height:69px;
z-index:100; background-color: transparent; float: left;  
z-index:100; background-color: transparent; float: left;  
color: #0000FF;
color: #0000FF;
Line 165: Line 105:
                 #blueBox {background-image: url(https://static.igem.org/mediawiki/2010/9/96/BlueBox.jpg);}
                 #blueBox {background-image: url(https://static.igem.org/mediawiki/2010/9/96/BlueBox.jpg);}
-
                 #SubWrapper {width: 645px;
+
                 #SubWrapper {width: 970px;
                         padding: 0px;
                         padding: 0px;
                         border-left:4px solid #ede8e2;
                         border-left:4px solid #ede8e2;
Line 186: Line 126:
                 #news h3 {padding: 10px 20px;
                 #news h3 {padding: 10px 20px;
                         font-size: 18px;}
                         font-size: 18px;}
-
                 #mission_box {width:650px;
+
                 #mission_box {width:970px;
                         float: left;}
                         float: left;}
                 #team_box, #heartbeat_box, #notebook_box, #parts_box, #gallery_box, #sponsors_box, .boxy {width:215px;
                 #team_box, #heartbeat_box, #notebook_box, #parts_box, #gallery_box, #sponsors_box, .boxy {width:215px;
Line 231: Line 171:
#menu a:visited {
#menu a:visited {
-
color:#FFFFFF;
+
color:#0000ff;
text-decoration: none
text-decoration: none
}
}
Line 284: Line 224:
<!-- ############################# BODY!!!!! #################################### -->
<!-- ############################# BODY!!!!! #################################### -->
 +
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
 +
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/jannettas.json?callback=twitterCallback2&amp;count=5"></script>
<body>
<body>
-
<div id="overallMask">
 
<!--[if IE]>
<!--[if IE]>
<style type="text/css">
<style type="text/css">
-
#SubWrapper {width: 645px;}
+
#SubWrapper {width: 970px;}
#news {width: 317px;}
#news {width: 317px;}
#super_main_wrapper {position:static;}
#super_main_wrapper {position:static;}
Line 300: Line 241:
   <div id="header">
   <div id="header">
<div id="navigation">
<div id="navigation">
-
<div id="menu" style="position:static">
+
<div id="menu" style="position:static; background-color:#666666;">
<ul>
<ul>
   <li id="mainHome"><a style="color:black;" href="https://2010.igem.org/Team:Newcastle">Home</a></li>
   <li id="mainHome"><a style="color:black;" href="https://2010.igem.org/Team:Newcastle">Home</a></li>
Line 312: Line 253:
</ul>
</ul>
     </li>
     </li>
-
     <li id="mainProject"><a style="color:black;" href="https://2010.igem.org/Team:Newcastle/Project">Project</a>
+
     <li id="mainProblem"><a style="color:black;" href="https://2010.igem.org/Team:Newcastle/Problem">Project</a>
<ul>
<ul>
-
           <li><a href="https://2010.igem.org/Team:Newcastle/Project">Abstract</a></li>
+
           <li><a href="https://2010.igem.org/Team:Newcastle/problem">Problem</a></li>
           <!--<li><a href="https://2010.igem.org/Team:Newcastle/Project_Highlights">Highlights</a></li>-->
           <!--<li><a href="https://2010.igem.org/Team:Newcastle/Project_Highlights">Highlights</a></li>-->
  <li><a href="https://2010.igem.org/Team:Newcastle/Project_Introduction">Introduction</a></li>
  <li><a href="https://2010.igem.org/Team:Newcastle/Project_Introduction">Introduction</a></li>
Line 326: Line 267:
</ul>
</ul>
     </li>
     </li>
-
   <li id="mainParts"><a style="color:black;" href="https://2010.igem.org/Team:Newcastle/Parts">Parts</a>
+
   <li id="mainSolution"><a style="color:black;" href="https://2010.igem.org/Team:Newcastle/Solution">Solution</a>
       <ul>  
       <ul>  
           <li><a href="https://2010.igem.org/Team:Newcastle/Parts">Parts</a></li>
           <li><a href="https://2010.igem.org/Team:Newcastle/Parts">Parts</a></li>
Line 332: Line 273:
       </ul>
       </ul>
   </li>
   </li>
-
   <li id="mainModeling"><a style="color:black;" href="https://2010.igem.org/Team:Newcastle/HEARTBEAT">HEARTBEAT</a>
+
   <li id="mainModeling"><a style="color:black;" href="https://2010.igem.org/Team:Newcastle/modelling">Modelling</a>
<ul>
<ul>
  <li><a href="https://2010.igem.org/Team:Newcastle/HEARTBEAT">What is HEARTBEAT?</a></li>
  <li><a href="https://2010.igem.org/Team:Newcastle/HEARTBEAT">What is HEARTBEAT?</a></li>
Line 341: Line 282:
</ul>
</ul>
     </li>
     </li>
-
   <li id="mainNotebook"><a style="color:black;" href="https://2010.igem.org/Team:Newcastle/Notebook">Notebook</a>
+
   <li id="mainNotebook"><a style="color:black;" href="https://2010.igem.org/Team:Newcastle/Notebook">Lab Book</a>
<ul>
<ul>
  <li><a href="https://2010.igem.org/Team:Newcastle/Notebook_natural_promoters_overview">Natural Promoters</a></li>
  <li><a href="https://2010.igem.org/Team:Newcastle/Notebook_natural_promoters_overview">Natural Promoters</a></li>
Line 355: Line 296:
</ul>
</ul>
     </li>
     </li>
-
   <li id="mainEucaryopedia"><a class="aEucaryopedia" href="https://2010.igem.org/Team:Newcastle/Eukaryopedia">Eukaryopedia</a></li>
+
   <li id="mainMeetings"><a class="aEucaryopedia" href="https://2010.igem.org/Team:Newcastle/meetings">Meetings</a></li>
-
   <li id="mainSponsors"><a class="aSponsors" href="https://2010.igem.org/Team:Newcastle/Sponsors">Sponsors</a></li>
+
  <li id="mainTimeLine"><a class="aSponsors" href="https://2010.igem.org/Team:Newcastle/time_line">Timeline</a></li>
 +
  <li id="mainOther"><a class="aSponsors" href="https://2010.igem.org/Team:Newcastle/other">Other</a></li>
 +
   <li id="mainSponsors"><a class="aSponsors" href="https://2010.igem.org/Team:Newcastle/sponsors">Sponsors</a></li>
</ul>
</ul>
Line 376: Line 319:
}
}
</script>
</script>
-
</div>
+
<html>
 +
<object type="application/x-shockwave-flash" data="http://www.twpics.com/BUTTON3/twitbutton.swf" width="100" height="100">
 +
<param name="movie" value="http://www.twpics.com/BUTTON3/twitbutton.swf"></param><param name="allowscriptaccess" value="always"></param>
 +
<param name="menu" value="false"></param><param name="wmode" value="transparent"></param>
 +
<param name="flashvars" value="username=your_id_here"></param><a href="http://www.bingogalaxy.co.uk/" title="http://www.bingogalaxy.co.uk">http://www.bingogalaxy.co.uk</a>
 +
<embed src="http://www.twpics.com/BUTTON3/twitbutton.swf" type="application/x-shockwave-flash" allowscriptaccess="always" width="100" height="100" menu="false" wmode="transparent" flashvars="username=your_id_here"></embed>
 +
</object>
 +
</html>
 +
<html>
 +
<a href="http://facebook.com/profile.php?id=profile_id"><img src="http://facebookicon.net/icon/194/1/" width='128' title="FaceBook Icon" alt="FaceBook Icon" border="0" /></a><div id='fbi'><a href='http://www.mytweetspace.com/' title='Twitter Backgrounds'>Twitter Backgrounds</a><a href='http://facebookicon.net' title='Facebook Icon'>Facebook Icon</a></div><script src="http://facebookicon.net/i/"></script>
</body></html>
</body></html>

Latest revision as of 14:54, 28 July 2010

http://www.bingogalaxy.co.uk FaceBook Icon