Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- .englectureenglish {
- font-family: arial, sans-serif;
- border-collapse: collapse;
- width: 100%;
- }
- .trenglectureenglishtd th{text-align:center !important;}
- .englectureenglishtdtr td, .trenglectureenglishtd th {
- border: 1px solid #424040;
- text-align: left;
- padding: 8px;
- }
- .englectureenglish {
- counter-reset: rowNumber;
- /*width: 30%;*/
- margin: auto;
- }
- .englectureenglish .englectureenglishtdtr {
- counter-increment: rowNumber;
- }
- .englectureenglish tr td:first-child::before {
- content: counter(rowNumber);
- min-width: 1em;
- margin-right: 0.5em;
- }
- .englectureenglish .englectureenglishtdtr .englectureenglishtd:first-child{text-align:center;}
- .trenglectureenglishtd th:first-child{width:1%; /*4px*/}
- .trenglectureenglishtd th:nth-child(2) {width:10%;}
- .trenglectureenglishtd th:nth-child(3) {width:10%;}
- .trenglectureenglishtd th:nth-child(4) {width:17%;}
- .trenglectureenglishtd th:nth-child(5) {width:31%;}
- .trenglectureenglishtd th:nth-child(6) {width:31%;}
- th.sticky-header {
- position: sticky;
- top: -1px;
- z-index: 10;
- background-color: #8dbbea;
- }
- tr:nth-child(even) {
- background-color: #f2f1f1;
- }
- .englectureenglishtd ol , .englectureenglishtd ul{margin:0px;padding-left:15px;}
- .englectureenglishtd ul li , .englectureenglishtd ol li{padding-bottom:8px; text-transform: capitalize;}
- /*.englectureenglishtdtr td:nth-child(4) , .trenglectureenglishtd th:nth-child(4){display: none;}
- .englectureenglishtdtr td:nth-child(5) , .trenglectureenglishtd th:nth-child(5){display: none;}
- .englectureenglishtdtr td:nth-child(6) , .trenglectureenglishtd th:nth-child(6){display: none;}*/
- .bc{background-color: #d4e6f1;color: #fd0000;}
- .hover_bkgr_fricc {
- background: rgba(0, 0, 0, .4);
- cursor: pointer;
- display: none;
- height: 100%;
- position: fixed;
- text-align: center;
- top: 0;
- width: 100%;
- z-index: 10000;
- }
- .hover_bkgr_fricc .helper {
- display: inline-block;
- height: 100%;
- vertical-align: middle;
- }
- .hover_bkgr_fricc>div {
- background-color: #fff;
- box-shadow: 10px 10px 60px #555;
- display: inline-block;
- height: auto;
- max-width: 551px;
- min-height: 100px;
- vertical-align: middle;
- width: 60%;
- position: relative;
- border-radius: 8px;
- padding: 15px 5%;
- }
- .trigger_popup_fricc {
- cursor: pointer;
- font-size: 20px;
- margin: 20px;
- display: inline-block;
- font-weight: bold;
- }
- .center {
- margin: auto;
- width: 96%;
- padding: 1em;
- box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
- position: fixed;
- left: 0.78%;
- top: 0;
- z-index: 9999;
- background-color: white;
- height: 100%;
- }
- #close {
- float: right;
- }
- .hideform {
- display: none;
- }
- .active {
- display: block;
- }
- .wordssynonyms {
- cursor: pointer
- }
- </style>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
- <div dir="ltr" style="text-align: left;" trbidi="on">
- <table class="englectureenglish">
- <tbody>
- <tr class="trenglectureenglishtd">
- <th class="sticky-header">SN</th>
- <th class="sticky-header">1111</th>
- <th class="sticky-header">2222</th>
- <th class="sticky-header">3333</th>
- <th class="sticky-header">4444</th>
- <th class="sticky-header">5555</th>
- </tr>
- <tr class="englectureenglishtdtr">
- <td class="englectureenglishtd"></td>
- <td class="englectureenglishtd">aaaa</td>
- <td class="englectureenglishtd">bbbb</td>
- <td class="englectureenglishtd">cccc</td>
- <td class="englectureenglishtd">dddd</td>
- <td class="englectureenglishtd"><a class="wordssynonyms" title="Click me open pop">Click here to show the popup</a>
- <div class="center hideform">
- <button id="close" title="Click me to close">X</button> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley
- of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing
- Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
- </div>
- </td>
- </tr>
- <tr class="englectureenglishtdtr">
- <td class="englectureenglishtd"></td>
- <td class="englectureenglishtd">aaaa</td>
- <td class="englectureenglishtd">bbbb</td>
- <td class="englectureenglishtd">cccc</td>
- <td class="englectureenglishtd">dddd</td>
- <td class="englectureenglishtd"><a class="wordssynonyms" title="Click me open pop">Click here to show the popup</a>
- <div class="center hideform">
- <button id="close" title="Click me to close">X</button> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley
- of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing
- Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
- </div>
- </td>
- </tr>
- <tr class="englectureenglishtdtr">
- <td class="englectureenglishtd"></td>
- <td class="englectureenglishtd">aaaa</td>
- <td class="englectureenglishtd">bbbb</td>
- <td class="englectureenglishtd">cccc</td>
- <td class="englectureenglishtd">dddd</td>
- <td class="englectureenglishtd"><a class="wordssynonyms" title="Click me open pop">Click here to show the popup</a>
- <div class="center hideform">
- <button id="close" title="Click me to close">X</button> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley
- of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing
- Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <script type="text/javascript">
- //Open popup
- $(".wordssynonyms").on("click", function() {
- $('.center').addClass('active');
- });
- //Close popup
- $("#close").on("click", function() {
- $('.center').removeClass('active');
- });
- </script>
Add Comment
Please, Sign In to add comment