Collapsible Menu with jQuery

6th Mar 2010 23:44pm

To begin with we need to make a menu, which I've just done a quick temporary 5 items in mine using the HTML lists tags.

<menutitle>Main</menutitle>
<ul id="menu">
<li><a href="#">Item 1</a></li>
<li><a href="#">Item 2</a></li>
<li><a href="#">Item 3</a></li>
<li><a href="#">Item 4</a></li>
<li><a href="#">Item 5</a></li>
</ul>

Then in the header of your page, you will need to call your jQuery file.

<script type="text/javascript" src="jquery.js"></script>

Now beneath the line where you're calling your jQuery from, you will need to write some more JavaScript to tell the document to run the later bit of code when the document has loaded.

<script type="text/javascript">
$(document).ready(function(){

});
</script>

Now the document is ready for your jQuery code, we need to tell it that when the "title" bit of the menu (which we've tagged as <menutitle>) is clicked, it should slide it closed.

<script type="text/javascript">
$(document).ready(function(){
$("menutitle").click(function () {
$("#menu").slideToggle("slow");
});
});
</script>

The above code will toggle the sliding action of anything we've put id="menu" on, which is why we've put it on the <ul> bit. Now with everything put together and saved, you should have a menu that toggles closed and open when you press the top bit, which in my example is "Main"

Please Note
Please note though, that this is just an example of doing a menu that can open and close. You can use a cookie to saved if you've closed the menu so that when you refresh the page it stays closed or you can style the menu nicely with CSS. You can also use this method for anything if you wanted from showing and hiding an image, paragraphs, forms, buttons, flash applications, etc...

You can get hold of the latest copy of jQuery from the jQuery website.

Read and Leave a Comment 0 Comment(s) -:- Permalink
Tags: jquery, tutorial, menu, sliding


Atherstone Ball Game 2010

22nd Feb 2010 13:14pm

Shrove Tuesday in Atherstone saw another game of the yearly Atherstone Ball Game. Roughly 901 years old now, this game begins with large crowds gathering in the main street (Long St) and await the huge ball to be thrown out of Barclay's Bank window. Once it's thrown out the people in the street boot the ball up and down the street for about an hour and a half, then once that time is up the mayhem erupts and everyone goes for the ball to see who has it when the claxon goes at 5pm.

The game does involve violence, so if you're tempted to get the ball around 4.50pm then you more than likely will be punched, kicked or thrown everywhere... that's just how the game is. Anyways, this years winner was Mark Rollinson (I think I've spelt his name correctly).

» WikiPedia :: Atherstone Ball Game

Read and Leave a Comment 1 Comment(s) -:- Permalink
Tags: atherstone, ball game, shrove tuesday, pancake day

Galleries of Justice, Nottingham

21st Feb 2010 02:17am

Myself, my Mother and my Sister left for Nottingham on Saturday night (13th February 2010) for a night ghost hunting at Nottingham's Galleries of Justice. We left Atherstone around 5pm and got to Nottingham fairly quickly... however when we did arrive at Nottingham we had never seen a city centres travel routes so messed up! One way systems, tram lanes, confusing bus lanes, no entry signs and also the usual fecking "Diversion" signs... so after arriving, it did take us 2 hours going around the city centre before giving up and just parking in a car park and just walking through the city. This method proved to be a hell of a lot easier! Also I believe it to be a hell of a lot easier to navigate around London than it is there!

We got to the Galleries of Justice and were given the usual Health and Safety info, then we were given a tour of the building with a few bits of information about each section of the building, then we were allowed to be set loose around the 6 (or 7) floors. My favourite bit was the cave (about 6 floors beneath the surface of Nottingham) ... I did also spend a while in there, in the pure darkness - I was singing a nursery rhyme at the time too.

After being allowed to venture throughout the different rooms, hanging cells, chapel, washing room, etc... we then all met back up again and were introduced to the medium of the evening. Once we met him, we split into two groups and went to certain locations with one lady that works for the ghost hunting team, then afterwards we'd swap and go with the medium. When we were with the lady (Mandy) we ended up going to the Chapel and doing some glass moving and while that was happening that's when I went into the cave and sat for about 10-15 minutes. I felt really safe and homely in the cave.

When we swapped we went to the medium who took us into the hanging room and did some calling out. My Mother's coat kept getting tugged and I found it quite funny (and so did the group too) when I said out-loud "I know I don't usually say this, but Millie... TOUCH ME!" (Millie was the ghost that the medium picked up on). Once we finished in the hanging room, we moved to one of the chambers where it was really small and felt very claustrophobic.

Throughout the night there was the odd bump and bang and the odd "growl" that we couldn't find a reasonable explaination for, but all in all it was a really good night. I'd like to go back there one time - maybe even stop for the night ... on my own! Or go to other places too and do some ghost hunting as it's a subject that I really like and have been interested in for a long time.

Below are some pictures that I took, there would have had been more but I didn't get anymore.

Galleries of Justice Galleries of Justice Galleries of Justice Galleries of Justice
Galleries of Justice Galleries of Justice Galleries of Justice Galleries of Justice
  Galleries of Justice Galleries of Justice  

Read and Leave a Comment 0 Comment(s) -:- Permalink
Tags: galleries of justice, nottingham, paranormal, ghost hunting

Galleries of Justice

13th Feb 2010 14:31pm

Well tonight is the night I go with my Mother and Sister to Nottingham for a night of ghost hunting in the dark and dreary Galleries of Justice in Nottingham. The investigation starts at 9pm and goes till 5am in the morning and after reading a few things around the internet, I'm looking quite forward to it.

Living TV's Most Haunted team have described the location as "one of the scariest places they had ever visited. They captured strange gurgling sounds emanating from the caves as well as numerous unexplained banging sounds and apparent poltergeist activity. One member of the crew also claimed to have witnessed the apparition of a small child."

So it should be a fun night and I hope I see something decent... oh and I sooo want to sit in one of the cells on my own in the dark... that'll be great.

Read and Leave a Comment 0 Comment(s) -:- Permalink
Tags: paranormal, ghost hunting, galleries of justice, nottingham, most haunted, poltergeist

Who killed Archie Mitchell?

12th Feb 2010 22:16pm

If you're an Eastenders' fan like myself, then you'll more than likely be currently still interested in this long running storyline of "Who killed Archie Mitchell?". Well we ain't got long left now till we know who the killer is and the best bit about it is that even if you look online everywhere or if you're a friend of one of the cast, then you will NOT find out ... no matter how drunk you get them. Why? Well it's simple... they've been given 9 different scripts - one for each of the suspects if they were the killer and basically the person who is the killer will get notified ONLY a few minutes before that scene is about to be aired on BBC One next Friday ... LIVE!

I'm looking forward to the live episode next week as I'm expecting someone to fluff up their lines and also I think only the killer will get notified so it'll also be a shock for the rest of the crew too. So, who do you think the killer is?

Could Archie Mitchell's killer be Ronnie Mitchell, Peggy Mitchell, Janine Butcher, Jack Branning, Sam Mitchell, Phil Mitchell, Bradley Branning, Ian Beale, Stacey Slater, Grant Mitchell, Ryan Malloy, Roxy Mitchell, Lucas Johnson, Glenda Mitchell, Pat Evans, Billy Mitchell or Tracey The Barmaid??

Even though this person isn't in the list, I think it's Dot Cotton! He he.

Oh, also in tonight's episode, it did make me think it may have been a male that did it as at the end of the show when the ring was taken out of the draw, the hand in the glove looked male. If, however, it turns out to be a female, then the Eastenders production crew need to sort their stuff out.

Anyways, give me your feedback and views...

Read and Leave a Comment 0 Comment(s) -:- Permalink
Tags: eastenders, bbc one, archie mitchell, murder, dci marsden, ronnie, peggy, janine, jack, sam, phil, bradley, ian, stacey, grant, ryan, roxy, lucas, glenda, pat, billy, tracey


Worst TV Licence Excuses

8th Feb 2010 22:44pm

I decided to have a look around on the internet to find the worst (and some funny) TV Licence excuses when people who haven't got an up-to-date TV Licence get caught.

• My dog watches it while I'm at work to keep him company - not me.

• The subtitles on my TV are set to French so I'm not paying a UK tax for something I can't read.

• My wife has her hair done twice a week, so we find it difficult to pay.

• I haven't renewed my licence because my wife flushed it down the toilet, along with my wallet.

• My husband has just spent 3,000 pounds on this massive flatscreen digital TV so we can't possibly afford a licence.

• I couldn't make my last payment as my baby was sick on my shoulder and I didn't want to go to the shop smelling of sick because the guy I fancy works there.

• I have not been making payments because a baby magpie flew in to my house and I have had to stay in to feed it.

• I [he] forgot to pay as my [his] girlfriend had hit me [him] over the head with a hammer.

• I'm not paying for a politically partisan media controller when I don't watch anything it produces.

• I want the license abolished cos I really think a media completely controlled by right-wing plutocrats will provide me with better programming and accurate news.

• I was stuck to the sofa thanks to Derren Brown's show on Friday night.

• Because my [her] cat had got sick down the back of the set and blew it up.

» TV Licensing

Read and Leave a Comment 0 Comment(s) -:- Permalink
Tags: tv licence, tv licensing, uk tax, excuses

Resealable Can

8th Feb 2010 13:09pm

Resealable CanAlways annoyed by your drink going flat when you buy a can of pop? Well you don't need to worry anymore as there's now a new resealable can with a twist-shut lid that can supposedly keep your drink fizzy for upto 24 hours after first being opened.

The price of the can is £1.19 though as it's likely to be more expensive to manufacture, though the can isn't the regular 330ml size - it's a bit bigger, being sold in 485ml cans.

The can is due to be released in April 2010.

Read and Leave a Comment 0 Comment(s) -:- Permalink
Tags: resealable can, drink, fizzy, april 2010

Haiti Earthquake Charity Single

8th Feb 2010 11:37am

I've just been checking out the latest news on the BBC News website and came across the "video premiere" for the Haiti earthquake charity single and to be honest, I found it quite good and have been suprised at how quick it's became available - considering the earthquake (measuring 7.0rs) happened only a few weeks ago (16th January 2010).

Haiti Earthquake Charity Single
image taken from screenshot of music video, © BBC

The song is a cover of REM's 1992 single, Everybody Hurts and features Susan Boyle, Leona Lewis, Mika, Rod Stewart, Alexandra Burke, James Blunt, Robbie Williams, Cheryl Cole, James Morrison, Aston (JLS) and a couple more...

One thing I have noticed though, which I thought was good - well especially of our Tax-robbing Government, is that they're not wanting the VAT from the single - so every penny goes to the Haiti earthquake fund.

» BBC News: Video premiere for Haiti charity single

Read and Leave a Comment 0 Comment(s) -:- Permalink
Tags: haiti earthquake, charity, bbc news, everybody hurts, rem, susan boyle, rod stewart, james blunt, cheryl cole

Pectus Excavatum: Date Change

7th Feb 2010 20:22pm

The feeling of crapping myself that I mentioned in the previous post ended up taking over and a week and a halfs notice was a tad bit too soon for me, so I have re-arranged the operation and stuff for the middle of March 2010, so that gives me a month and a half to sit and chill myself out about it all.

I'd like to personally thank everyone that has been supportive along the way - family, friends and blog readers - for your excellent pieces of feedback, suggestions, questions and comments about the up coming operation.

Read and Leave a Comment 0 Comment(s) -:- Permalink
Tags: pectus excavatum, operation, nuss procedure, birmingham heartlands hospital

Pectus Excavatum: Almost There

1st Feb 2010 10:02am

On Saturday afternoon, my Mom called to say I had some posted and one was marked "Private & Confidential" and it looked more like it was from the hospital. So I tottered off to my Moms house and opened it... I saw the NHS sign and four pages stapled together ... my arse went 10-pence-5-pence. Reading it over it says that a bed is available for me on Wednesday 10th February 2010. Then it goes on to mention about not having anything to eat or drink from 3am that day (other than clear water till 7am), then it just goes on to say about the "No Smoking" policy that the hospital operates, yadda, yadda, yadda...

Before I do go for this operation, I do have to be tested for MRSA (quick and simple nose swab) and also have my Pre-Op Assessment (including an ECG), which they all take place on Thursday 4th February 2010. Luckily they're in the afternoon so I don't have to worry about waking up early in the morning. :D Then the other two pages just jabble on about visiting times, no under 12s allowed to visit and the stuff I need to take with me.

All in all, it's a bit scary that I've only been given a week-and-a-half notice, but hey-ho... that's life. I'm kinda really crapping it, but will be fine. Also a huge thanks to all those that have been supportive about it all, Thank You! :)

Read and Leave a Comment 0 Comment(s) -:- Permalink
Tags: pectus excavatum, birmingham heartlands hospital, operation, nhs, preop, mrsa

PROTECT YOUR FAMILY GET QUOTE
Insurance Quotes
Home Insurance
Affordable Health Insurance
Mortgages
Latest News Stories
» Collapsible Menu with jQuery
» Atherstone Ball Game 2010
» Galleries of Justice, Nottingham
» Galleries of Justice
» Who killed Archie Mitchell?
» Worst TV Licence Excuses
Top Viewed Stories
» Bypass Photobucket (31,187)
» PHP Mini Message Board Tutorial (27,098)
» PHP Search Engine Tutorial (19,851)
» Getting .htaccess on AppServ (Windows) to work (13,555)
» Rare McDonalds Monopoly 2008 Tickets (11,102)
» Helen Willetts Pregnant? (6,963)
Most Commented Stories
» PHP Mini Message Board Tutorial (87)
» PHP Search Engine Tutorial (31)
» Create your own Image Uploader (22)
» I like my DuMP (15)
» Pectus Excavatum (11)
» New Shameless Trailer! (10)