This is my attempt to help others who are trying to create a task that spits back random images instead of just a random number (the Dice module). I used a screen shot from a w3schools example, and I also used 2 screen shots of my own work to assist others. This saved time in writing the code...
I used my style sheet from a previous quiz to create a from that required a first name and a valid email address. The validation code came from w3schools, while the required field stuffs came from http://javascript.internet.com/. Because the code came from different sources they required a little tweaking, and I felt the need to add my own unique voice to the pop-up warnings.
Here is my variation on the Baseball Cards challenge. There are 3 different images to choose from, and the info displayed after submission (as well as the drop down itself) is generated from a database table. If you'd like to learn more about my friends & family, take a peek!
I also suggest checking out this site for some help with javascript and validation! unlike some other sites, the color properties of the different code help to make things visually clearer, and thus, easier to understand when trying to work out how the code is set up.
apparently other people got the code from webmonkey too?
here's my stab at their ajax voodoo...
since i'm one of the few here who dont work at espn (ha!), i picked something other than sports
got this form to validate fields.
the script i found also highlights the fields you foul up, and also gives a different message depending on if you put in an invalid email address, or just left it empty. cool!
Here is my final ICM505 assignment. I chose to do the course rating challenge, using all of the courses in the Communications graduate program that are to be offered next semester. Many thanks to everyone who submitted reviews - much appreciated! And a HUGE shoutout to Dr. Halavais for helping me troubleshoot those last few errors. You saved me much grief! I hope you all like it!!!
All I did here was add a couple small forms at the bottom for the user to leave their name and a comment and I also connected it to a database to catch record the information. Took me a while...
In my searches I had stumbled across and bookmarked this page - even though the module is over, I thought people still might benefit from it. There are tutorials for all the languages we've covered as well.
Here we have two dropdown menus (you won't see the second until you make a selection in the first), the second of which is dependent on the selection within the first.
Right now, that is all that happens. I wanted to get a little fancier, and may still if I have time, but wanted to get it in as is for right now in case I don't get to snazz it up. Enjoy!
I've begun to create the professor ratings page that I plan to complete for the final module. Here, I use javascript to display the form or hide the form depending on user input. If someone has javascript deactivated, those buttons do not appear (so as not to confuse them when they wouldn't work anyway). Hope you like it! I plan to build on this for the next module.