Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <title>Fresh Merb App</title>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="/stylesheets/reset.css" type="text/css" media="screen" charset="utf-8" />
- <link rel="stylesheet" href="/stylesheets/dash.css" type="text/css" media="screen" charset="utf-8" />
- <script src="/javascripts/jquery.js"></script>
- <script type="text/javascript" charset="utf-8">
- function setHeight(){};
- $(document).ready(function (){
- $("#text").bind("click", function(e){
- $("#type").html($("#text-source").html());
- $("li.type").removeClass("active");
- $("#text").addClass("active");
- $("#post_type").attr("value","text");
- setHeight();
- return false;
- });
- $("#image").bind("click", function(e){
- $("#type").html($("#image-source").html());
- $("li.type").removeClass("active");
- $("#image").addClass("active");
- $("#post_type").attr("value","image");
- setHeight();
- return false;
- });
- $("#video").bind("click", function(e){
- $("#type").html($("#video-source").html());
- $("li.type").removeClass("active");
- $("#video").addClass("active");
- $("#post_type").attr("value","video");
- setHeight();
- return false;
- });
- $("#image").click();
- });
- </script>
- <script type='text/javascript'>
- //<![CDATA[
- $(document).ready({
- $('a.watch').click(function(){
- $(this).next().toggle();
- $(this).next().next().toggle();
- return false;
- });
- });
- //]]>
- </script>
- </head>
Add Comment
Please, Sign In to add comment