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

Romance

Now, we don't really do Romance, Yorkie and I. We're not the sort of couple that goes to posh restraunts, buy hearts and flowers on a whim etc, but last night we had a really sweet night. We didn't really do much that was classically romantic, it was the mood, the feeling in the air, if you know what I mean....?

I cooked us steaks for tea, which is always a winner for Yorkie (his second fav after anything pork) and had the candles lit in the front room. Not that I was going for a romantic atmosphere, I just like to have candles lit on cold dark nights.

We snuggled up on the settee together, watching nothing much on telly, all warm and cozy under a blanket, with the cat curled up o us. We'd been talking a little bit about the wedding and stuff, and about what my doc had said to me about what to do before we start a family. Yorkie's eyes went all soft and sweet, he was hugging me close and saying all the right kind of sweet thinks that I love to hear.

It was one of thos…

Tom wanted a go at cooking this week. And beef kofta curry was his choice! Big helping hand from mum but he worked had and we had fun singing in the kitchen while we cooked. This "teaching life skills" is alright you know

via Instagram https://ift.tt/386Lb6C

Tom's 1st Jujitsu Grading

It's that time of year again! Jack and Tom have been preparing for their grading since September. Jack is used to the whole process now, but for Tom it was the first time. This time we were taking Jack's friend Rory with us - he goes to a different school but does jujitsu with the same club.

Tom was trying for his first belt which is white. Rory was going for orange, and Jack was going for blue.

As usual parents can't stay to watch, so after dropping the three of them off I went for a wander to get some steps in for my own fitness (and a coffee and mince pie) with Freddie. In the freezing cold and bitter wind of Morecambe in December! Lucky old Hubby and Georgie stayed at home in the warm! Freddie didn't rate it at all - if he wasn't still 100% a boobie baby I wouldn't have dragged him out in it and left him home in the warm too.

When I got back to the school and queued up to get in and watch the belts be awarded I wound up chatting with another mum. We got on…