Skip to main content

Open Uni - Assignment Nightmares!

Argh! I have too much to do and not enough hours in the day to do them all in!

I'm having real problems with my current college assignment too. I'm stuck on one bit. Making a shopping card feature in javascript... using nodes and the DOM level 1.

Now... when it comes to adding and removing nodes from a web page, that's fine. I can do that. And I though that would be the hard part. But it isn't. The bit I can't do is making the newly formed nodes of text appear in the right place. You see, in the example scripts we were given to play with all the nodes appear at the bottom of the web page. But as part of the assigment they need to appear in the top right. The page is layed out using CSS and I DON'T KNOW HOW TO TELL THE CODE TO PUT THE NODES IN THE RIGHT PLACE!

But possibly I am just tired, as yesterday I couldn't make my rollover buttons rollover to save my life. I spent HOURS on them, and this morning it only took me 35 minutes.

However, today I have successfully done the following:

Main Page & Flash Intro Page

  • Update the provided navigation to use image rollovers (hard one that)
  • Modify the Flash intro page to provide a clickable link to the main page
  • Modify the Flash intro page to forward a visitor to the main page automatically after their first visit by setting and detecting a 'flashSeen' cookie.
  • One of the last two tasks must use an appropriate event
Sample Product Page
  • Display pan view images in a slide show controlled by the user
I still need to do the following:

Sample Product Page
  • Use W3C DOM techniques to demonstrate how a shopping cart would look to a visitor, simulating both adding and removing at least one sample item on a page (which I am stuck on now)

Form Page
  • Use suitable events to call for data validation on at least three fields (last name, phonenumber and email address), providing good advice or reports on errors and improving the ease of entering and correcting data when the form is submitted (tricky, but doable)
  • Use suitable events and DHTL to dynamically report back data entry errors for at least three form fields (street name, post code, credit card number) using colours and/or text on the page to notify the user while the form is filled out (a bit harder this one, not looking forward to it)

Wishlist Page
  • Retireve the wish list data from the cookie and then dynamically generate a clear and correctly formatted wish list on the page from that data (no idea how to do that yet!)
In General
  • Access some javascript functions in an external javascript file (tried this, thought it would be easy, not got it right yet!)
  • provide some support for non-javascript enabled browser access (a continuing thing, all done so far)
But now it's time to go and pick my feller up from work. I'll have another go when I get in, but if something doesn't come clear soon I'll take a break. I have been doing this since 9am! That's 8 hours!!! With only toilet and kettle boiling breaks!

Comments

Popular posts from this blog

Pretty Princess 💗 No.4 son #boyswhoaregirls #girlswhoareboys

via Instagram http://bit.ly/2G4fgYQ

Wedding List.... (OMG)

A new kitchen.... Really! We need one! So I've been saying to people that we'll want either B&Q or Ikea vouchers... Only I can't say which yet because I haven't choosen which one I like best: B&Q Oak Shaker style: ( on froogle ) ( on their site ) Ikea: Tildaholm BECAUSE... our kitchen is REALLY badly laid out, the storage is dropping to bits, the seal round the sink is black and festering, the oven hasn't worked for YEARS (the hob and grill are ok though), the seal on one of thef ridge doors has gone too, and the floor... half tiled, half bare concret! But now I have to choose which one I like best, and get the measurements sorted out, and then get the prices for what I can have in the space we've got... PHEW!

Recipe Review: Hairy Bikers liver & bacon with onions & gravy

I need a bit of comfort food at this time of year. I really love this recipe from The Hairy Bikers:  Liver and bacon with onions and gravy  and freely admit that I have whipped this from the BBC Food website. I follow the recipe (but sometimes chuck some mushrooms in too) and split it four ways at 11 pro points per serving. It's a classic, and even my 6 year old likes liver cooked like this - the 4 & 2 year olds need a little extra ketchup to convince them. The Hairy Bikers’ traditional liver and bacon makes a simple supper packed full of flavour and bursting with vitamins and minerals Ingredients 450g/1lb lambs’  liver , sliced and fully thawed if frozen 25g/1oz  butter 2 tbsp  sunflower oil 4 tbsp  plain flour 1  onion , halved lengthways and sliced 125g/4½oz rindless streaky  bacon  rashers, each cut into 4–5 pieces 1  beef stock  cube 500ml/18fl oz  jus t-boiled water 1–2 tsp tomato  ketchup salt and freshly ground  black pepper Preparation method Rinse the liver in a cola