Home > Panele > Wysuwany panel

Wysuwany panel

Dodane przez: piciu
opis:
wysuwany panel jak facebook ale z możliwością dodania własnego kodu lub textu
Kod:
  1. openside("name");
  2. echo "<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>";
  3. echo "<style type='text/css' media='screen'>";
  4. echo ".slide-out-div {";
  5. echo "position: relative;";
  6. echo "padding: 20px;";
  7. echo "width: 250px;";
  8. echo "height: 250px;";
  9. echo "background: #f2f2f2;";
  10. echo "border: #29216d 0px solid;";
  11. echo "}";
  12. echo "</style>";
  13. echo "<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js' type='text/javascript'></script>";
  14. echo "<script src='http://3tool.eu/slider/jquery.tabSlideOut.v1.3.js'></script>";
  15. echo "<script>";
  16. echo "$(function(){";
  17. echo "$('.slide-out-div').tabSlideOut({";
  18. echo "tabHandle: '.handle',";
  19. echo "pathToTabImage: 'http://3tool.eu/slider/images/fb5.png',";
  20. echo "imageHeight: '50px',";
  21. echo "imageWidth: '50px',";
  22. echo "tabLocation: 'left',";
  23. echo "speed: 1000,";
  24. echo "action: 'hover',";
  25. echo "topPos: '80px',";
  26. echo "leftPos: '80px',";
  27. echo "fixedPosition: true";
  28. echo "});";
  29. echo "});";
  30. echo "</script>";
  31. echo "";
  32. echo "<div class='slide-out-div'>";
  33. echo "<a class='handle' href=''>Content</a>";
  34. echo "twój tet lub kod";
  35. echo "</div>";
  36. echo "";
  37.  
  38. closeside();

©