Difference between revisions of "Team:Warwick/Home"

Line 2,408: Line 2,408:
 
<script src="javascripts/hoverIntent.js"></script>
 
<script src="javascripts/hoverIntent.js"></script>
 
<script src="javascripts/superfish.js"></script>
 
<script src="javascripts/superfish.js"></script>
<script src="javascripts/responsivemenu.js"></script>
+
<script src="/*! http://tinynav.viljamis.com v1.1 by @viljamis */
 +
(function(a,i,g){a.fn.tinyNav=function(j){var b=a.extend({active:"selected",header:"",label:""},j);return this.each(function(){g++;var h=a(this),d="tinynav"+g,f=".l_"+d,e=a("<select/>").attr("id",d).addClass("tinynav "+d);if(h.is("ul,ol")){""!==b.header&&e.append(a("<option/>").text(b.header));var c="";h.addClass("l_"+d).find("a").each(function(){c+='<option value="'+a(this).attr("href")+'">';var b;for(b=0;b<a(this).parents("ul, ol").length-1;b++)c+="- ";c+=a(this).text()+"</option>"});e.append(c);
 +
b.header||e.find(":eq("+a(f+" li").index(a(f+" li."+b.active))+")").attr("selected",!0);e.change(function(){i.location.href=a(this).val()});a(f).after(e);b.label&&e.before(a("<label/>").attr("for",d).addClass("tinynav_label "+d+"_label").append(b.label))}})}})(jQuery,this,0);
 +
 
 +
$(document).ready(function () {
 +
$("#main-menu").tinyNav({
 +
  active: 'selected', // String: Set the "active" class
 +
  header: 'MENU', // String: Specify text for "header" and show header instead of the active item
 +
  indent: '- ', // String: Specify text for indenting sub-items
 +
  label: '' // String: Sets the <label> text for the <select> (if not set, no label will be added)
 +
});
 +
});
 +
 +
// initialise plugins superfish menu
 +
                jQuery(document).ready(function($){
 +
                        jQuery('ul.sf-menu').superfish();
 +
 +
                        /* prepend menu icon */
 +
                        jQuery('#nav-wrap').prepend('<div id="menu-icon">MENU</div>');
 +
                        //alert ('test');
 +
                        /* toggle nav */
 +
                        $("#menu-icon").on("click", function(){
 +
                                jQuery(".sf-menu").slideToggle();
 +
                                jQuery(this).toggleClass("active");
 +
                        });
 +
                });"></script>
  
 
</body></html>
 
</body></html>

Revision as of 14:32, 13 July 2015

Warwick iGEM 2015

info
Thank you for visiting our website! Feel free to contact us for more information.

  • image01

    Dare to

    Dream

  • image02

    Dare to

    Hope

  • Dare to

    Smile

  • image04

    Dare to

    ask

  • image05

    Dare to

    refuse

  • image06

    Dare to

    give

  • image07

    Dare to

    receive

  • image08

    Dare to

    Love

  • image09

    Dare to

    Forgive

  • image10

    Warwick iGEM

    2015

"Warwick iGEM 2015 is the greatest team in the world" - Winston Churchill

What we do

Photography

Swine short ribs meatball irure bacon nulla pork belly cupidatat meatloaf cow. Nulla corned beef sunt ball tip, qui bresaola enim jowl. Capicola short ribs minim salami nulla nostrud pastrami.

Learn more

Artwork

Swine short ribs meatball irure bacon nulla pork belly cupidatat meatloaf cow. Nulla corned beef sunt ball tip, qui bresaola enim jowl. Capicola short ribs minim salami nulla nostrud pastrami.

Learn more

Logos

Swine short ribs meatball irure bacon nulla pork belly cupidatat meatloaf cow. Nulla corned beef sunt ball tip, qui bresaola enim jowl. Capicola short ribs minim salami nulla nostrud pastrami.

Learn more

"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis." Martin - NY

"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco." Sandra - LA

"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco." Jason - MA