|
28 | 28 | } |
29 | 29 | } |
30 | 30 | </style> --> |
31 | | - <script src="https://cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js" |
32 | | - onerror="this.src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js'"></script> |
33 | | - <script src="https://cdn.jsdelivr.net/npm/bootstrap@4/dist/js/bootstrap.bundle.min.js" |
34 | | - onerror="this.src='https://cdnjs.cloudflare.com/ajax/libs/bootstrap/4.6.2/js/bootstrap.bundle.min.js'"></script> |
| 31 | + <script src="https://cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js"></script> |
| 32 | + <script src="https://cdn.jsdelivr.net/npm/bootstrap@4/dist/js/bootstrap.bundle.min.js"></script> |
35 | 33 | <!-- <script src="https://cdn.jsdelivr.net/npm/jquery-typewriter@1.2.8/dist/js/jquery.typewriter.min.js"></script> --> |
36 | 34 | <!-- <script src="js/main.js" async></script> --> |
37 | 35 | <!-- <script src="https://cdn.jsdelivr.net/npm/spamguard.js/dist/spamguard.min.js"></script> --> |
|
115 | 113 | <div class="container-fluid"> |
116 | 114 | <div class="alert text-center mb-1" style="max-width: 470px;"> |
117 | 115 | <span lang="sr">HTML kod ove stranice možete vidjeti na</span> |
118 | | - <span lang="en">You can see the HTML code of this site on</span><object |
| 116 | + <span lang="en">You can see the HTML code of this site on</span><!--<object |
119 | 117 | data="https://img.shields.io/badge/GitHub-181717?logo=github&labelColor=555555&link=https%3A%2F%2Fgithub.com%2FBaleshSrle%2Fbaleshsrle.github.io" |
120 | | - class="px-1" name="GitHub"></object>. |
121 | | - <!-- <a href="https://github.com/BaleshSrle/baleshsrle.github.io" target="_blank"> |
122 | | - <img src="https://img.shields.io/badge/GitHub-181717?logo=github&labelColor=555555" alt="GitHub" |
123 | | - class="px-1"></a> --> |
| 118 | + class="px-1" name="GitHub"></object>--><img>. |
124 | 119 | </div> |
125 | 120 | <div class="card my-2 mw-100 mx-auto rounded-lg"> |
126 | 121 | <div class="row no-gutters align-items-center"> |
@@ -364,11 +359,13 @@ <h5 class="h5">BALEŠEVIĆ SRĐAN</h5> |
364 | 359 | <div></div> |
365 | 360 | </footer> |
366 | 361 | <script> |
| 362 | + document.scripts[1].onerror = function () { this.src = "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"; } |
367 | 363 | $(document).ready(function () { |
368 | 364 | $.getScript("js/main.js"); |
369 | 365 | //$("div.container-fluid").toggleClass("mb-5 pb-5"); |
370 | | - $("object:eq(0)").addClass("align-middle"); |
371 | | - $("object:eq(1)").addClass("w-100 rounded border-dark border-right border-bottom").height(800); |
| 366 | + //$("object:eq(0)").addClass("align-middle"); |
| 367 | + $("div.alert img").attr({"src":"https://img.shields.io/badge/GitHub-181717?logo=github&logoSize=auto&labelColor=555555","alt":"GitHub"}).on("error", function(){this.src="https://badgen.net/badge/icon/GitHub?icon=github&label=&color=181717";}).addClass("mx-1 aling-middle img-fluid").wrap($("<a></a>").attr({"href":"https://github.com/BaleshSrle/baleshsrle.github.io","target":"_blank"})); |
| 368 | + $("object").addClass("w-100 rounded border-dark border-right border-bottom").height(800); |
372 | 369 | $("div.card-body").addClass("p-2 px-md-3"); |
373 | 370 | //$("div.d-table-row > div.d-table-cell:first-child").addClass("font-weight-bold").width(138); |
374 | 371 | //$("object,div.d-table-row > div.d-table-cell:lt(6)").addClass("align-middle"); |
|
0 commit comments