Sequel countdown timer

Started by Eana Unil, June 17, 2018, 10:26:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Eana Unil

It may be just a little gimmick, but since we're all so desperately waiting for the sequels, I thought (inspired by Ertew mentioning a countdown timer for the sequel) a little countdown timer on the forums or main page of LN.org could be a fun thing. Since we know Avatar 2 will hit theaters on Dec 18th 2020 and it's more or less (slowly but steadily) coming/crawling within reach... ^^

Toliman

Nice idea! ;D :)

Sunu oeru! Oel new pumit fìtsenge XD

Ertew

#2
Here are my banner:
http://ertew.000webhostapp.com/banner/
https://ertew.000webhostapp.com/banner/
http://ertew.000webhostapp.com/banner/image.php
https://ertew.000webhostapp.com/banner/image.php

or (if forum allows me to put second link into img tag):


Todo: font, background, ssl, better link. But feel free to use second link in img tag anywhere.
Any errors in spelling, tact or fact are transmission errors.

Hi! I'm a signature virus. Copy me into your signature to help me spread.

Toliman

Oh, nice  :)

Thanks for making!

Toruk Makto


Lì'fyari leNa'vi 'Rrtamì, vay set 'almong a fra'u zera'u ta ngrrpongu
Na'vi Dictionary: http://files.learnnavi.org/dicts/NaviDictionary.pdf

Tìtstewan

Nice!

Should I add that banner somewhere on this forum?

-| Na'vi Vocab + Audio | Na'viteri as one HTML file | FAQ | Useful Links for Beginners |-
-| Kem si fu kem rä'ä si, ke lu tìfmi. |-

Eana Unil


Blue Elf

Quote from: Eana Unil on July 01, 2018, 05:22:11 AM
I've had something more like that in mind:

https://www.w3schools.com/howto/howto_js_countdown.asp

:D
Problem is, that in different parts of world premiere will begin at different times, so showing simply days looks more accurate.
Oe lu skxawng skxakep. Slä oe nerume mi.
"Oe tasyätxaw ulte koren za'u oehu" (Limonádový Joe)


Toliman

Quote from: Tìtstewan on June 30, 2018, 08:34:42 PM
Should I add that banner somewhere on this forum?
It would be good :)

I agree with Blue Elf that showing simply days looks more accurate.

Ertew

My dynamic image wasn't designed to be placed on a forum. You can use it but simple text counter (JS or PHP) will be much better than image. Question is: static text or real countdown clock with seconds, flashing dots, etc.?
IMHO simple PHP script will do the business for 1 or 2 years, then we may like to switch to animated js version. Here are my PHP solution:

$date = date_create('2020-12-18 12:00');
$days = (date_timestamp_get($date)-time())/60/60/24;
$text = date_format($date, 'Y-m-d');
echo('Cameron scheduled Avatar 2 on: '.$text.'<br />We have to wait '.round($days). ' days for premiere.');
Any errors in spelling, tact or fact are transmission errors.

Hi! I'm a signature virus. Copy me into your signature to help me spread.

Lynxcat

I love that idea! We should definitely try to get the countdown on this forum; it would be a great touch!  :)   
Uniltirantokx fmawn! :) :ikran: http://avatarsequels.com/


Tìtstewan

I have a js script for it. I just thinking about where to place it. :)

-| Na'vi Vocab + Audio | Na'viteri as one HTML file | FAQ | Useful Links for Beginners |-
-| Kem si fu kem rä'ä si, ke lu tìfmi. |-

Eana Unil

Yay! (it currently still says releaded, should be released, no? :P)

This is awesome! Irayo ;D

Lynxcat

Quote from: Tìtstewan on July 22, 2018, 07:06:51 PM
I have a js script for it. I just thinking about where to place it. :)
Txantsan! Irayo nìxtan ma Tìtstewan!  :)
Uniltirantokx fmawn! :) :ikran: http://avatarsequels.com/


Tìtstewan

#14
LOL, typo fixed!

I'm going to add it to all other themes. --edit: done


I'm glad you like it! :D

-| Na'vi Vocab + Audio | Na'viteri as one HTML file | FAQ | Useful Links for Beginners |-
-| Kem si fu kem rä'ä si, ke lu tìfmi. |-

Toliman

Quote from: Lynxcat on July 22, 2018, 07:28:32 PM
Quote from: Tìtstewan on July 22, 2018, 07:06:51 PM
I have a js script for it. I just thinking about where to place it. :)
Txantsan! Irayo nìxtan ma Tìtstewan!  :)
Srane, txantsan ulte irayo :) :)

archaic

Pasha, an Avatar story, my most recent fanfic, Avatar related, now complete.

The Dragon Affair my last fanfic, non Avatar related.

Tìtstewan

Just for those who are interested:
Code (javascript) Select
var curday = new Date("Dec 18, 2020 01:00:00").getTime();
var now = new Date().getTime();
var distance = curday - now;
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
if (distance < 0) {
document.getElementById("avatar2time").innerHTML = "Avatar 2 has been released! Wooo!";
}
else {
document.getElementById("avatar2time").innerHTML = days + " days until Avatar 2 will be released!";
}

this is the code that's calculating the days. :)

-| Na'vi Vocab + Audio | Na'viteri as one HTML file | FAQ | Useful Links for Beginners |-
-| Kem si fu kem rä'ä si, ke lu tìfmi. |-

Ertew

Irayo. Now it's time to cross fingers or pray to Eywa for no more delays.
Any errors in spelling, tact or fact are transmission errors.

Hi! I'm a signature virus. Copy me into your signature to help me spread.

Blue Elf

Current Avatar 2 countdown counter in the header of forum reached its final value zero. Time to change counter for Avatar 3  ;D  ;D  ;Dcounter.PNG
Oe lu skxawng skxakep. Slä oe nerume mi.
"Oe tasyätxaw ulte koren za'u oehu" (Limonádový Joe)