Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. <-- Chỉnh lại html -->
  2. <div data-u="thumbnavigator" class="jssort121" style="position:absolute;left:0px;top:0px!important;width:40px;height:400px;overflow:hidden;cursor:default;" data-autocenter="2" data-scale-left="0.75">
  3. <div data-u="slides" class="slide-item">
  4. <div data-u="prototype" class="p" style="width:40px;height:46px;">
  5. <div data-u="thumbnailtemplate" class="t tuanbach"></div>
  6. </div>
  7. </div>
  8. </div>
  9.  
  10. <-- them style -->
  11. <style>
  12. .slide-item > div{
  13. top: initial !important;
  14. left: initial !important;
  15. position: relative !important;
  16. }
  17. </style>
  18.  
  19.  
  20.  
  21. <!-- update style -->
  22.  
  23. .parentNavigator{
  24. top: initial !important;
  25. }
  26. .jssort121 {
  27. top: initial !important;
  28. transform: initial !important;
  29. left: initial !important;}
  30. .jssort121 .p {
  31. position: absolute;
  32. top: 0;
  33. left: 0;
  34. box-sizing: border-box;
  35. color: #fff;
  36. opacity: .4; }
  37. .jssort121 .p .t {
  38. position: absolute;
  39. margin: 0px 0;
  40. box-sizing: border-box;
  41. top: 0;
  42. left: 0;
  43. width: 100%;
  44. height: 100%;
  45. line-height: 24px;
  46. overflow: hidden; }
  47. .jssort121 .p .i {
  48. margin-right: 5px;
  49. position: relative;
  50. top: 0;
  51. left: 0;
  52. width: 40px;
  53. height: 40px;
  54. border: none;
  55. float: left; }
  56. .jssort121 .p:hover {
  57. color: #000;
  58. opacity: 1; }
  59. .jssort121 .p:hover.pdn {
  60. opacity: 1; }
  61. .jssort121 .pav {
  62. color: #000;
  63. background: rgba(255, 255, 255, 0.7);
  64. opacity: 1; }
  65. .jssort121 .ti {
  66. position: relative;
  67. font-size: 14px;
  68. font-weight: bold; }
  69. .jssort121 .d {
  70. position: relative;
  71. font-size: 12px; }
  72.  
  73.  
  74. <!-- js code -->
  75. jssor_1_slider_init();
  76.  
  77. setTimeout(function(){
  78. $('div[data-u="thumbnavigator"]').parent().addClass('parentNavigator');
  79. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement