Login   Register  
Icontem

File: index.html

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Greg Lane  >  GrowShrink.js  >  index.html  >  Download  
File: index.html
Role: Example script
Content type: text/plain
Description: Sample index
Class: GrowShrink.js
Grow or shrink elements inside their parents
Author: By
Last change:
Date: 2012-11-13 22:26
Size: 2,338 bytes
 

Contents

Class file image Download
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title>growshrink.js demos</title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width">

        <link rel="stylesheet" href="css/normalize.css">
        <link rel="stylesheet" href="css/main.css">
        <script src="lib/modernizr-2.6.2.min.js"></script>
    </head>
    <body>
        <!--[if lt IE 7]>
            <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
        <![endif]-->
        <div id="container">
            <h1>Growshrink.js Demo</h1>
        
        <p>Source at top left: <a href="#" id="bottomright">grow</a> |
        <a href="#" id="shrinktopleft">shrink</a><br/>
        Source at top right: <a href="#" id="bottomleft">grow</a> | <a href="#" id="shrinktopright">shrink</a><br/>
        Source at bottom left: <a href="#" id="topright">grow</a> | <a href="#" id="shrinkbottomleft">shrink</a><br/>
        Source at bottom right: <a href="#" id="topleft">grow</a> | <a href="#" id="shrinkbottomright">shrink</a><br/>
        Source in middle: <a href="#" id="middle">grow</a> | <a href="#" id="shrinkmiddle">shrink</a><br/><br/>
        </p>
        <div id="wrapperblock">
            <div id="colorblock"></div>
            <div id="colorblock2"></div>
            <div id="colorblock3"></div>
            <div id="colorblock4"></div>
            <div id="colorblock5"></div>
        </div>
        </div>

        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
        <script>window.jQuery || document.write('<script src="lib/jquery-1.8.2.min.js"><\/script>')</script>
        <script src="lib/growshrink.min.js"></script>
        <script src="lib/main.js"></script>

    </body>
</html>