Leap Second Game Primer Tutorial

Leap Second Game Primer Tutorial

Leap Second Game Primer Tutorial

Maybe we owe you an apology today if you’ve come here looking for high tech information about the Leap Second, but our cheeky blog post title today is a “play on words” regarding this most momentous event, while not being anything to do with it exactly … we use “leap” as in “long jump” … and the “second” as in “not go first” (the computer does) … chortle, chortle.

That’s not to say we are not interested in high tech information about the Leap Second so we’ll digress and send you off to some information here, and just leave you with the interesting point for some computer applications out there that rely on the tightest synchronicity … the issue is not trivial in the sense that computer systems have always been designed with the view that the “second” part of our datetime system is pretty sacrosanct, and it is not a great idea to be having to add or subtract any “seconds” willy nilly at the drop of a hat. Am sure we’ll all get through the issue, though, just as the year 2000 turned out to be a bit of a “fizzer” of an issue back then. Lots of thought is going into redistribution of tiny parts of the second gradually over time, I’ve heard.

Anyway, back with today, do you remember when, at this blog, we learnt how to lob onto a position on a YouTube “/watch?v=” scenario when we presented HTML/Javascript Reveal Image Behind Image Primer Tutorial as shown below? Today we use this methodology again, and discovered along the way that to use “/watch?v=” is fine with it (which is, for example, #t=00m56s, for “jump to 00:56 into video”), but not so okay with “/embed/” sadly. Started on the “/embed/” approach (for an embedded YouTube video within an iframe) but found, instead that we should use “/watch?v=” teamed with Javascript “var mywo=window.open()” (popup) as a method to work what we wanted to do … and what is it we want to do? We want you to play the computer to guess from an image snapshot of somebody long jumping whether they are going to jump longer than the computer guess (which is free of bias, of course, just like a blackjack croupier).

So then we come to the issue of how to stop the YouTube video, so that not too much is given away … well … “var mywo=window.open()” can be teamed with “mywo.close()” to close the YouTube video … which just leaves timing … well, we hide things in the HTML title parameter to help and leave 3 seconds “slack” for YouTube loading time (via the wonderful Javascript setTimeout() timer method), but you may want to be less crude with this, as we think we’ve seen in the past that an iframe onload event can be used for more synchronicity here … will leave that one for you!

So please try a live run and/or peruse the HTML and Javascript source code you could call leap_second.html … you’ll be amazed by the contest!

How wuuuuuuuuddde?! Forgot to point you in the direction of a great webpage used for advice here (thanks).


Previous relevant HTML/Javascript Reveal Image Behind Image Primer Tutorial is shown below.

HTML/Javascript Reveal Image Behind Image Primer Tutorial

HTML/Javascript Reveal Image Behind Image Primer Tutorial

Continuing on with our discussion regarding HTML, Javascript and CSS on the theme of “reveal”, today we reveal an image behind another, increasing its size over time, and all triggered when the user clicks a link, following on from the previous HTML/Javascript/CSS Reveal Information Primer Tutorial as shown below.

Here is a tutorial that “reveals” that image behind a keyhole image using HTML, Javascript and CSS, featuring:

  • Encasing working visible HTML elements within div element for ease of:
    1. positioning
    2. scrolling, or not
    3. visibility control
  • z-index
  • position:absolute
  • Simple masking image keyhole.png which would only require an image editor to the sophistication of PaintBrush to create
  • Javascript DOM methods to dynamically change HTML, particularly with respect to visibility, and size and positioning

So here is a tutorial about Images “revealed” behind others, and here is the HTML programming source code you could call reveal_keyhole.html for the theme of an image behind a keyhole … huh?! If you try this game you may discover its inspiration.

Content-wise, how could there be thanks enough to the “masters”, but have you ever read Giorgio Vasari‘s book Lives of the Most Excellent Painters, Sculptors, and Architects ? … and we’ll include some links (or inactive link prefixes) below … thank you, terima kasih, gracias, merci, θ°’θ°’, danke, спасибо, ΰ€§ΰ€¨ΰ₯ΰ€―ΰ€΅ΰ€Ύΰ€¦, grazie, ΰΈ‚ΰΈ­ΰΈ‚ΰΈ­ΰΈšΰΈ„ΰΈΈΰΈ“, cαΊ£m Ζ‘n bαΊ‘n, Ψ’ΩΎ Ϊ©Ψ§ شکریہ, γ‚γ‚ŠγŒγ¨γ†, teşekkΓΌr ederim, dankon, obrigado, dankie,Ψ΄ΩƒΨ±Ψ§, σας Ξ΅Ο…Ο‡Ξ±ΟΞΉΟƒΟ„ΟŽ, κ°μ‚¬ν•©λ‹ˆλ‹€, asante:

Hope you have a go at today’s “reveal” game.


Previous relevant HTML/Javascript/CSS Reveal Information Primer Tutorial is shown below.

HTML/Javascript/CSS Reveal Information Primer Tutorial ... thanks to Training Industry ( //www.trainingindustry.com/ ) for the image, within an image

HTML/Javascript/CSS Reveal Information Primer Tutorial ... thanks to Training Industry ( //www.trainingindustry.com/ ) for the image, within an image

Welcome to the continuing discussion regarding HTML, Javascript and CSS on the theme of “reveal”. We’ll be doing several postings on this theme, and today we continue these ideas with the revealing of information in the (simple) form of a hidden div element only revealed when the user clicks a link, following on from the previous HTML/Javascript/CSS Reveal Top to Bottom Primer Tutorial as shown below.

Here is a tutorial that “reveals” wording, or information regarding a puzzle using HTML, Javascript and CSS, featuring:

  • Encasing working visible HTML elements within div element for ease of:
    1. positioning
    2. scrolling, or not
    3. visibility control
  • Javascript DOM methods to dynamically change HTML, particularly with respect to visibility
  • Javascript prompt windows to receive, analyze and act on user interaction
  • HTML/CSS body element that it is Clickable via a div supervising a “background” a tag (but this is not popular with the search engines)

So here is a tutorial about Curry’s Paradox, and here is the HTML programming source code you could call revealing.html which called on the content of this tutorial. Today there will be no links below regarding getting to other links regarding Curry’s Paradox (ie. the content), but this is available via the live run link (as above, also) (except that to say the inspiration came from an answer on the BBC quiz show QI) … don’t want to give away any surprises before they surprise!


Previous relevant HTML/Javascript/CSS Reveal Top to Bottom Primer Tutorial is shown below.

HTML/Javascript/CSS Reveal Top to Bottom Primer Tutorial

HTML/Javascript/CSS Reveal Top to Bottom Primer Tutorial

Welcome to a new discussion regarding HTML, Javascript and CSS on the theme of “reveal”. We’ll be doing several postings on this theme, and today we have the first.

Do you often wish to make webpages that hide things until the user interacts with the webpage or some time period has expired, so that there is some sort of element of surprise?

No?

Do you sometimes wish to make webpages that hide things until the user interacts with the webpage or some time period has expired, so that there is some sort of element of surprise?

Still no, huh? (Aside: two can play this little game)

Do you occasionally wish to make webpages that hide things until the user interacts with the webpage or some time period has expired, so that there is some sort of element of surprise … OR …
will allow those who have never had this thought in their life on Earth?

No again, huh? (Aside: two planets can play this puerile little game!)

Do you ever wish to make webpages that hide things until the user interacts with the webpage or some time period has expired, so that there is some sort of element of surprise … OR …
will allow those who have never had this thought in their life on Earth, nor Mars?

Non? Nicht? Good nicht! (chortle, chortle)

Well, that’s fixed their little red wagon.

Here is a tutorial that “reveals” a surprise from top to bottom using HTML, Javascript and CSS, featuring:

  • CSS overflow: hidden; style property
  • Encasing working visible HTML elements within div element for ease of:
    1. positioning
    2. scrolling, or not
    3. visibility control
  • Javascript setInterval and clearInterval timer functionality
  • Javascript DOM methods to dynamically change HTML (over time)
  • HTML/CSS body element background URL (with fallback background colour) and the Javascript control of its fallback to just the background colour

So here is today’s tutorial’s live run, and here is the HTML programming source code you could call reveal_fromtoptobottom.html which called on the content of this tutorial.

Chow for now, brown cow (she’s always on(line), you know … but is anything sinking in?! … I haven’t been able to moo respectfully in public after 63.5 lessons?! … she still owes me that half lesson when she didn’t get up in time for milking).

If this was interesting you may be interested in this too.


If this was interesting you may be interested in this too.


If this was interesting you may be interested in this too.


If this was interesting you may be interested in this too.

This entry was posted in eLearning, Games, Tutorials and tagged , , , , , , , , , , , , . Bookmark the permalink.

9 Responses to Leap Second Game Primer Tutorial

  1. Hey there I am so glad I found your website, I really found you by mistake, while I was browsing on Yahoo for something else, Regardless I am here now and would just like to say thanks a lot for a marvelous post and a all round thrilling blog (I also love the theme/design), I don’t have time to go through it all at the minute but I have book-marked it and also added in your RSS feeds, so when I have time I will be back to read much more, Please do keep up the fantastic work.|

  2. desgraça says:

    Greetings! This really is my initial comment here so I just wanted to give a quick shout out and let you know I genuinely enjoy reading via your blog posts. Can you recommend any other blogs/websites/forums that deal with exactly the same topics? Thank you so a lot!

  3. Um, think about adding pictures or a lot more spacing to your weblog entries to break up their chunky look.

  4. Malena Pigao says:

    All of the major broadcast networks now provide a great selection of some of your favorite tv shows for you to watch online and most of them are available to be streamed onto your computer by the time you wake up the morning after its network broadcast. Want to know if Jack Bauer managed to save Los Angeles again last night? Now you can watch him in action at Fox’s website. Wondering if they’ve given us any more answers about the island’s mysterious secrets on Lost? Surf on over to ABC.com. Need to know if Gil Grissom has caught the miniature killer yet? The answers are waiting for you at CBS.com. Will the Heroes keep New York from blowing up? Catch the latest episode online at NBC!

  5. I do not even know the way I stopped up appropriate here, even so I thought this put up was excellent. I donÒ€ℒt understand who you are but undoubtedly you are going to a famous blogger when you might be not already Cheers!

  6. I’m crazy about this blog. I have visit so many time to this weblog. I’ve identified this weblog from Google. I have received a bunch of info. I truly appreciate to meet to it and i emphasize to this blog. My curiosity to learn far more and much more on this weblog.

  7. Dino Stow says:

    I conceive you have remarked some very interesting points , thanks for the post.

  8. You have remarked very interesting points! ps decent web site.

  9. Great – I should definitely pronounce, impressed with your website. I had no trouble navigating through all the tabs as well as related info ended up being truly easy to do to access. I recently found what I hoped for before you know it at all. Reasonably unusual. Is likely to appreciate it for those who add forums or anything, site theme . a tones way for your customer to communicate. Nice task.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>