HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URL's added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by Skypack, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ES6 import
usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<div id="naslov"> <h3> Clash Royale </h3> </div>
<div id="navigacija">
<table>
<tr>
<td> <a href="#oclashroyalu"> O Clash Royalu </a></td>
<td> <a href="#oarenama"> Arene </a></td>
<td><a href="#viseoclashroyalu"> Vise o Clash Royalu </a></td>
<td><a href="#novekartice"> Nove Kartice </a></td>
<td><a href="#galerija"> Galerija kartica </a> </td>
</tr>
</table>
</b></div>
<hr>
<div id="oclashroyalu">
<div id="slikaclashroyala">
<img src="https://clashroyale.com/uploaded-images/CR_facebook_share_02.jpg?mtime=20160104014218"
width="40%" height="60%"
alt="slikaclashroyala">
</div>
<div id="tekstocleshroyalu">
<b>O Clash Royalu</b>: Kleš Rojal (engl. Clash Royale, poznat i kao CR) je MMO (Masivno Onlajn Višeigračka) video-igra koju je za određene zemlje objavio Supercell 4. januara 2016. godine,a globalno u martu 2016. Neki ljudi govore da je ovo drugi deo Clash Of Clansa iako Supercell to negira. Cilj ove igre je da napravite vaš sopstveni "dek" — neka vrsta skupa od osam karata sa kojim se borite protiv dekova drugih igrača. Da bi imali više kartica, morate ili da ih kupite parama ili da ih dobijete iz kovčega. Da bi vam kartice bile jače, morate imati određen broj istih i onda ih unapredite parama. Kartice (koje nisu nove) možete da zatražite od drugova iz klana, možete da kupite ili da ih dobijete iz kovčega.
</div>
<br></br>
<iframe width="560" height="315" src="https://www.youtube.com/embed/k6uBey34F88" frameborder="0" allowfullscreen ></iframe>
<hr/>
<div id="arene">
<div id="slikaarena">
<img src="https://1.bp.blogspot.com/-ZKIOJQkYyYw/WN1_unkRw5I/AAAAAAAAyvE/OTyORDSJbvU2XuwotBzILnkq_HTA9xOfwCLcB/s1600/arenas-clash-royale-todas-arenas-cartas.jpg" width="50%" height="70%" alt="slikaarena">
</div>
<div id="oarenama">
<b> Arene </b>: Arene su mesta na kojima se borite protiv protivnika. Što je veća arena, teže je pobediti. U igrici postoji 12 arena, i 9 liga. Sve lige igraju se u areni 11.
Sledi tabela areni i liga :
Broj (arene/lige) ime Potrebni trofeji
Trenerov kamp Trenerov kamp početnici ovde igraju:
<ol>
<li>
Arena 1 Stadion goblina 0-400 trofeja;
<li>Arena 2 Rupa kostiju 400-800 trofeja;
<li>Arena 3 Varvarova činija 800-1100 trofeja;
<li>Arena 4 P.E.K.K.A-ino igralište 1100-1400 trofeja;
<li>Arena 5 Dolina čini 1400-1700 trofeja;
<li>Arena 6 Graditeljeva radionica 1700-2000 trofeja;
<li>Arena 7 Kraljevska arena 2000-2300 trofeja;
<li>Arena 8 Ledeni vrh 2300-2600 trofeja;
<li>Arena 9 Arena u džungli 2600-3000 trofeja;
<li>Arena 10 Planina divljih svinja 3000-3800 trofeja;
<li>Arena 11 Legendarna arena 3800+ trofeja;
<li>Liga 1 Izazivač 1 4000-4300 trofeja;
<li>Liga 2 Izazivač 2 4300-4600 trofeja;
<li>Liga 3 Izazivač 3 4600-4900 trofeja;
<li>Liga 4 Ekspert 1 4900-5200 trofeja;
<li>Liga 5 Ekspert 2 5200-5500 trofeja;
<li>Liga 6 Ekspert 3 5500-5800 trofeja;
<li>Liga 7 Šampion 5800-6100 trofeja;
<li>Liga 8 Iskusni šampion 6100-6400 trofeja;
<li>Liga 9 Izuzetni šampion 6400+ trofeja.
</ol>
</div>
</div>
<hr>
<div id="viseoclashroyalu">
<div id="naslovzaviseocr"> <h3> Vise o Clash Royalu </h3>
<div id="navigacijadva">
<table>
<tr>
<td> <a href="#nivoi"> Nivoi </a></td>
<td> <a href="#klanskicest"> Klanski Čest </a></td>
<td> <a href="#borbe"> Borbe </a></td>
</tr>
</table>
</div>
</div>
<hr>
<div id="nivoi">
<div id="nivoitekst">
<b> Nivoi </b>: U igrici ukupno postoji 13 nivoa, a svako počinje od nivoa 1. Da biste prelazili na veće nivoe, potrebno je ili da donirate karte vašim drugovima iz klana, ili da unapređujete vaše karte.
Na nekim nivoima otključavaju se korisne funckije.
Sledi lista funkcija : <br>
Nivo 1 - Klanovi. Sada možete ući u klan ili napraviti isti za 1000 golda (zlatnika)<br>
Nivo 3 - Doniranje. Sada možete donirati kartice drugima, i tražiti iste<br>
Nivo 4 - Promena imena. Ukoliko ste slučajno prilikom pravljenja profila napravili grešku u kucanju imena, ili vam se ime ne sviđa, sada možete da ga promenite<br>
Nivo 8 - Turniri i izazovi. Sada, kad god hoćete, možete ući u lak ili težak izazov, s obzirom da lak košta 10 gemova a težak 100, ali zato se iz teškog dobijaju bolje nagrade. Takođe možete besplatno ući u neki turnir, ali u besplatnim turnirima nagrade su male, i turniri se brzo napune.
</div>
</div>
<hr>
<div id="klanskicest">
<div id="oklanskomcestu">
<b> Klan Čest </b>: Igrajte kao klan kako biste sakupili što više delova za vaš klanski čest. Svaki klanski čest ima 10 delova. Svaki put kada se osvoji novi deo, nagrade iz česta su veće, sve dok ne stignu do poslednjeg dela, kada se otvara čest. Ako se ne stigne do desetog dela pre nego što više ne bude moguće sakupljati krune za čest, dobija se nagrada za broj delova koje je vaš klan skupio. Ukoliko imate čest na nivou 5 ili više, jedna retka (epik) karta vam je garantovana.
Postoje dva načina skupljanja kruna:
<ol>
<li>
<b> Običan </b>: Ovo je nekada bio jedini Klanski čest. Ovde se sakupljaju krune (u običnim borbama,izazovima i turnirima) da bi se dobijali delovi česta. Nemoguće je dobiti krune za klanski čest u prijateljskim borbama (neko iz klana protiv nekog drugog iz klana ili prijatelj sa fejsbuka protiv drugog) ,zato što bi se to moglo zloupotrebiti da se dobije više kruna;
<li><b> 2 na 2 </b>: Dvoje ljudi iz klana igraju protiv drugih dvoje iz drugih klanova. Ovaj čest bi se malo teže sakupljao da ljudi ne vole da igraju ovako. U ovom čestu se dobijaju delovi pobeđivanjem,a ne samo krunama u 2 na 2 borbama. Za čitav čest treba vam 220 pobeda. Kada se klanski čest popuni, i dalje je moguće igrati 2 na 2 borbe. </ol>
</div>
</div>
<hr>
<div id="borbe">
<div id="oborbama">
<b> Borbe </b>: Od 12.juna 2017. postoje dve vrste borbi :
<ol>
<li><b> Obična </b>: Ova borba traje maksimalno 240 sekundi, a svetski rekord za najkraću borbu ikada iznosi 9.91 sekund. U ovoj borbi pokušavate da bacanjem kartica uništite protivnikove sporedne kule i glavnu kulu pre nego što on uništi vaše. Ukoliko u roku od 180 sekundi ne uspete da mu uništite glavnu kulu, imate 60 sekundi da mu uništite bilo koju drugu kulu (osim u slučajevima kada je glavna kula jedina ostala). Ukoliko nakon 60 sekundi ne uspete da uništite neku od kula, onda ste izjednačili i ne gubite trofeje, ali zato ih ni ne dobijate;
<li><b> 2 na 2 </b>: 12. Јуна 2017. Године. Овај начин је постојао и пре, од почетка ове године, али само свака два викенда. По тренутним Supercell-овим плановима, сада би 2 на 2 борбе требале бити само овог лета. Арена у којој се одвија ова борба је мало другачија од обичне. Обе краљеве куле су замењене по једном дуплом. Ово се може играти са насумичним играчем, онлајн играчима из вашег клана, онлајн пријатељима са Фејсбука и пријатељима из Clash Royale-а. Иако за сваког играча постоји по једна главна кула, дупле главне куле немају заједничке живота него, имају онолико живота колико би требла да има главна кула на нивоу који је одређен тако што се узме ниво оба играча из тима, саберу се нивои и онда поделе са два, а ако се добије број који није цео онда се заокружи добијени број ( ако се добије 5.51 или више онда се заокружује на 6 ).</ol>
</div>
</div>
</div>
<hr>
<div id="novekartice">
<div id="onovimkarticama">
<b> Nove kartice </b>:<br>1. New Legendary Card: Mega Knight<br>
2. New Epic Card, Cannon Cart<br>
3. New Rare Card, Flying Machine<br>
4. New Common Card, Skeleton Barrel.
</div>
<div id="slikanovihkartica">
<img src="http://clashroyalearena.com/wp-content/uploads/2017/06/clash-royale-new-cards.jpg" width="40%" height="60%" alt="slikanovihkartica">
</div>
</div>
<hr>
<div id="galerija">
<div id="naslov"> <h3> Galerija </h3> </div>
<img src="http://clashroyale.wiki/wp-content/uploads/2016/03/Arena-Training-293x300.jpg" width="100%" height="1000px" id="slika">
<br>
<p id="dugmici">
<button id="pret" onclick="Prethodna()"> < </button>
<button id="sled" onclick="sledeca()"> > </button>
<button id="str" onclick="start()"> Start </button>
<button id="stp" onclick="stop()"> Stop </button>
</p>
</div>
#navigacija
{
height:50px;
width:80%;
margin-left:10%;
margin-right:10%;
background-color:rgb(360,360,150);
text-align:center;
markin-bottom:20px;
padding-top:10px;
}
#navigacija a
{
color:rgb( 0,,360);
text-decoration:none;
margin-right:12%;
martgin-top:20px
}
#navigacija a:hover
{
color:brown;
decoration:underline;
}
#navigacija table{
width:100%;
}
#navigacija th{
text-align:center;
text-align:center;
}
#navigacijadva
{
height:50px;
width:80%;
margin-left:10%;
margin-right:10%;
background-color:rgb(360,360,150);
text-align:center;
markin-bottom:20px;
padding-top:10px;
}
#navigacijadva a
{
color:rgb( 0,,360);
text-decoration:none;
margin-right:12%;
martgin-top:20px
}
#navigacijadva a:hover
{
color:brown;
decoration:underline;
}
#navigacijadva table{
width:100%;
}
#navigacijadva th{
text-align:center; text-align:center;
}
#slikaclashroyala{
text-align: center;
}
#slikaarena{
text-align: center;
}
#slikanovihkartica{
text-align: center;
}
#naslov{
font-style: oblique;
text-align: center ;
}
.dugmeslike{
width:20%;
}
#dugmici{
width:40%;
margin-left:25%;
text-align:center
}
#naslovzaviseocr{
text-align:center
}
var servis=new Array();
servis[0]="http://clashroyale.wiki/wp-content/uploads/2016/03/Arena-Training-293x300.jpg";
servis[1]="http://i1.2pcdn.com/node14/image/article/201601/28/20160128045731a0ebe31br9xixvxd.png";
servis[2]="http://vignette4.wikia.nocookie.net/clashroyale/images/8/82/Bomber_1.png/revision/latest?cb=20160104193538";
servis[3]="http://www.l3ored.com/img/apps/clash-royale/cards/level-6-archers-stats.png";
servis[4]="http://www.l3ored.com/img/apps/clash-royale/cards/level-6-knight-stats.png";
servis[5]="http://barbarianbowl.com/wp-content/uploads/2016/07/Fireball.png";
servis[6]="http://www.l3ored.com/img/apps/clash-royale/cards/level-4-mini-pekka-stats.png";
servis[7]="http://vignette2.wikia.nocookie.net/clashroyale/images/e/ee/MusketeerCard.png/revision/latest?cb=20160702201213";
servis[8]="https://www.withoutthesarcasm.com/wp-content/uploads/Clash-Royale-Deck-Giant.png";
servis[9]="http://www.clashadvisor.com/wp-content/uploads/2016/03/prince-clash-royale-details.png";
servis[10]="http://www.clashroyale-guide.com/wp-content/uploads/baby-dragon-clash-royale-profile-770x430.jpg";
servis[11]="http://vignette2.wikia.nocookie.net/clashroyale/images/d/da/Level_1_Skeleton_Army_FQ.png/revision/latest?cb=20170305043714";
servis[12]="http://pm1.narvii.com/6403/a412aa2279bd960351585e7cbb2095f4723280d0_hq.jpg";
servis[13]="http://clashroyaletactics.com/wp-content/uploads/2016/01/Goblin-Stadium-Arena-1.jpg?w=640";
servis[14]="http://images.148apps.com/2016/3/65918/266121/clash-royale-spear.jpg";
servis[15]="http://www.l3ored.com/img/apps/clash-royale/cards/level-6-goblins-stats.png";
servis[16]="https://4.bp.blogspot.com/-fL03H5hLmMk/VwxzjDKbDEI/AAAAAAAAAfo/Pt_lRv2fAhsiaPJ8QYQGGfWPXHtRZJ8owCLcB/s1600/IMG_20160410_211600_339.JPG";
servis[17]="http://i1.2pcdn.com/2016/www/2016/01/28/clashroyale/clash7.jpg";
servis[18]="https://2.bp.blogspot.com/-XQ_iQoFg-Rs/Vwx0U2rRbHI/AAAAAAAAAf4/SqFjDWQUxaEuxpfFX48WrO4CPwYDfgKbwCLcB/s200/IMG_20160410_211525_511.JPG";
servis[19]="http://img.2pcdn.com/2016/clashroyale//2016/04/04/20160404122200766.jpg";
servis[20]="http://clashroyaletactics.com/wp-content/uploads/2016/01/Bone-Pit_Arena-2.jpg"
servis[21]="http://www.l3ored.com/img/apps/clash-royale/cards/level-5-skeletons-stats.png";
servis[22]="http://www.l3ored.com/img/apps/clash-royale/cards/level-6-minions-stats.png";
servis[23]="http://i1.2pcdn.com/2016/www/2016/01/28/clashroyale/clash16.jpg";
servis[24]="http://vignette2.wikia.nocookie.net/clashroyale/images/f/f1/BombTowerCard.png/revision/latest?cb=20160702201025";
servis[25]="http://i1.2pcdn.com/node14/image/article/201601/31/20160131015033a0ebh8yuc8nt7jtm.jpg";
servis[26]="https://clashxp.com/wp-content/uploads/2017/04/Balloon-clash-royale.png";
servis[27]="http://clashroyaletactics.com/wp-content/uploads/2016/01/Barbarian-Bowl-Arena-3.jpg";
servis[28]="http://img.2pcdn.com/2016/clashroyale//2016/04/06/20160406195407493.jpg";
servis[29]="http://img.2pcdn.com/2016/clashroyale//2016/04/06/20160406195412383.jpg";
servis[30]="http://i1.2pcdn.com/node14/image/article/201601/31/20160131015833a0ebh96s8i7r5hom.jpg";
servis[31]="http://img.2pcdn.com/2016/clashroyale//2016/04/06/20160406195436293.jpg";
servis[32]="http://i1.2pcdn.com/node14/image/article/201601/31/20160131020418a0ebh9chxhz8cz2r.jpg";
servis[33]="http://i1.2pcdn.com/node14/image/article/201601/31/20160131021511a0ebh9nas5wr7kf9.jpg";
servis[34]="http://clashroyaletactics.com/wp-content/uploads/2016/01/Pekkas-PlayHouse-Arena-4.jpg";
servis[35]="https://pbs.twimg.com/media/Cb1z4wdW8AEVnQY.jpg";
servis[36]="http://www.l3ored.com/img/apps/clash-royale/cards/level-4-minion-horde-stats.png";
servis[37]="http://pm1.narvii.com/6390/8209818fba6fe2579c1ffb0c5b23166af009cc4b_hq.jpg";
servis[38]="http://www.moesport.com/wp-content/uploads/2016/05/IMG_3872.png";
servis[39]="http://i3.2pcdn.com/2016/www/2016/01/29/clashroyale/arena10.jpg";
servis[40]="http://www.l3ored.com/img/apps/clash-royale/cards/level-1-pekka-stats.png";
servis[41]="http://www.moesport.com/wp-content/uploads/2016/09/inferno-dragon-full.jpg";
servis[42]="https://www.touchtapplay.com/wp-content/uploads/2016/05/05-clash-royale-hound.jpg";
servis[43]="http://clashroyaletactics.com/wp-content/uploads/2016/01/spell-valley-arena.jpg";
servis[44]="http://barbarianbowl.com/wp-content/uploads/2016/07/Zap.png";
servis[45]="http://clashroyalearena.com/wp-content/uploads/2016/05/fire-spirits-clash-royale.jpg";
servis[46]="https://portalhoy.com/en/wp-content/uploads/2016/10/furnace.jpg";
servis[47]="http://clashroyaledeckbuilder.com/assets/cards/26.png";
servis[48]="http://www.moesport.com/wp-content/uploads/2016/02/Screen-Shot-2016-02-28-at-9.44.17-PM-238x300.png";
servis[49]="https://vignette1.wikia.nocookie.net/clashroyale/images/a/af/Level_8_Reverse_Mirror_FQ.png/revision/latest?cb=20161231170715";
servis[50]="http://www.moesport.com/wp-content/uploads/2016/10/IMG_4639.png";
servis[51]="http://www.moesport.com/wp-content/uploads/2016/10/IMG_4639.png";
servis[52]="http://www.clashroyale-guide.com/wp-content/uploads/2016-03-29-02-07-46-Ice_Wizard_Mediacraft-770x430.jpg";
servis[53]="https://i.ytimg.com/vi/0GNT7Ivud5c/hqdefault.jpg";
servis[54]="http://pm1.narvii.com/6389/17852cc32e41133d3566963aa2db3617051b5aaf_hq.jpg";
servis[55]="http://pm1.narvii.com/6390/f73f1e0be147652eec1bb7964a953ba74cdb75cd_hq.jpg";
servis[56]="http://clashroyalearena.com/wp-content/uploads/2016/12/battle-ram.jpg";
servis[57]="http://clash-royale-download.com/wp-content/uploads/2016/11/tornado-card-clash-royale.jpg";
servis[58]="http://images.148apps.com/2016/3/65933/266123/clash-royale-golem.jpg";
servis[59]="http://www.moesport.com/wp-content/uploads/2016/07/Screen-Shot-2016-07-02-at-4.41.10-PM-239x300.png";
servis[60]="https://www.touchtapplay.com/wp-content/uploads/2016/05/06-clash-royale-sparky.jpg";
servis[61]="https://www.touchtapplay.com/wp-content/uploads/2016/05/04-clash-royale-miner.jpg";
servis[62]="http://clashroyaletactics.com/wp-content/uploads/2016/03/royal-arena-7-clash-royale.jpg";
servis[63]="https://2.bp.blogspot.com/--J9mG2Te8tQ/WDcKPA7ViGI/AAAAAAAAAS8/PmMixatFjfEhNGiIHWfiyw1QXeGVcxQuQCLcB/s1600/Elite2.jpg";
servis[64]="http://clashroyalee.com/wp-content/uploads/2016/05/image-2-1024x1024.jpeg";
servis[66]="http://clashroyalearena.com/wp-content/uploads/2016/09/mega-minion-stat.png";
servis[67]="http://www.l3ored.com/img/apps/clash-royale/cards/level-5-three-musketeers-stats.png";
servis[68]="http://www.l3ored.com/img/apps/clash-royale/cards/level-3-dark-prince-stats.png";
servis[69]="https://www.clashroyale.gratis/wp-content/uploads/2016/08/03-clash-royale-guards.jpg";
servis[70]="http://scontent.cdninstagram.com/t51.2885-15/s480x480/e35/c0.100.800.800/15306787_1908516529381769_6474508755991003136_n.jpg?ig_cache_key=MTQwMjI5ODc4MjgyMDkzMzIwNQ%3D%3D.2.c";
servis[71]="http://clashroyalebase.com/wp-content/uploads/2017/01/FullSizeRender-6-243x300.jpg";
servis[72]="https://d32b8ciqbrecdn.cloudfront.net/G2G/supercell/arena9.png";
servis[73]="http://clashroyalearena.com/wp-content/uploads/2017/03/clash-royale-bats-information.png";
servis[74]="http://www.moesport.com/wp-content/uploads/2016/07/Screen-Shot-2016-07-02-at-10.41.56-AM-241x300.png";
servis[75]="http://clashroyalearena.com/wp-content/uploads/2016/09/ice-golem.jpg";
servis[76]="http://www.moesport.com/wp-content/uploads/2016/11/IMG_4814-300x274.png";
servis[77]="http://www.moesport.com/wp-content/uploads/2016/07/Screen-Shot-2016-07-02-at-10.42.06-AM-241x300.png";
servis[78]="http://clashroyalearena.com/wp-content/uploads/2017/03/clash-royale-witch-information.png";
servis[79]="http://www.moesport.com/wp-content/uploads/2016/07/Screen-Shot-2016-07-02-at-4.50.11-PM-238x300.png";
servis[80]="http://pre11.deviantart.net/fb08/th/pre/i/2017/013/4/f/arena_9_clash_royale_by_eli21perez-dav9yjz.jpg";
servis[81]="https://d2v0vsukaqbahf.cloudfront.net/wp-content/uploads/2017/03/goblinggang_statsNew.jpg";
servis[82]="http://www.moesport.com/wp-content/uploads/2016/12/Screen-Shot-2016-12-13-at-8.43.01-AM.png";
servis[83]="http://www.moesport.com/wp-content/uploads/2016/12/Screen-Shot-2016-12-13-at-8.43.13-AM-300x298.png";
servis[84]="http://www.moesport.com/wp-content/uploads/2017/03/Screen-Shot-2017-03-12-at-3.52.57-PM-273x300.png";
servis[85]="https://cdn-en.clashroyalepedia.com/uploads/image_item/image/7297/2016-05-12-01-25-23-Clash_Royale_Arena_8.png";
servis[86]="http://clashroyalearena.com/wp-content/uploads/2017/03/clahs-royale-heal-information.png";
servis[87]="http://clashroyalearena.com/wp-content/uploads/2017/06/clash-royale-new-cards.jpg"
servis[88]="http://clashroyalearena.com/wp-content/uploads/2017/06/skeleton-barrel.jpg"
servis[89]="http://clashroyalearena.com/wp-content/uploads/2017/06/flying-machine.jpg"
servis[90]="http://clashroyalearena.com/wp-content/uploads/2017/06/cannon-cart.jpg"
servis[91]="http://clashroyalearena.com/wp-content/uploads/2017/06/mega-knight-clash-royale.jpg"
servis[92]="https://www.clashroyale.gratis/wp-content/uploads/2016/04/clash-royale-silver-chest-1.png"
servis[93]="https://www.clashroyale.gratis/wp-content/uploads/2016/09/free-chests-1.png"
servis[94]="https://vignette3.wikia.nocookie.net/clashroyale/images/8/8b/GoldenChest.png/revision/latest?cb=20160209231105"
servis[95]="https://www.clashroyale.gratis/wp-content/uploads/2016/04/clash-royale-crown-chest-1.png"
servis[96]="https://vignette2.wikia.nocookie.net/clashroyale/images/1/1c/Clan_Chest_open.png/revision/latest?cb=20161215221707"
servis[97]="https://i.ytimg.com/vi/dDHVIgit938/maxresdefault.jpg"
servis[98]="https://i.ytimg.com/vi/QNWeeIkxpv4/maxresdefault.jpg"
servis[99]="http://takopost.com/wp-content/uploads/2016/09/Clash_Royale_Epic_Chest_Logo.jpg"
servis[100]="https://www.withoutthesarcasm.com/wp-content/uploads/Clash-Royale-Chest-Cycle-Super-Magical-Chest.png"
servis[101]="http://vignette2.wikia.nocookie.net/clashroyale/images/a/a1/LegendChest.png"
servis[102]="http://clashroyalearena.com/wp-content/uploads/2017/03/draft-chest.jpg"
servis[103]="http://clashroyalearena.com/wp-content/uploads/2016/06/clash-royale-tournament-chest.jpg"
servis[104]="https://i.ytimg.com/vi/KOgVbcV-4Mg/maxresdefault.jpg"
var ts=0;
function sledeca(){
if(ts==104){
ts=0;
}
else{
ts=ts+1;
//ts++; povecaj za jedan
}
document.getElementById("slika").src=servis[ts];
}
function Prethodna(){
if(ts==0){
ts=104;
}
else{
ts=ts-1;
//ts++; umanji za jedan
}
document.getElementById("slika").src=servis[ts];
}
var timer;
function start(){
document.getElementById("pret").disabled=true;
document.getElementById("sled").disabled=true;
document.getElementById("str").disabled=true;
if(ts<104){
ts++;
}
else{
ts=0;
}
document.getElementById("slika").src=servis[ts];
timer=setTimeout("start()",3000);
}
function stop(){
document.getElementById("pret").disabled=false;
document.getElementById("sled").disabled=false;
document.getElementById("str").disabled=false;
clearTimeout(timer);
}
$(".omdva").hide();
$(".omtri").hide();
$(".omjedan").click(
function(){
$(".omdva").slideToggle();
$(".omtri").slideToggle();
}
)
Also see: Tab Triggers