Permalink
Browse files

simple jquery fade in

  • Loading branch information...
1 parent 9ef0ba2 commit a4ebec79b8023737a9b5d5a55c88a2f8c5522e34 @fredyates fredyates committed Jun 6, 2012
@@ -14,3 +14,4 @@
//= require jquery_ujs
//= require twitter/bootstrap
//= require_tree .
+
@@ -55,7 +55,7 @@ input[type="submit"] {
}
#home h1 {
- padding-top: 100px;
+ padding-top: 150px;
color: #fff;
font-size: 50px;
}
@@ -5,6 +5,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="shortcut icon" href="<%= asset_path "favicon.png" %>">
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<%= stylesheet_link_tag "application", :media => "all" -%>
<%= javascript_include_tag "application" -%>
<%= csrf_meta_tags %>
@@ -15,4 +16,8 @@
<%= render partial: 'homes/landing/how_it_works' -%>
<%= render partial: 'homes/landing/privacy' -%>
</body>
+ <script type="text/javascript">
+ $('.tagline').hide();
+ $('.tagline').fadeIn(1500);
+ </script>
</html>
@@ -1,5 +1,5 @@
<div id="home">
- <div>
+ <div class="tagline">
<h1>prizzm</h1>
<h2>a better ad experience</h2>
<h3>you choose the ads you want to see</h3>

0 comments on commit a4ebec7

Please sign in to comment.