Guest User

Untitled

a guest
Jul 12th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. <head>
  2. <title>Fresh Merb App</title>
  3. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  4. <link rel="stylesheet" href="/stylesheets/reset.css" type="text/css" media="screen" charset="utf-8" />
  5. <link rel="stylesheet" href="/stylesheets/dash.css" type="text/css" media="screen" charset="utf-8" />
  6.  
  7.  
  8. <script src="/javascripts/jquery.js"></script>
  9.  
  10. <script type="text/javascript" charset="utf-8">
  11. function setHeight(){};
  12.  
  13. $(document).ready(function (){
  14. $("#text").bind("click", function(e){
  15. $("#type").html($("#text-source").html());
  16. $("li.type").removeClass("active");
  17. $("#text").addClass("active");
  18. $("#post_type").attr("value","text");
  19. setHeight();
  20. return false;
  21. });
  22.  
  23. $("#image").bind("click", function(e){
  24. $("#type").html($("#image-source").html());
  25. $("li.type").removeClass("active");
  26. $("#image").addClass("active");
  27. $("#post_type").attr("value","image");
  28. setHeight();
  29. return false;
  30. });
  31.  
  32. $("#video").bind("click", function(e){
  33. $("#type").html($("#video-source").html());
  34. $("li.type").removeClass("active");
  35. $("#video").addClass("active");
  36. $("#post_type").attr("value","video");
  37. setHeight();
  38. return false;
  39. });
  40. $("#image").click();
  41.  
  42. });
  43. </script>
  44.  
  45.  
  46. <script type='text/javascript'>
  47. //<![CDATA[
  48. $(document).ready({
  49. $('a.watch').click(function(){
  50. $(this).next().toggle();
  51. $(this).next().next().toggle();
  52. return false;
  53. });
  54. });
  55. //]]>
  56. </script>
  57.  
  58.  
  59.  
  60. </head>
Add Comment
Please, Sign In to add comment