Skip to content

Commit

Permalink
add bdock img to cctv large oil
Browse files Browse the repository at this point in the history
  • Loading branch information
NapoII committed Nov 26, 2023
1 parent b0c7e79 commit 32883fd
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 19 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@



[![downloads/total](https://img.shields.io/website?down_color=red&down_message=offline&label=Rust-Collection&up_color=greenb&up_message=Online&url=https%3A%2F%2Fnapoii.github.io%2FRust-Collection%2F)](https://napoii.github.io/Rust-Collection/) [![github/repo-size](https://img.shields.io/github/repo-size/NapoII/Rust-Collection)](https://github.com/NapoII/Rust-Collection/archive/refs/heads/main.zip) [![github/license](https://img.shields.io/github/license/NapoII/Rust-Collection)](https://github.com/NapoII/Rust-Collection/blob/main/LICENSE) [![github/issues_open](https://img.shields.io/github/issues/NapoII/Rust-Collection?style=plastic)](https://img.shields.io/github/issues-raw/NapoII/Rust-Collection) [![github/stars](https://img.shields.io/github/stars/NapoII/Rust-Collection?style=social)](https://github.com/NapoII/Rust-Collection/stargazers) [![discord](https://img.shields.io/discord/1152254593850417234)](https://discord.gg/fSTfQ6mJtA)


Expand Down
3 changes: 2 additions & 1 deletion Rust_Collection/cctv_and_pager/cctv_and_pager.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@

<h2>CCTV Codes</h2>

<button class="accordion">Oilrig</button>
<button class="accordion">Large Oilrig</button>
<div class="panel">
<p class="item" data-sound="klick.wav" data-image="img/OILRIG2DOCK.jpeg">OILRIG2DOCK</p>
<p class="item" data-sound="klick.wav" data-image="img/OILRIG2HELI.jpeg">OILRIG2HELI</p>
<p class="item" data-sound="klick.wav" data-image="img/OILRIG2EXHAUST.jpeg">OILRIG2EXHAUST</p>
<p class="item" data-sound="klick.wav" data-image="img/OILRIG2L2.jpeg">OILRIG2L2</p>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<h2 class="sticky-title"> Events</h2>


<div class="card" onclick="openLink('https://rustserverfilter.com/')">
<div class="card" onclick="openLink('https://just-wiped.net/', 'https://rustserverfilter.com/')">

<div class="background-image" style="background-image: url('img/nuke.webp');"></div>
<video autoplay loop muted class="background-video" id="video">
Expand Down
21 changes: 7 additions & 14 deletions js/openLink.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
// https://github.com/NapoII/Rust-Collection


/**
* Opens a URL in a new browser window or tab.
*
* @param {string} url - The URL to be opened.
*/
function openLink(url) {
// The window.open() function is used to open a URL in a new window or tab.
// The '_blank' parameter specifies that the URL should be opened in a new tab.
// The provided URL is passed as the first argument to the window.open() function.
window.open(url, '_blank');
}
function openLink(...links) {
links.forEach(link => {
setTimeout(() => {
window.open(link, '_blank');
}, 0);
});
}

0 comments on commit 32883fd

Please sign in to comment.