Guest User

Untitled

a guest
May 24th, 2013
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. <script type="text/javascript">
  2. $(document).ready(function(){
  3.  
  4. $(".slidingDiv").hide();
  5. $(".show_hide").show();
  6.  
  7. $(".show_hide").click(function(){
  8. $(".slidingDiv").slideToggle();
  9. });
  10. });
  11. </script>
  12.  
  13.  
  14. <a href="#!" class="show_hide">Share something interesting</a>
  15. <div class="slidingDiv">
  16. <div id="indexProfilePicture">
  17. <?php echo "<img class='indexProfilePicture' id='noDragLuls' src='$fp_i'/>"; ?>
  18. </div>
  19. <form action="EXE/postNewFeed.php" method="post">
  20. <textarea class="newPostContent" name="postfeed" ></textarea>
  21. <input class="postButton" type="submit" value="Share" />
  22. </form>
  23.  
  24.  
  25. </div>
  26.  
  27.  
  28.  
  29.  
  30. .slidingDiv {
  31. word-wrap: break-word;
  32. padding: 10px;
  33. position: relative;
  34. z-index: 14;
  35. float: left;
  36. width: 860px;
  37. height: 110px;
  38. margin-top: -5px;
  39. margin-left: 10px;
  40. background: #2E4964; /*#574A5F;*/
  41.  
  42.  
  43.  
  44. -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.34);
  45.  
  46. box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.34);
  47.  
  48. -webkit-border-radius: 0px 0px 4px 4px;
  49. border-radius: 0px 0px 4px 4px;
  50. }
  51.  
  52. .show_hide {
  53. font-weight: bold;
  54. z-index: 15;
  55. text-align: center;
  56. font-family: hamster;
  57. font-size: 25px;
  58. color: #0E2A46;
  59. display:none;
  60. word-wrap: break-word;
  61. padding: 10px;
  62. padding-bottom: 0px;
  63. position: relative;
  64. float: left;
  65. width: 860px;
  66. height: 30px;
  67. margin-top: 10px;
  68. margin-left: 10px;
  69. background: #2E4964; /*#574A5F;*/
  70.  
  71. -webkit-border-radius: 4px 4px 4px 4px;
  72. border-radius: 4px 4px 4px 4px;
  73.  
  74. webkit-transition: all 0.1 ease-in;
  75. -o-transition: all 0.1s ease-in;
  76. -ms-transition: all 0.1s ease-in;
  77. -moz-transition: all 0.1s ease-in;
  78. transition: all 0.1s ease-in;
  79.  
  80.  
  81.  
  82. }
  83.  
  84. .newPostContent{
  85. background: #213B55;
  86. float: left;
  87. color: white;
  88. height: 106px;
  89. width: 610px;
  90. margin-left: 10px;
  91. border-radius: 4px;
  92. border: none;
  93. padding-left: 5px;
  94. }
  95. .newPostContent:focus{
  96. outline: none;
  97. }
  98.  
  99. .postButton{
  100. font-size: 26px;
  101. font-weight: bold;
  102. font-family: hamster;
  103. color: rgba(0, 0, 0, 0.47);
  104. height: 110px;
  105. width: 110px;
  106. margin-left: 10px;
  107. border: none;
  108. border-radius: 4px;
  109. background: #213B55;
  110. -webkit-transition: all 0.2s ease;
  111. -o-transition: all 0.2s ease;
  112. -ms-transition: all 0.2s ease;
  113. -moz-transition: all 0.2s ease;
  114. transition: all 0.2s ease;
  115.  
  116.  
  117. }
  118. .postButton:hover{
  119. cursor: pointer;
  120. color: white;
  121. background: #27425E;
  122. -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.34);
  123.  
  124. box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.34);
  125. }
  126.  
  127. .indexProfilePicture{
  128. float: left;
  129. width: 110px;
  130. height: 110px;
  131. border-radius: 4px;
  132. }
Advertisement
Add Comment
Please, Sign In to add comment