Introduction
So the last tutorial showed some cool looking modifications to a web page with not too much code behind to achieve it. You're probably asking yourself: Tidwell's annoyance of bards seems to exist (yep!), any other cheese he could potentially code about for an advanced tutorial? Yeppers, let's take the way back machine to the 80's where my first introduction to Dungeons and Dragons was in the animated form via Saturday morning cartoons. Lets see if I can make some cheesy images from the "players" in the series somewhat palatable to view in a webpage.Let the coding begin!
First lets create a webpage. Nothing too fancy, here's something I "borrowed" from the interwebz (code downloadable in link at the bottom of the tutorial):Now we need some css to make it work. The first code sampling is a small css file we'll call layout.css to handle the general layout of the website:
and also a file we'll call slideshow.css to handle the transition from one jpg file to another:
The result looks like this in a web browser:
Wowsers! Very little HTML, whole lotta love (for DnD the animated series anyways). Even more powerful stuff for very little code behind!
Source:
http://www.script-tutorials.com/how-to-create-a-pure-css3-slideshow/
Image Source:
http://img4.wikia.nocookie.net/__cb20100224154850/dungeonsanddragonscartoon/images/a/ac/Diana.jpg
http://img1.wikia.nocookie.net/__cb20100224155117/dungeonsanddragonscartoon/images/1/10/Sheila.jpg
http://img2.wikia.nocookie.net/__cb20100224155256/dungeonsanddragonscartoon/images/1/10/Ericavalier.jpg
http://img4.wikia.nocookie.net/__cb20100224155632/dungeonsanddragonscartoon/images/0/07/MAGICIAN.jpg
http://img4.wikia.nocookie.net/__cb20100224155712/dungeonsanddragonscartoon/images/a/af/Barbarian1.jpg
http://img1.wikia.nocookie.net/__cb20100224154119/dungeonsanddragonscartoon/images/2/2a/Hank.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8iVf9HhZIr-Nv-KjWaPte6MpeT9spJe0c21pFBZJYRszvLgC07Ar3hBCI07AoiydBJe17cRYb4pgR3Z7VcDCQG4EEyehn-vYzyPtk92Jn-aAZcLmo15ROpOskVsYFTHz4y8kwSW7TvqOn/s1600/25th.jpg
No comments:
Post a Comment