Created
December 5, 2012 18:12
-
-
Save alivesay/4218062 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16c16 | |
< background: #cdeaf6; | |
--- | |
> background-color: #eeeeee; | |
22c22,24 | |
< #button_continue, #button_native { | |
--- | |
> .hero-unit h1 { font-size: 1.5em; } | |
> | |
> #button_continue, #button_native, #button_new { | |
33c35 | |
< margin-bottom: 30px; | |
--- | |
> margin-bottom: 20px; | |
43,47c45 | |
< <h1>Get the MCL App!</h1> | |
< <br /> | |
< <p> | |
< <img id="logo" alt="MCL Logo" src="mclblue.png" /><br /> | |
< <p> Choose your experience...</p> | |
--- | |
> <h1>Choose your experience</h1> | |
48a47 | |
> <p><img id="logo" alt="MCL Logo" src="mclblue.png" /></p> | |
50c49,50 | |
< <a id="button_continue" class="btn btn-large">Continue to www.multcolib.org</a> | |
--- | |
> <a id="button_new" class="btn btn-large">Try the new mobile-optimized site</a><br /> | |
> <a id="button_continue" class="btn btn-large">Continue to www.multcolib.org</a><br /> | |
53c53 | |
< </p> | |
--- | |
> <p></p> | |
56a57,63 | |
> $("#button_new").click(function() { | |
> // ask again in 7 days | |
> $.cookie("mobile_chooser", 1, { expires : 7 }); | |
> | |
> // redir to new website | |
> window.location.href = "http://web.multcolib.org/"; | |
> }); | |
60,62c67 | |
< $.cookie("mobile_chooser", 1, { path : '/', | |
< domain : 'multcolib.org', | |
< expires : 7 }); | |
--- | |
> $.cookie("mobile_chooser", 1, { expires : 7 }); | |
70c75 | |
< $.cookie("mobile_chooser", 1, { path : '/', domain : 'multcolib.org'}); | |
--- | |
> $.cookie("mobile_chooser", 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment