Jump to content

Kyle01

Members
  • Posts

    3
  • Joined

  • Last visited

Kyle01's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Perfect Dave the script works just fine learnt my lesson too Foxy there's no shortcuts in trying to create my own haha but it did help me understand where I was going wrong too much appreciated thank you guys ^^ (Needs an awesome signature here still) Kyle.
  2. Ah I seem Foxy that clears things up a little for me thank you I'll give it a go and see how it works! I'll implement that in now Dave and see if that successfully works instead Bare with this newbie
  3. Firstly, hello community I'm rather new here and in my very early stages of script writing so you'll have to bare with me if I make rookie mistakes I'm having an issue with a html site where i've inserted a Javascript. I've uploaded the script via my google drive and was written on notepad. Now my issue is, the script should display a rotation on the website. It's for a gaming community offsite so let me explain a little about the phrases before posting how the script looks There's 3 variables, one called 'vorago' one called 'Araxxor' and one called 'ROTS' these are simply nicknames related to the game. Now the script should display under these names, a current rotation and the next rotation it switches to. 'Vorago' has a rotational switch once a week on a wednesday which I have input in to the script. 'Araxxor' is every 3 days and the 'ROTS' is a bit more complicated as it has daily rotational switches as you'll see in the script. I'm pretty sure I've written the script correctly, just that it's been implemented wrongly. Here is my script: https://drive.google.com/open?id=0B3v3ith_ymXPTkx2N3VreWxwbG8 I have put the document in to my website as the following but it does not rotate as it should on UTC timezone reset (00:00): <script type='text/javascript' src='https://drive.google.com/open?id=0B3v3ith_ymXPTkx2N3VreWxwbG8'></script> <ul><l><span class="title" id="cc1"><center>Vorago Rotation: Purple Bomb<br> Next rotation: Rocks</span><l><br> <gr2><span class="title" id="cc2">Araxxor Current Path: Path 1 & 2<br>Path 2 & 3 open after 2 resets</span></gr2><br> <prpl><span class="title" id="cc3"><right>ROTS Rotation: KDV-ATG<br> Tomorrow:DTV-KAG</span></prpl></ul> </td> Note, <l>, <prpl> and <gr2> are just relating to colours used for each variable I'm still a rookie, so I know I've messed up somewhere and it's probably obvious but please if anyone could help me correct (and explain) where I've made some error(s) it would be highly appreciated, Kyle.
×
×
  • Create New...