Have been working on a PHP, JQuery, smarty, slide show!
It’s a PHP class, that is called, has methods to set parameters, loads images via a XML file. Processes it all, throws it through smarty, and returns you the XHTML.
That’s it in a nutshell, will throw a step by step blog guide together some time soon.
Well this is going to take a little longer, but have made a start on the scenery. The base is polystyrene, that is built up in layers and the edges broken to give texture, and stuck together using ‘no more nails’. Once this has been moulded it will be covered in ‘grout’, and then sealed.


Resources:
Making polystyrene fake rocks: http://www.lizard-landscapes.com/
I now have stage 1 of the vivarium out of the way! It’s been varnished, after looking around the internet Ronseal Floor Varnish was the winner for this job. Sorry that there are no pictures of the making of the vivarium. But this was about 4 years ago, and the redesign can around the the unfortunate and untimely death of it previous resident 


Next step is the scenery, this will be made from polystyrene, grout, and sealed with the floor varnish. More about this later…
Here is a little jQuery script to show/hide the next table row.
Here is the html:
<table> <thead> <tr> <th>More</th> <th>Name</th> <th>Date</th> <th>Extra</th> </thead> <tbody> <tr> <td class="button"><img src="min.jpg" alt="" /></td> <td>Name 1</td> <td>Date 1</td> <td>Extra 1</td> </tr> <tr> <td colspan="4">Some content for Name 1</td> </tr> <tr> <td class="button"><img src="min.jpg" alt="" /></td> <td>Name 2</td> <td>Date 2</td> <td>Extra 2</td> </tr> <tr> <td colspan="4">Some content for Name 2</td> </tr> <tr> <td class="button"><img src="min.jpg" alt="" /></td> <td>Name 3</td> <td>Date 3</td> <td>Extra 3</td> </tr> <tr> <td colspan="4">Some content for Name 3</td> </tr> </tbody></table>
The jQuery Javascript:
$(function () {
$('.button').each(function () {
var info = $(this).parent().next();
var button = $('img', this);
info.toggle();
button.click(function () {
button.attr("src", button.attr("src") == "min.jpg" ? "max.jpg" : "min.jpg");
info.toggle();
});
});
});
Xfm are giving away tickect to see Coldplays front man Chris Martin play a gig for 30 people! Only got till 28th Jan, see here: http://www.xfm.co.uk/news/competitions/win-tickets-to-xfms-exclusive-chris-martin-gig.
These guys have some intresting stuff! They have two goals of sort, to enable people to find out about/enguage in civic/community activities, and to show other how they can use the internet to improve lives.
Their most recent envolvment was about the MP’s vote on conceling their expensis! Here is Tom’s blog on it (Blimey it looks like the internets won), and the facebook group with over 8,000 members (WE WIN! I object to MPs concealing their expenses).
Here is a list of their projects:
- TheyWorkForYou
- No 10 Petitions Website
- FixMyStreet
- PledgeBank
- WhatDoTheyKnow
- Travel maps
- WriteToThem
- HearFromYourMP
- GroupsNearYou
You can check them out here: http://www.mysociety.org/, and here is their blog: http://www.mysociety.org/blog/
Ever wanted to have curved corners on you boxes that re-size with the content, with out using images and works in most browsers. Well you can, using some CSS and Java Script! http://www.html.it/articoli/niftycube/index.html.
There is the ‘-moz-outline-radius: <outline-radius>{1,4} | inherit ;‘ style that will give you rounded corners in Firefox and leave them square in other browsers. This technique is similar, in that if the users browser does not support or has Java Script turned off the boxes will remain with square corners. This is ‘graceful
degradation’.
There were a few changes that I have made for it to work for my particular needs. Firstly, this uses the <b> tag, but to avoid any inheritance issues I changed this to use the <span> tag, and secondly I had to add the following into the CSS file, ‘vertical-align: bottom’. This was due to the fact that ‘vertical-align: top’ was inherited, which broke the lay out in Internet explorer!
Does not support borders, but got some ideas on that one! so watch this space…
The British ream the set the land speed record in 1997 are looking to raise the bar, and set a new one in 2011 of 1000mph! This time the car will not only have a jet engine, but also a rocket.
Could this be a new addition to the group of man eating animals? This particular species is called the Goonch, is a catfish that lives in the river Kali. It is reckoned that the fish has grown larger than normal size, due to the fact that it eats the remains thrown into the river after funerals.
It started in 1988 when a 17 year old was dragged under, and later that year a young boy. The latest person to disappear was an 18 year old in 2007, and there has also been reports of buffalo being attacked!
British biologist Jeremy Wade has studied the fish, and caught one that was 1.83 meters long, and weighed in at 73kg! He reckoned that this was only the tip of what was to be found.
This is wrong! If it can fire 1 million rounds a minute where would you store all the rounds?
