| Haomin Wang | 9/26/2002 | 6:52:53 PM | hello, Cliff |
| Lisa Williams | 9/26/2002 | 6:52:57 PM | Hello Mr. Wang and everyone else |
| Cliff De Long | 9/26/2002 | 6:52:57 PM | hi |
| Haomin Wang | 9/26/2002 | 6:52:59 PM | hello, Lisa |
| Lisa Williams | 9/26/2002 | 6:53:13 PM | boy am I in trouble this week! |
| Cliff De Long | 9/26/2002 | 6:53:19 PM | just wanted to say that this is a terrific class and I'm really enjoying it... |
| Haomin Wang | 9/26/2002 | 6:53:20 PM | Sorry, i was delayed by some trouble-shooting with the quiz center |
| Lisa Williams | 9/26/2002 | 6:53:45 PM | I thought this would be a bit easier than it is.... not that it isn't fun, but it is frustrating |
| Haomin Wang | 9/26/2002 | 6:53:52 PM | i'm glad you enjoyed it so far |
| Haomin Wang | 9/26/2002 | 6:54:44 PM | Lisa, you need to use some strategies |
| Haomin Wang | 9/26/2002 | 6:54:49 PM | and patience of course |
| Lisa Williams | 9/26/2002 | 6:55:13 PM | Yes, strategies would be nice. :) I need a bit more patience I know.... so where can I start? |
| Haomin Wang | 9/26/2002 | 6:55:16 PM | strategies such as starting with some basic components, then building upon them |
| Lisa Williams | 9/26/2002 | 6:55:26 PM | yes, i feel like i am missing out on something |
| Haomin Wang | 9/26/2002 | 6:55:39 PM | which task has been particularly demanding? |
| Cliff De Long | 9/26/2002 | 6:55:40 PM | users (people) are frustrating - computers are just machines that try to do exactly what we tell them - being the go-between is what I do for a living |
| Haomin Wang | 9/26/2002 | 6:56:21 PM | knowing the nature of computer helps a lot |
| Lisa Williams | 9/26/2002 | 6:56:25 PM | beginning the script and understanding which .prompt, .write, etc to use |
| Haomin Wang | 9/26/2002 | 6:56:58 PM | Lisa: it's hard to think of all the things all at once |
| Haomin Wang | 9/26/2002 | 6:57:27 PM | breaking the task down into some managable components and then take a step by step approach |
| Lisa Williams | 9/26/2002 | 6:57:35 PM | last week we had the appVersion, appName, etc. and then this week it is totally different. i know that scripts have different tasks ans need diff. directions... but there is sooo many |
| Haomin Wang | 9/26/2002 | 6:58:28 PM | the appName and appVersion task is basiclly a practice on adapting some code |
| Lisa Williams | 9/26/2002 | 6:59:06 PM | i see the loop and i am not sure where to start. i wrote a message on the board and Bruce said he found all the "parts" he needed in the lesson and assignment notes... i missed it. :) |
| Haomin Wang | 9/26/2002 | 6:59:12 PM | right now, it's difficult for us to take up a major project involving extensive structure and multiple parts of tasks |
| Cliff De Long | 9/26/2002 | 6:59:14 PM | Copy and Paste, then edit??? |
| Lisa Williams | 9/26/2002 | 6:59:43 PM | right cliff, but what do i copy and paste??? maybe i am not seeing the similar parts to the scripts. hmmmm |
| Haomin Wang | 9/26/2002 | 7:00:04 PM | that's an easy way to start: modifying an existing program to make it do something different |
| Cliff De Long | 9/26/2002 | 7:00:17 PM | I copy from the class web page and a basic template that seems to stay the same so far... |
| Lisa Williams | 9/26/2002 | 7:00:40 PM | is there something in our lesson and assignments that i could copy then? |
| Haomin Wang | 9/26/2002 | 7:01:00 PM | Yes, Lisa |
| Haomin Wang | 9/26/2002 | 7:01:34 PM | You can copy some major structurre from the lesson notes for all the assignments so far |
| Lisa Williams | 9/26/2002 | 7:01:40 PM | i see things that i understand, but i can't seem to put them together |
| Haomin Wang | 9/26/2002 | 7:02:40 PM | Cliff: do you have any experience to share here? |
| Lisa Williams | 9/26/2002 | 7:02:42 PM | i just went to week 4 on our lesson page.... something there? |
| Cliff De Long | 9/26/2002 | 7:02:43 PM | I'm going to Mark's now - Lisa - you' get it!!! :) |
| Haomin Wang | 9/26/2002 | 7:02:52 PM | OK |
| Lisa Williams | 9/26/2002 | 7:03:00 PM | i will be there shortly cliff |
| Jan Bolluyt | 9/26/2002 | 7:03:47 PM | hi, Haomin |
| Lisa Williams | 9/26/2002 | 7:03:48 PM | i am looking at the grade script in the lessons, and i understand it.... well mostly, but how do i take that and make it work for the factoral script? |
| Cliff De Long | 9/26/2002 | 7:03:49 PM | I just use the sam basic notepad file every time, paste in the java from the web page - save it as html, try and open it and IE tells me the line number and character where I made my mistake.... |
| Haomin Wang | 9/26/2002 | 7:03:50 PM | OK. Lisa: how about the factorial task? |
| Lisa Williams | 9/26/2002 | 7:04:05 PM | hi jan |
| Haomin Wang | 9/26/2002 | 7:04:21 PM | hi, Jan |
| Haomin Wang | 9/26/2002 | 7:04:44 PM | first of all, you need an integer input from the user, right? |
| Lisa Williams | 9/26/2002 | 7:04:49 PM | my huband wrote out this whole flow chart on this one, and it works... now i just have to get it to program right |
| Haomin Wang | 9/26/2002 | 7:05:16 PM | how do you get an integer input from the user? |
| Lisa Williams | 9/26/2002 | 7:05:33 PM | yes, an integer input..... such as var A?? |
| Lisa Williams | 9/26/2002 | 7:05:42 PM | you prompt the user to input a value |
| Haomin Wang | 9/26/2002 | 7:05:50 PM | right |
| Cliff De Long | 9/26/2002 | 7:05:55 PM | a prompt window for them to type in their respons? |
| Lisa Williams | 9/26/2002 | 7:06:08 PM | okay, got that |
| Lisa Williams | 9/26/2002 | 7:06:25 PM | that is the window.prompt command? |
| Lisa Williams | 9/26/2002 | 7:06:32 PM | inputText |
| Haomin Wang | 9/26/2002 | 7:06:32 PM | once you have that integer, you know how many times your loop should run in order to get the factorial |
| Cliff De Long | 9/26/2002 | 7:06:34 PM | :) |
| Lisa Williams | 9/26/2002 | 7:06:54 PM | loop=5 (or whatever the number may be??) |
| Cliff De Long | 9/26/2002 | 7:07:04 PM | I pulled that statement right out of the book |
| Lisa Williams | 9/26/2002 | 7:07:08 PM | is that it? or is it more complex |
| Haomin Wang | 9/26/2002 | 7:07:15 PM | I'm copying the lines from the lesson notes:
// get the user input to start
inputText = window.prompt("Enter a grade, -1 to stop:", "0"); |
| Haomin Wang | 9/26/2002 | 7:07:28 PM | Not a grade, but an integer |
| Lisa Williams | 9/26/2002 | 7:07:35 PM | right, i see that YEAH! |
| Lisa Williams | 9/26/2002 | 7:07:49 PM | then.... |
| Haomin Wang | 9/26/2002 | 7:07:52 PM | an integer not too big, cuz a large integer can make the computer work forever |
| Cliff De Long | 9/26/2002 | 7:07:58 PM | but, it comes in as text... |
| Lisa Williams | 9/26/2002 | 7:08:14 PM | so do you have to write something that will not let it be too big? |
| Haomin Wang | 9/26/2002 | 7:08:33 PM | yes, we need to convert the text into integer:
// convert the text input into integer
inputValue = parseInt(inputText); |
| Lisa Williams | 9/26/2002 | 7:08:51 PM | yeah, this is where i loose it..... what is that parseInt |
| Lisa Williams | 9/26/2002 | 7:09:19 PM | thanks for hanging in here cliff... this is helping. :) |
| Haomin Wang | 9/26/2002 | 7:09:59 PM | parseInt() is a method that converts a text string into a numerical value |
| Lisa Williams | 9/26/2002 | 7:10:05 PM | ahhhhh |
| Haomin Wang | 9/26/2002 | 7:10:08 PM | more specifially an integer |
| Lisa Williams | 9/26/2002 | 7:10:20 PM | that is why the (inputText) is there |
| Lisa Williams | 9/26/2002 | 7:10:22 PM | ok |
| Haomin Wang | 9/26/2002 | 7:10:46 PM | say the input integer is 9 |
| Lisa Williams | 9/26/2002 | 7:11:06 PM | ok |
| Haomin Wang | 9/26/2002 | 7:11:27 PM | then we can have a loop for calculate: 1x2x3x4 ... x 9 |
| Cliff De Long | 9/26/2002 | 7:12:04 PM | I used pg.280 (b) and replaced the blue colored numbers with my variables |
| Lisa Williams | 9/26/2002 | 7:12:04 PM | right, now how do i get that to script form? |
| Cliff De Long | 9/26/2002 | 7:12:33 PM | factorial=factorial*i |
| Lisa Williams | 9/26/2002 | 7:12:42 PM | thanks cliff... i am turning there now.... |
| Douglas Sahli | 9/26/2002 | 7:13:26 PM | hello |
| Lisa Williams | 9/26/2002 | 7:13:45 PM | i see page 280, but how aer you plugging in your numbers when it isn't the same script? |
| Haomin Wang | 9/26/2002 | 7:13:45 PM | hi, Doug |
| Lisa Williams | 9/26/2002 | 7:13:50 PM | hi doug |
| Haomin Wang | 9/26/2002 | 7:13:51 PM | hi, Lorna |
| Cliff De Long | 9/26/2002 | 7:13:53 PM | Why do I always forget the { ? |
| Lisa Williams | 9/26/2002 | 7:14:18 PM | hi Lorna |
| Lorna Hofer | 9/26/2002 | 7:14:19 PM | hello. looks like everyone's hard at work!
|
| Lisa Williams | 9/26/2002 | 7:14:28 PM | yes, i am Mrs. Confused! :) |
| Haomin Wang | 9/26/2002 | 7:14:39 PM | Back to the factorial task |
| Lisa Williams | 9/26/2002 | 7:14:42 PM | yes |
| Haomin Wang | 9/26/2002 | 7:14:57 PM | shall we use for loop or while loop? |
| Lisa Williams | 9/26/2002 | 7:15:10 PM | i believe we are using for loop? |
| Lorna Hofer | 9/26/2002 | 7:15:30 PM | Lisa...probably second only to me at this point. After you guys are done with this conversation, I have a couple of questions about the if...else program I e-mailed today. I'll just hang out until you are finished.
|
| Haomin Wang | 9/26/2002 | 7:15:43 PM | One example in our lesson notes is:
for (var i=1; i <= theNumber; i++) {
// as long as the counter i does not exceed theNumber
// we add the counter value to the rolling sum
theSum = theSum + i;
} |
| Lisa Williams | 9/26/2002 | 7:15:50 PM | won't be long lorna, thanks |
| Haomin Wang | 9/26/2002 | 7:16:31 PM | now, this "theSum" is a rolling number, right? It keeps accumulating as the loop runs |
| Lisa Williams | 9/26/2002 | 7:17:23 PM | theSum +i.... theSum +i.... until the factorial is done? |
| Haomin Wang | 9/26/2002 | 7:17:39 PM | how about changing the addition to multiplication:
theSum = theSum * i |
| Lisa Williams | 9/26/2002 | 7:17:58 PM | ahhh, yes.... that is it |
| Haomin Wang | 9/26/2002 | 7:18:08 PM | a factorial runs like n x ... 3 x 2 x 1 |
| Lisa Williams | 9/26/2002 | 7:18:20 PM | i = the integer they input |
| Lisa Williams | 9/26/2002 | 7:18:40 PM | no, that is not it |
| Lisa Williams | 9/26/2002 | 7:18:48 PM | okay, i is always 1 |
| Haomin Wang | 9/26/2002 | 7:18:58 PM | So, the example is there in the lesson notes and textbook, but you need to make some changes. |
| Haomin Wang | 9/26/2002 | 7:19:35 PM | let's break it down |
| Lisa Williams | 9/26/2002 | 7:19:35 PM | the grade one right? the first example |
| Haomin Wang | 9/26/2002 | 7:19:48 PM | say the input integer is 9 |
| Lisa Williams | 9/26/2002 | 7:19:54 PM | okay |
| Haomin Wang | 9/26/2002 | 7:20:13 PM | we'll first do 9 x 8 |
| Haomin Wang | 9/26/2002 | 7:20:29 PM | we get 72, then 72 x 7 |
| Haomin Wang | 9/26/2002 | 7:21:09 PM | we get 72 x 7 = 504 |
| Haomin Wang | 9/26/2002 | 7:21:29 PM | then 504 x 6 |
| Haomin Wang | 9/26/2002 | 7:22:28 PM | for (var i = 9; i > 0; i--) |
| Lisa Williams | 9/26/2002 | 7:22:40 PM | it is coming to me, but where is all this in the script? "theSum" is the product... then you take that number and multiply it by the next lowest.... okay , i see it now |
| Haomin Wang | 9/26/2002 | 7:23:05 PM | the loop control variable is the integer entered |
| Lisa Williams | 9/26/2002 | 7:23:08 PM | var i will equal n though right? |
| Haomin Wang | 9/26/2002 | 7:23:17 PM | right!!! |
| Lisa Williams | 9/26/2002 | 7:23:21 PM | you are not sure what number will be inputed? |
| Haomin Wang | 9/26/2002 | 7:23:33 PM | not until the user enters it |
| Lisa Williams | 9/26/2002 | 7:23:38 PM | right |
| Haomin Wang | 9/26/2002 | 7:23:48 PM | we may need to limit the input to anything less than 100 |
| Haomin Wang | 9/26/2002 | 7:24:00 PM | because a large integer may crash the computer |
| Haomin Wang | 9/26/2002 | 7:24:21 PM | at least it'll make the computer grind for a while |
| Cliff De Long | 9/26/2002 | 7:24:29 PM | 65455? |
| Lisa Williams | 9/26/2002 | 7:24:39 PM | then the other two stay the same.... the limit could be i >0 or i < 100 |
| Lisa Williams | 9/26/2002 | 7:24:56 PM | i mean, not "or" but soething like that |
| Haomin Wang | 9/26/2002 | 7:25:17 PM | yes |
| Haomin Wang | 9/26/2002 | 7:25:44 PM | do you think you got the basic idea about the factorial task, Lisa? |
| Lisa Williams | 9/26/2002 | 7:25:48 PM | yes |
| Lisa Williams | 9/26/2002 | 7:26:09 PM | thank you so much.... i am going to work with that for awhile... is SUnday too late for it to be turned in |
| Haomin Wang | 9/26/2002 | 7:26:16 PM | good. The drawing of the graph bar is similar |
| Lisa Williams | 9/26/2002 | 7:26:26 PM | oh man, forgot about that one.. haha |
| Haomin Wang | 9/26/2002 | 7:26:46 PM | OK. No deadline |
| Haomin Wang | 9/26/2002 | 7:27:09 PM | Lorna: you said you have a couple of Q's |
| Lisa Williams | 9/26/2002 | 7:27:11 PM | okay, i WILL get this! thanks again. now i have to go see Mark. :) |
| Haomin Wang | 9/26/2002 | 7:27:14 PM | let's share them |
| Lorna Hofer | 9/26/2002 | 7:27:24 PM | OK. I see where Amy and I made the mistake as we were working on this program. Basically, I was trying to put the if...else statement for the cookies in there twice....
|
| Haomin Wang | 9/26/2002 | 7:27:42 PM | right |
| Lorna Hofer | 9/26/2002 | 7:27:55 PM | The problem I am having is that I cannot get the program to run on both Mac and PC and in IE and Netscape...is that a big deal?
|
| Haomin Wang | 9/26/2002 | 7:28:20 PM | it's a good idea to sketch out the steps you need to do on a paper before writing code |
| Haomin Wang | 9/26/2002 | 7:28:49 PM | first, limit it to one OS: either PC or Mac |
| Lorna Hofer | 9/26/2002 | 7:28:53 PM | I opened the program you returned to me on a Mac and now when I open it on a PC (both in IE and Netscape) the only thing that shows is the title bar stuff...what am I doing wrong? |
| Haomin Wang | 9/26/2002 | 7:29:08 PM | then deal with the browser compatibility |
| Lorna Hofer | 9/26/2002 | 7:29:48 PM | OK. The only reason I happened to check both platforms is that I work on a PC at home but then have my e-mail on a Mac at school. |
| Haomin Wang | 9/26/2002 | 7:29:56 PM | probably when you opened on your Mac, some text was added to the script |
| Haomin Wang | 9/26/2002 | 7:30:27 PM | do you have that script with you now? |
| Lorna Hofer | 9/26/2002 | 7:30:34 PM | Yes. |
| Haomin Wang | 9/26/2002 | 7:30:55 PM | can you copy and paste it in here? |
| Lorna Hofer | 9/26/2002 | 7:31:32 PM | I'm on the PC at school now (to make it even more complicated) Just a second...I'll get the script. |
| Haomin Wang | 9/26/2002 | 7:31:46 PM | take your time |
| Lorna Hofer | 9/26/2002 | 7:32:44 PM |
What Browser and Version are You Using?
|
| Lorna Hofer | 9/26/2002 | 7:33:05 PM | This is the script after I opened it in e-mail on the Mac. |
| Haomin Wang | 9/26/2002 | 7:34:08 PM | There has been some change in the script that generated errors |
| Haomin Wang | 9/26/2002 | 7:34:30 PM | Let's me do some editing to correct them |
| Lorna Hofer | 9/26/2002 | 7:35:06 PM | ok. Is it because (as you said before) opening on the Mac side added to the script? |
| Haomin Wang | 9/26/2002 | 7:35:54 PM | It's done. If you have a browser open, view this URL:
http://www.courses.dsu.edu/cet756/test/new_page_1.htm |
| Cliff De Long | 9/26/2002 | 7:36:12 PM | swift |
| Lorna Hofer | 9/26/2002 | 7:36:26 PM | ok. I'm there. |
| Haomin Wang | 9/26/2002 | 7:36:35 PM | If you view the page soruce, you'll see a major potential danger of the script is the length of some lines |
| Cliff De Long | 9/26/2002 | 7:36:49 PM | That HTML-Kit sure can pretty up a script, huh |
| Haomin Wang | 9/26/2002 | 7:36:57 PM | when these long times are opened in some editor, they can get wrapped around |
| Haomin Wang | 9/26/2002 | 7:37:23 PM | if the lines are wrapped around, syntactic errors occur |
| Haomin Wang | 9/26/2002 | 7:37:38 PM | because the statements are broken apart |
| Haomin Wang | 9/26/2002 | 7:38:13 PM | To avoid this type of problem, you can use multiple document.write() to write short statements |
| Lorna Hofer | 9/26/2002 | 7:38:20 PM | so that was the problem then when I was opening this script in various places. |
| Haomin Wang | 9/26/2002 | 7:38:31 PM | I'm breaking the long lines into short ones |
| Haomin Wang | 9/26/2002 | 7:38:39 PM | I think so |
| Lorna Hofer | 9/26/2002 | 7:39:23 PM | OK. I'll try to watch out for that then. Live and learn! Thanks for your help earlier today and now. I appreciate your responsiveness....it makes working through these things much easier! |
| Haomin Wang | 9/26/2002 | 7:40:17 PM | Here's a short version before I let you get back to your work:
if (navigator.appName == "Netscape") {
document.write("Your browser is Netscape ");
document.write(navigator.appVersion.substr(0, navigator.appVersion.indexOf(" "))) + ".");
document.write(" Netscape works better with Java programs.");
} else if (navigator.appName == "Microsoft Internet Explorer"){
document.write("Your browser is IE ");
document.write(navigator.appVersion.substr(navigator.appVersion.indexOf("MSIE")+4, 4)) + ".");
document.write(" IE works better with Microsoft Office documents.");
} else {
document.write("Your browser is not recognized!")
} |
| Lorna Hofer | 9/26/2002 | 7:40:52 PM | ok. Thanks. I see what you mean about breaking the document.write statements into smaller pieces. |
| Haomin Wang | 9/26/2002 | 7:40:52 PM | You may resize your text window to avoid the line wrapping around |
| Cliff De Long | 9/26/2002 | 7:40:59 PM | do you ever get lost in the nested quotes and parenthesis? |
| Lorna Hofer | 9/26/2002 | 7:41:19 PM | If you are asking me, Cliff...YES! |
| Haomin Wang | 9/26/2002 | 7:41:31 PM | it's a common error |
| Haomin Wang | 9/26/2002 | 7:41:42 PM | for experienced programmers too |
| Haomin Wang | 9/26/2002 | 7:42:35 PM | Cliff: you're working on two stations, right? |
| Cliff De Long | 9/26/2002 | 7:42:43 PM | I can hardly see the difference between ' and " anymore - I'm only 41 - the crpal tunnel is so bad that I can't even type 30 wpm anymore |
| Cliff De Long | 9/26/2002 | 7:42:48 PM | three |
| Cliff De Long | 9/26/2002 | 7:43:17 PM | should I log them out? |
| Haomin Wang | 9/26/2002 | 7:43:35 PM | No. Don't |
| Haomin Wang | 9/26/2002 | 7:43:54 PM | just curious. Are they all Internet-connected? |
| Cliff De Long | 9/26/2002 | 7:44:40 PM | yeah - I'm at home in my bathroom - There are actually seven machines hooked up with two hubs and a router and a firewall |
| Haomin Wang | 9/26/2002 | 7:45:26 PM | you're really buried in computers then |
| Haomin Wang | 9/26/2002 | 7:45:54 PM | are they all unix or a mix? |
| Cliff De Long | 9/26/2002 | 7:46:13 PM | Mix - I have to support everything |
| Cliff De Long | 9/26/2002 | 7:46:39 PM | I forced myself to use W2KS.net for the beta... |
| Haomin Wang | 9/26/2002 | 7:47:15 PM | The .NET is an ambitious thing |
| Cliff De Long | 9/26/2002 | 7:47:17 PM | I've been playing with Jaguar X.2 |
| Cliff De Long | 9/26/2002 | 7:47:26 PM | Whistler |
| Haomin Wang | 9/26/2002 | 7:47:54 PM | are you more interested J2EE or the .NET? |
| Cliff De Long | 9/26/2002 | 7:48:34 PM | Personally, I hate Microsoft, my company wound up at AOL because of Bill Gates |
| Cliff De Long | 9/26/2002 | 7:48:45 PM | But the user base is huge |
| Cliff De Long | 9/26/2002 | 7:49:19 PM | And it really is easier to run NetMeeting on a true Windows platform |
| Jim Andersen | 9/26/2002 | 7:49:31 PM | Hi Haomin, |
| Cliff De Long | 9/26/2002 | 7:49:32 PM | cygwin does it pretty well though |
| Haomin Wang | 9/26/2002 | 7:49:48 PM | users can tolerate other things as long as the application is easier to use |
| Haomin Wang | 9/26/2002 | 7:50:05 PM | hello, Jim |
| Jim Andersen | 9/26/2002 | 7:50:20 PM | This is Rose I,m using netmeeting on my husband's computer because I couldn't make mine work |
| Haomin Wang | 9/26/2002 | 7:50:53 PM | another important thing is integration. Microsoft integrates everything nicely into one suite, plus its OS |
| Jim Andersen | 9/26/2002 | 7:50:56 PM | I just need to find out from you or anyone if there is a trick to doing the dynmaic graph |
| Haomin Wang | 9/26/2002 | 7:51:09 PM | OK, Rose. You're undercovered today |
| Haomin Wang | 9/26/2002 | 7:51:41 PM | The trick is the mix of JavaScript with HTML tags |
| Haomin Wang | 9/26/2002 | 7:52:00 PM | The loop is JavaScript |
| Jim Andersen | 9/26/2002 | 7:52:15 PM | How do you do that. I am not understanding the book |
| Haomin Wang | 9/26/2002 | 7:52:52 PM | The is HTML |
| Haomin Wang | 9/26/2002 | 7:53:38 PM | basically you need to write the statement
12 times |
| Haomin Wang | 9/26/2002 | 7:54:22 PM | and you can use a loop to do that so that you don't need to literally write it 12 times |
| Jim Andersen | 9/26/2002 | 7:54:50 PM | If I do that then I can get the graph?
How do you loop? |
| Haomin Wang | 9/26/2002 | 7:55:04 PM | for loop or while loop? |
| Jim Andersen | 9/26/2002 | 7:55:19 PM | either one if there is a difference |
| Haomin Wang | 9/26/2002 | 7:55:44 PM | do we know how many times the loop should run? |
| Jim Andersen | 9/26/2002 | 7:56:56 PM | five or six times to get the graph?
I don't know how many times |
| Jim Andersen | 9/26/2002 | 7:57:30 PM | How big does the graph have to be? |
| Haomin Wang | 9/26/2002 | 7:57:48 PM | the assignment requires us to:
Write another JavaScript that uses a loop to display the same color graphic in 12 different dimensions to show quantitative differences |
| Haomin Wang | 9/26/2002 | 7:58:18 PM | 12 times |
| Haomin Wang | 9/26/2002 | 7:58:41 PM | the size of the graph can be flexible |
| Haomin Wang | 9/26/2002 | 7:59:17 PM | if you prefer vertical bar graph, then it should have a fixed width, but variable heights |
| Haomin Wang | 9/26/2002 | 8:00:22 PM | The important thing is that either the width value or the height value in the tag should be a variable |
| Jim Andersen | 9/26/2002 | 8:02:18 PM | I'm still confused, but I will get it in time |
| Haomin Wang | 9/26/2002 | 8:03:25 PM | Read the instruction of the Week 4 assigment. It has some substantial clues |
| Haomin Wang | 9/26/2002 | 8:03:51 PM | I saw Donna logged in |
| Donna Ness | 9/26/2002 | 8:04:04 PM | yes, I just came from another class |
| Jim Andersen | 9/26/2002 | 8:04:09 PM | Ok |
| Haomin Wang | 9/26/2002 | 8:04:17 PM | and Trina too |
| Trina Johnson | 9/26/2002 | 8:04:27 PM | Hello, I just got done with the other class also. |
| Haomin Wang | 9/26/2002 | 8:04:54 PM | Thursday night turns out to be a chat night |
| Trina Johnson | 9/26/2002 | 8:04:54 PM | Has there been anything we missed? |
| Trina Johnson | 9/26/2002 | 8:05:15 PM | Next week we chat on Tuesday, so Thursday will be ok. |
| Haomin Wang | 9/26/2002 | 8:05:27 PM | I can FTP the script to you. |
| Donna Ness | 9/26/2002 | 8:05:33 PM | thank you |
| Trina Johnson | 9/26/2002 | 8:05:39 PM | That would be great. |
| Haomin Wang | 9/26/2002 | 8:06:28 PM | Did the script "Sept26.htm" come through? |
| Douglas Sahli | 9/26/2002 | 8:06:46 PM | yes got it |
| Donna Ness | 9/26/2002 | 8:06:59 PM | yes |
| Trina Johnson | 9/26/2002 | 8:07:00 PM | How on earth were some of those people do both chats. They were on in my other class. |
| Donna Ness | 9/26/2002 | 8:07:16 PM | I agree Trina - I got bumped 8 times |
| Cliff De Long | 9/26/2002 | 8:08:02 PM | Cable Modem |
| Cliff De Long | 9/26/2002 | 8:08:20 PM | w/ private network behind |
| Trina Johnson | 9/26/2002 | 8:08:23 PM | Dr. Wang, My main concern is understanding how some of the things work. Some make sense and others look like japanese to me/ |
| Haomin Wang | 9/26/2002 | 8:08:45 PM | which part is like Japanese? |
| Trina Johnson | 9/26/2002 | 8:09:43 PM | Such as the code that I struggled with last week dealing with the browsers. The first parts of the lines made sense but the ending didn't. Let me go and grab the code quick. |
| Haomin Wang | 9/26/2002 | 8:10:24 PM | you mean the index() or the substr() method? |
| Trina Johnson | 9/26/2002 | 8:10:57 PM | (navigator.appVersion.indexOf("MSIE")+4, 4)); and substr(0, navigator.appVersion.indexOf(" ")) + "."); |
| Trina Johnson | 9/26/2002 | 8:11:11 PM | What does MSIE stand for? |
| Cliff De Long | 9/26/2002 | 8:11:23 PM | Microsoft Internet Explorer |
| Trina Johnson | 9/26/2002 | 8:11:32 PM | That makes sense |
| Trina Johnson | 9/26/2002 | 8:11:59 PM | So now the +4, 4 |
| Haomin Wang | 9/26/2002 | 8:12:26 PM | MSIE is the name used in the appVersion string for MS Internet Explorer |
| Haomin Wang | 9/26/2002 | 8:12:53 PM | atually we don't want "MSIE", but the version number following it |
| Cliff De Long | 9/26/2002 | 8:13:19 PM | version 4 of IE was the first that handled Java irf I recollect correctly... |
| Haomin Wang | 9/26/2002 | 8:13:34 PM | indexOf("MSIE") will return the position number of the first character "M" |
| Haomin Wang | 9/26/2002 | 8:14:09 PM | maybe it's the 10th character in sequence |
| Haomin Wang | 9/26/2002 | 8:15:16 PM | if we add 4, that'll be the position after "MSIE" where the version number starts |
| Trina Johnson | 9/26/2002 | 8:15:54 PM | ok, that is starting to make sense. Then the next 4 sets what we want collected |
| Haomin Wang | 9/26/2002 | 8:15:54 PM | I saw Bruce logged in |
| Haomin Wang | 9/26/2002 | 8:16:09 PM | right! |
| Trina Johnson | 9/26/2002 | 8:16:44 PM | Then why in the netscape script it isn't set up the same way? |
| Cliff De Long | 9/26/2002 | 8:17:37 PM | because microsoft copied netscape - that was one of the things they changed to avoid litigation |
| Haomin Wang | 9/26/2002 | 8:17:43 PM | that's the result of the struggle between vendors and the World Wide Web Consortium |
| Cliff De Long | 9/26/2002 | 8:17:45 PM | tag |
| Bruce Long | 9/26/2002 | 8:18:20 PM | I take it we are talking about the week 3 assignment tonight? |
| Trina Johnson | 9/26/2002 | 8:18:27 PM | Things would be much easier if everyone would agree and get along. |
| Haomin Wang | 9/26/2002 | 8:18:39 PM | Microsoft claims its browser to be 6 now |
| Trina Johnson | 9/26/2002 | 8:18:41 PM | Yes, Sorry bruce. I had problems with it |
| Trina Johnson | 9/26/2002 | 8:19:02 PM | That |
| Bruce Long | 9/26/2002 | 8:19:09 PM | No problem. Just wanted to get the discussion in context. I had a terrible time with that one. |
| Trina Johnson | 9/26/2002 | 8:19:10 PM | is what my IE says |
| Trina Johnson | 9/26/2002 | 8:19:25 PM | I'm glad it was just not me. |
| Haomin Wang | 9/26/2002 | 8:19:49 PM | but the appVersion indicates it's 4 |
| Haomin Wang | 9/26/2002 | 8:20:25 PM | this is the line displayed:
appVersion: 4.0 (compatible; MSIE 6.0; Windows NT 5.1)
on my IE 6 |
| Cliff De Long | 9/26/2002 | 8:20:54 PM | I couldn't get Netscape 7.1 to display either... |
| Bruce Long | 9/26/2002 | 8:21:05 PM | [Private] Clif, I had been meaning to email you. One of those Office 2000 disks was bad. Any chance of burning another set and sticking them in the mail to me? |
| Cliff De Long | 9/26/2002 | 8:21:29 PM | Netscape (Mozilla) version 5.0 (Windows; en-US) |
| Cliff De Long | 9/26/2002 | 8:21:33 PM | is what came back |
| Haomin Wang | 9/26/2002 | 8:21:53 PM | because 7 is not recognized by W3 |
| Trina Johnson | 9/26/2002 | 8:22:08 PM | Dr. Wang, I am in the process of teaching a web design curriculum through the Cisco Program. It touches on all aspects of web design but will mainly focus on Adobe Products. I have been finding contradictions between that and this book's curriculum. Is this uncommon? |
| Haomin Wang | 9/26/2002 | 8:22:11 PM | W3 considers it 5 |
| Bruce Long | 9/26/2002 | 8:22:44 PM | Trina, what kind of contradictions? |
| Haomin Wang | 9/26/2002 | 8:23:07 PM | contradictions in naming or ...? |
| Bruce Long | 9/26/2002 | 8:23:18 PM | I love Adobe products for web design. |
| Cliff De Long | 9/26/2002 | 8:23:19 PM | [Private to Bruce Long] I'll bring a set to the next beeting - that Brian has been talking about... |
| Trina Johnson | 9/26/2002 | 8:23:23 PM | Best things to use - How to use them - |
| Cliff De Long | 9/26/2002 | 8:23:30 PM | [Private to Bruce Long] meeting - freudian |
| Trina Johnson | 9/26/2002 | 8:23:48 PM | I'm still learning adobe. I'm a Microsoft person yet |
| Cliff De Long | 9/26/2002 | 8:23:56 PM | [Private to Trina Johnson] Maybe on a Mac - they suck at UNIX |
| Haomin Wang | 9/26/2002 | 8:24:03 PM | anyone used Macromedia tools? |
| Cliff De Long | 9/26/2002 | 8:24:15 PM | Yep |
| Bruce Long | 9/26/2002 | 8:24:19 PM | [Private] That would great! I may not be there because it is my son's birthday. If not, give them to Bruce Mastel. I'll get them from him. thanks! |
| Cliff De Long | 9/26/2002 | 8:24:43 PM | [Private to Bruce Long] OK - we got an A! |
| Haomin Wang | 9/26/2002 | 8:24:45 PM | For photo editing, Adobe Photoshop is the top |
| Trina Johnson | 9/26/2002 | 8:24:59 PM | I tried using flash, but struggle yet |
| Haomin Wang | 9/26/2002 | 8:25:04 PM | But Macromedia Flash is powerful for web graphics |
| Bruce Long | 9/26/2002 | 8:25:18 PM | Adobe GoLive is great for non-programmers that come from a graphics background--me! |
| Trina Johnson | 9/26/2002 | 8:25:55 PM | I have a few really basic questions. Can you do the same things that flash or illustrator does just using hard coding? |
| Haomin Wang | 9/26/2002 | 8:26:07 PM | now that Macromedia is linking Flash to Codefusion, it's going to be more powerful |
| Trina Johnson | 9/26/2002 | 8:26:33 PM | Why is there so many types of code, why don't they all work the same? |
| Cliff De Long | 9/26/2002 | 8:26:52 PM | yes trina, you can, but it would take thousands of lines - |
| Haomin Wang | 9/26/2002 | 8:27:00 PM | I'm sorry it should be ColdFusion |
| Cliff De Long | 9/26/2002 | 8:27:08 PM | they are based on certain standards |
| Haomin Wang | 9/26/2002 | 8:27:14 PM | having written too much code today |
| Cliff De Long | 9/26/2002 | 8:27:51 PM | ColdFusion and Apache work very well together |
| Haomin Wang | 9/26/2002 | 8:28:08 PM | Trina: competition pushes progress |
| Haomin Wang | 9/26/2002 | 8:28:16 PM | and improvement |
| Trina Johnson | 9/26/2002 | 8:28:25 PM | What is the main code we will be using? or will we touch on a lot of them. My classroom curriculum focuses on XHTML. |
| Cliff De Long | 9/26/2002 | 8:28:36 PM | Macromedia interfaces are not intuitive |
| Trina Johnson | 9/26/2002 | 8:28:44 PM | Well, at least they could make them work together. haha |
| Bruce Long | 9/26/2002 | 8:28:50 PM | I am starting to get the logic of some of the coding, but still struggle with the syntax. The book teaches it primarily by example. Is there a place where all syntax is layed out to serve as a reference for writing Javascript? |
| Cliff De Long | 9/26/2002 | 8:29:10 PM | sun microsystems |
| Trina Johnson | 9/26/2002 | 8:29:15 PM | Good question |
| Haomin Wang | 9/26/2002 | 8:30:14 PM | Bruce: check out the first resources listed under "JavaScript Resources" in the course site resource section |
| Bruce Long | 9/26/2002 | 8:30:33 PM | I will go there no... |
| Bruce Long | 9/26/2002 | 8:30:36 PM | now |
| Cliff De Long | 9/26/2002 | 8:30:57 PM | java.sun.com/products/jsp/tags/12/syntaxref12.html |
| Bruce Long | 9/26/2002 | 8:31:48 PM | Cliff, that is JSP. That won't help right now will it? |
| Trina Johnson | 9/26/2002 | 8:32:32 PM | Dr. Wang, When you are creating web pages do you use many types of code? |
| Cliff De Long | 9/26/2002 | 8:32:38 PM | I will be back next week Dr. Wang - Thank You! :) |
| Trina Johnson | 9/26/2002 | 8:32:47 PM | Thank you Cliff |
| Cliff De Long | 9/26/2002 | 8:32:47 PM | [Private to Bruce Long] www.ibiblio.org/javafaq/course/week2/ |
| Haomin Wang | 9/26/2002 | 8:33:03 PM | talk to you next time |