MidiMagic 579 Nearly a Senior Poster

I'm not sure what you want.

MidiMagic 579 Nearly a Senior Poster

Use the method

variablename.toFixed(2)

in your statement placing the value in the field (Where 'variablename' is, put the name of your variable).

MidiMagic 579 Nearly a Senior Poster

Could we see the line it reported the error in?

Possibilities:

- You misspelled a style, class, or id at some point, so the stylesheet name doesn't match the name in the webpage code..

- You used a word for an IE built-in nonstandard style in another context.

- If you are using a strict doctype, you used a style attribute alone (e.g. 'checked') where it needs a value (e.g. 'checked=checked'). Lone attributes are not allowed in strict doctypes.

- You used " in a context where it needs to be " instead, causing the opening and closing of quotes to be out of sync.

- You put < in a style or a script.

MidiMagic 579 Nearly a Senior Poster

There are two problems here:

1. If you could find a way to do that, someone with malicious intent could destroy the school's files.

2. Game-playing is usually prohibited on all academic systems, as it is a waste of computing resources and taxpayer dollars.

MidiMagic 579 Nearly a Senior Poster

Questions:

- Is this happening in the Excel spreadsheet, or only in the mail-merge?

- Are these cells typed in, or calculated by formula?

- Are any macros acting on the cells?

Remember that formatting a cell does not change the value in the cell, but just how it is displayed.

One suggestion is to enter the values in those cells as text, not a number. Put an apostrophe (single quote) in front of the value, to force it to be text.

MidiMagic 579 Nearly a Senior Poster

Nobody has any insights on this?

MidiMagic 579 Nearly a Senior Poster

I teach a beginners class using Excel.

During an examination, some of my students misread the instructions (provided by the department, not by me). These are the kinds of errors only a novice could make. This caused the following two errors to occur.

- Instead of just putting data into a group of cells named the "constants table", some of them used the Data / Table function to create this table. We don't even teach about Data / Table, but they had just had tables in Word a few weeks earlier, and did what you do in word.

- The instructions used BASIC-style programming assignment statements to tell the students what kinds of formulas to put in the cells. The novices put in the entire assignment statement, instead of just the right side. This caused a circular reference, since the left side referred to the cell it was in.

- If these students made other errors, I don't know what they were. I can't replicate this trouble by trying to do it on purpose.

The infinite-loop problem happened when the student made BOTH of the first errors, plus some other error I can't think of. When they made one of the circular errors that also had a reference to the constants table, the following error messages occurred in sequence:

1. The circular error dialog box opened, put the cursor on the error cell, and opened it for editing. The colored indicators appeared, with one …

MidiMagic 579 Nearly a Senior Poster

Can you convert inches to pixels?

1 inch = 2.54 cm.

MidiMagic 579 Nearly a Senior Poster

Save the word document as a web page from Word.

File / Save as web page

MidiMagic 579 Nearly a Senior Poster

Try Corel PhotoPaint (included with Corel Draw). It has capabilities to resample the image with low loss.

MidiMagic 579 Nearly a Senior Poster

The search engine can find and index content that is in the HTML/XHTML file, but is made to appear and disappear with JavaScript-controlled style changes.

It cannot find or index content that is inserted by JavaScript into an already-rendered HTML/XHTML page.

MidiMagic 579 Nearly a Senior Poster

I just had a glimmer: Maybe their operating system requires 3-character filename extensions.

Try renaming the files with the .htm extension, instead of the .html extension.

Another possibility is that your own ISP or your security settings is blocking the transfer of these files.

MidiMagic 579 Nearly a Senior Poster

Then this guidebook I have is wrong. It says that name is required in HTML, id is required in HTML.

Sorry about that. It was the only thing I could find that looked out of place.

The only other thing I can think of is that I have occasionally had IE render two things in the same place, hiding one if them.

It would help to see the stylesheet.

MidiMagic 579 Nearly a Senior Poster

The scrollbar does not belong to you (as a web programmer).

It belongs to the owner of the computer that is doing the browsing.

The only standard way to change its color is in the Display menu in Control Panel. This must be done on the user's computer, not in the script.

Internet Explorer has a nonstandard way (what you were doing) to change the scrollbar color, but it doesn't work in other browsers.

MidiMagic 579 Nearly a Senior Poster

I agree with that.

MidiMagic 579 Nearly a Senior Poster

To send me a personal message, click my screen name MidiMagic in this post, then click on the link, "Send a private message to MidiMagic" on the page that opens.

MidiMagic 579 Nearly a Senior Poster

It's getting close to Christmas. PayPal always gets more traffic then from eBay.

MidiMagic 579 Nearly a Senior Poster

Then tell me why it is that, when I put name attributes into form tags, it returns that there is no such attribute in form tags when I try to validate it in the XHTML 1.0 Strict doctype?

I emailed W3C about it, and they told me the name attribute is deprecated in form tags, but that, until recently, the validator was erroneously not catching it.

I am going to take their word above yours.

MidiMagic 579 Nearly a Senior Poster

I had them turned off, so I didn't notice.

MidiMagic 579 Nearly a Senior Poster

I collect stupid criminal events. Among my favorites are:

- The criminals tried to steal copper wire from a warehouse, so they rolled a 10-ton spool of coper wire off a loading dock into a half-ton pickup truck. That was one flat truck! All the tires blew out, and the bed was smashed down to the ground.

- Burglars were unable to fit the safe they stole into the pickup truck they brought, so they went to get a bigger truck. Meanwhile, the owner showed up, found his safe in the driveway, and called police. They told him to take everything out of the safe, lock it again, and leave it there. Police were waiting behind the bushes when the burglars returned.

- The mail bomber put his return address on the bomb. It was returned for insufficient postage, and his wife opened the package and blew both of them up.

- The drunk spent all night trying to break into a warehouse by trying to break a window. The door next to it was unlocked, and the warehouse was empty.

- The snatch thief grabbed a dozen multipack cartons of cigarettes, raced toward the door of the convenience store, and knocked himself out against the locked side of a twin door set.

- The owners of the house came home to find a burglar with all of their valuables piled beside him, playing a video game on their TV. He was still playing …

MidiMagic 579 Nearly a Senior Poster

I will quote from the macroeconomics book I used in college:

"Modern macroeconomics is often seen as a battleground for conflict between two implacably opposed schools of thought - monetarism, represented by its champion, Milton Friedman, and "keynesianism", or nonmonetarism, or fiscalism, represented by economists such as Franco Modigliani and James Tobin. This view is seriously misleading. There are indeed conflicts of opinion and even theory between monetarists and nonmonetarism, but much more there are major areas of agreement: there is far more to macroeconomics than the topics on which monetarists and fiscalists disagree. We do not emphasize the monetarist-fiscalist debate in this book, preferring to discuss substantive, while mentioning alternative views where relevant."

Macroeconomics
Rudiger Dornbusch & Stanley Fischer
(C) 1978 McGraw-Hill page 5

In the book, they then outline how all markets interact with each other, how markets cannot stay out of balance, how monetary and fiscal policy interlock together, and how, if misused, fiscal and monetary policies create an oscillatory feedback loop.

MidiMagic 579 Nearly a Senior Poster

Maybe number of black footprint images covering the package, so that bag of charcoal would be totally covered.

First I want verified scientific PROOF that a carbon footprint is dangerous, before anybody puts out labels. All we have right now is political blather, bad science, and religious fervor from environmentalists.

MidiMagic 579 Nearly a Senior Poster

So why aren't there huge amounts of these cheaply fueled nuclear powerplants around?

Environmentalists are as afraid of radioactivity as they are of lead and mercury.

MidiMagic 579 Nearly a Senior Poster

They have recently discovered that old age has very little to do with hearing loss. It's cumulative damage from exposure to loud noise.

Doctors in the 1940s concluded there was age-related hearing loss, but it is now known that most people were exposed to damaging noises from factory work, steam trains, and firearms. Soldiers in war were especially likely to show hearing loss.

NIOSH recommends that exposure to any sound over 85 dB SPL be limited to short intervals, and that no person be exposed to any sound over 115 dB SPL. The EPA recommends exposure control starting at 70 dB SPL.

Also realize that you might be experiencing a limit from your soundcard or speakers.

I had changed stereo speakers back in the 1970s, and thought I had a sudden hearing loss. I heard up to 22KHz with the old speakers, but up to only 17 KHz with the new ones.

MidiMagic 579 Nearly a Senior Poster

I found a dilemma that disproves life happening by chance:

In order for a cell to reproduce, a cell needs the blueprints (DNA) for building another cell, and it needs the device to read the blueprint and build the parts (ribosome).

Let's assume that one complete cell came together by random chance. It has DNA formed by random chance, and it has a ribosome.

It's the second cell that bothers me. There are two events that must exist together independently that don't make sense. Assuming the first cell got its ribosome through random chance, how did the second cell also get one.

Case 1: Assuming that the ribosome independently developed away from the DNA, how did the instructions for building a ribosome get recorded onto the DNA, so the second cell could have one?

Case 2: Assuming the plans for the ribosome were on the DNA before the cell came together, what was used to read the DNA so the first cell could have a ribosome?

This is sort of like making a compact disc recorder-player and a blank compact disc, and upon inserting the first blank compact disc into the recorder-player the first time, finding the blueprint for the recorder-player already recorded on the disc.

lasher511 commented: Good argument. +3
MidiMagic 579 Nearly a Senior Poster

These packages cost money. The original poster (or his employer) probably already spent the budget on Corel Draw. Telling him to spend more money is not a good solution.

MidiMagic 579 Nearly a Senior Poster

The id attribute is required in a form tag in XHTML, the name attribute is required in the form tag in HTML. You have neither in the form in the last div displayed.

MidiMagic 579 Nearly a Senior Poster

You are using a nonstandard IE extension to JavaScript.

The correct name for the style is "fontWeight", not "font".

MidiMagic 579 Nearly a Senior Poster

But name is deprecated in XHTML. It won't even work, and the code won't validate. That support will be gone.

Read this portion of a page by W3C:

http://www.w3.org/TR/xhtml1/#h-4.10

MidiMagic 579 Nearly a Senior Poster

Please don't! I absolutely HATE sites that destroy my ability to return to where I came from.

MidiMagic 579 Nearly a Senior Poster

They changed it.

I did see the footage, but not where it is on my earlier recorded tape. They apparently edited it, and traded two pieces of video that were in the wrong place, without changing the order of the dialog under the videos. The footage is now among the part about the original collapse of Buildings 1 and 2. My tape has an image of the collapse of building 7 there.

Watch it at 12 midnight. The image is about a quarter of the way into the show.

MidiMagic 579 Nearly a Senior Poster

The segment is about to air.

MidiMagic 579 Nearly a Senior Poster

The clocks are messed up because of Daylight-Stupid Time

MidiMagic 579 Nearly a Senior Poster

The problem is the difference between how Firefox and other browsers correctly interpret the W3C DOM, and the way Internet Exploder mangles it:

The correct (Firefox) way is for a measured box to have the margins, border, and padding OUTSIDE the box.

IE puts these things INSIDE the measured portion of the box.

So with IE, the mainContent margin, border, and padding scrunch in between mainContent and post, instead of being outside mainContent.

MidiMagic 579 Nearly a Senior Poster


An example of the engineering code would be as follows.

9000000C00000002

This would translate as the customer having offers 63,60,31,30,1

Expand each hexadecimal digits to binary bits:

0 = 0000
1 = 0001
2 = 0010
3 = 0011
4 = 0100
5 = 0101
6 = 0110
7 = 0111
8 = 1000
9 = 1001
A = 1010
B = 1011
C = 1100
D = 1101
E = 1110
F = 1111

So the hexadecimal number:

9000000C00000002

Becomes binary

1001,0000,0000,0000,0000,0000,0000,1100,0000,0000,0000,0000,0000,0000,0000,0010

Each bit is an item. The leftmost bit is item 63, and the rightmost bit is item 0.

The ones are in bit numbers 63, 60, 31, 30, and 1. (bit 0 is rightmost)

MidiMagic 579 Nearly a Senior Poster

Use id instead of name. I already asked the W3C this question.

The only use of name not deprecated is the grouping of radio buttons.

The choice to use XHTML is not mine to make.

IE7 supports it fairly well. There are only a few places where it doesn't work as defined, and IE7 mangles HTML the same way.

joshSCH commented: Dumbass.. -2
MidiMagic 579 Nearly a Senior Poster

One idea is to make a sine wave using the sine function:

var x = Array(50);
var y = Array(50);

function makesine(){
  var i;
  for(i=0; i<50;i++){
    x[i] = i/10.0;
    y[i] = Math.sin(x[i]);
  };
};

function showgraphic(){
  var i, px, py;
  px = x[0]; py = y{0};
  for(i=1; i<50;i++){
    drawLine(px, py, x[i], y[i]);
    px = x[i]; py = y{i};
  };
};

Change the drawLine function if you have a different package.

MidiMagic 579 Nearly a Senior Poster

I agree. Make it darker, and then disappear it when editing has started. Put a copy above the window.

MidiMagic 579 Nearly a Senior Poster

So how do I see the smilies without being bombarded by bumbling screen tips?

MidiMagic 579 Nearly a Senior Poster

The show just started.

MidiMagic 579 Nearly a Senior Poster

It wasn't unsafe in ordinary fires. The crash destroyed the fire sprinkler system and filled the space with jet fuel. These are not conditions normally found in building fires.

It's not the usual case that parts of the building are destroyed before the fire starts.

They probably could have saved Building 7 if someone had remembered the diesel-engine powered diesel-fuel pump installed to supply generators on the upper floors from a tank in the basement in the event of a power failure. The fall of Building 1 severed this pipe and filled a floor with diesel fuel. If someone had shut down that pump, the building wouldn't have collapsed.

MidiMagic 579 Nearly a Senior Poster

The fact of the matter is you blatantly said that the volume of ice is equal to the same mass of liquid water. This is FALSE!

Truth: The volume of ice must be greater than the same mass of liquid water.

That is true. But because the ice is FLOATING on water, the extra volume is the part sticking up into the AIR. 90 percent of a floating piece of ice is below the water level, but the other 10 percent is sticking up into the air. A floating body will displace its weight in water, with the rest of the volume of the floating body sticking up into the air. Otherwise, we couldn't have boats.

What I said was that AFTER IT MELTS, the water that used to be ice displaces the same amount of water that it displaced when it was ice. The extra volume in the ice displaces air, not water.

Here is an experiment for your (naughty bits deleted) to do: Make some ice cubes, you will notice that the ice takes up more space than the water. Put a coke in the freezer.. the water expands and the can will burst.

Now drop that ice into water, and notice how much of the ice sticks up above the surface of the water. It's EXACTLY the extra volume the ice has over that of the same mass of liquid water.

John A commented: Good job on being patient and explaining. +12
MidiMagic 579 Nearly a Senior Poster

Anti-War activists and environmentalists will lie to get their way. Their ends "justify" their means.

Those who hate the President have told more lies than anyone else on the planet. Some of them are real whoppers. The sad part is that most of them believe the lies.

MidiMagic 579 Nearly a Senior Poster

No, it will be everyone in the middle east attacking Israel.

Why does everyone think Christians want war? Christians just don't rabidly oppose it like the PC people do, because death is not the end to Christians.

War is prohibited in the Baha'i Faith. PC was plagiarized from the Baha'i religion.

MidiMagic 579 Nearly a Senior Poster

Then why did it appear in bold (marked "New post")?

I usually don't look at the date of posts so marked.

MidiMagic 579 Nearly a Senior Poster

I don't have time to go through your bull shit.. but this I instantly found as stupid, You know nothing about physics.. you are a complete dunce. Water is a strange substance in which it's solid form is less dense than it's liquid form.. This property is one in which helps us live on this planet. An ice cube takes up more volume than it's equivalent liquid form. Idiot.. my brother in second grade knows that. Will you please stop posting... everything you post is stupid.

I TEACH physics.

The fact that water is a strange substance does not change the physics of floating bodies. I can even show you the molecular structures that cause this.

The solid form being less dense is what makes it float. Thus, it displaces its weight in water, not its volume. That's why part of the ice sticks up out of the water. Look this up in a physics book.

When a mass of ice melts, it weighs exactly the same as it did before (because it has the same number of atoms in it). But now it is part of the water, instead of sticking up above it. The water level doesn't change when floating ice melts.

If you don't believe me, try an experiment we have done in class. Put some ice cubes in a large diameter glass, but not enough that the cubes touch the glass all around (so the surface tension of water on the ice …

MidiMagic 579 Nearly a Senior Poster

I hit the %$#$# time limit, so I have to do the second half again.

You moron.. even if that is true, then it is already deducted when you receive your paycheck.. so you just added it AGAIN to the total percentage.

The name calling subtracts from your argument.

And it's not the same money. The government takes 7.5% from you, and makes the employer pay a matching 7.5%, for a total of 15%. But you end up paying it yourself, either as a loss in your paycheck, or as an added cost which does not go into producing the product, but which is included in the price of the product.

That is by far the dumbest thing I have ever heard of... and of course, you provide no evidence at all for this.. so, I will assume you made it all up (since this is what you usually do).

Wrong.. Idiotic.. Stupid.. you obviously know nothing of economics.

You are such a dumbass!!

Your credibility is slipping. Argumentum ad hominum (name calling and abuse) is also a fallacious argument mode. very illogical.

Keynesian economics believe that the government should do something in order to fix the business cycle.. previously, it was believed that the business cycle would auto-correct.

That's classical economics. Neoclassical economics believes that government should do something, but that Keynesians are doing it wrong.

And yes, the government can create wealth by spending money. It's called fiscal policy.

That's NOT creating wealth. …

MidiMagic 579 Nearly a Senior Poster

No, because you would have to pay for it anyway idiot.

- I wouldn't have to pay the storm water tax if the government hadn't squandered the money originally earmarked for it on art.

- I wouldn't have to pay the sewer tax if government didn't require sewers. I would have a septic tank. But government sees it as a way to get more money to waste on trivia.

- We used to drive to the dump with our trash for free.

You moron.. even if that is true, then it is already deducted when you receive your paycheck.. so you just added it AGAIN to the total percentage.

The name calling subtracts from your argument. And it's not the same money. The government takes 7.5% from you, and makes the employer pay a matching 7.5%, for a total of 15%. But you end up paying it yourself, either as a loss in your paycheck, or as an added cost which does not go into producing the product, but which is included in theprice of the product.

That is by far the dumbest thing I have ever heard of... and of course, you provide no evidence at all for this.. so, I will assume you made it all up (since this is what you usually do).


Wrong.. Idiotic.. Stupid.. you obviously know nothing of economics.

You are such a dumbass!! Keynesian economics believe that the government should do something in order to fix the …

MidiMagic 579 Nearly a Senior Poster

I don't believe in a conspiracy. My proof of NO conspiracy was posted earlier.

Don't take my word for it. Watch the show.

MidiMagic 579 Nearly a Senior Poster

What? Are you a dumbass? Sex is a civil right.. and usually when you have sex both people agree to do it.. otherwise, thats called rape.

Sex is not a civil right. If it were, there would be no such crime as rape.

You moron.. that isn't logic. You are using god in your argument! How is this not religious? You are presupposing that a god exists.. so using a statement like 'god's law' automatically makes your argument unsound.

Your emotional response and name calling are not logical. They are the usual response of a liberal who can't find any logical response.

Actually, the assumption that God exists is not a requirement to my argument. I call it "God's law" because that's what the original source calls it. But if you call it "Peabody's law" instead, the same argument applies. If people obeyed it, there would be no STDs epidemics.

Do I detect a hatred toward God swaying your judgment?

God invented AIDS to punish those who disobeyed him? Wow.. what a forgiving god.

How in the world did you deduce that from what I said? It certainly is not a logical conclusion. Did you make it up? Or is it more of that liberal emotional "logic"???

What I said is that God predicted that people would spread epidemics through promiscuity. He prohibited promiscuity to prevent the spread of disease.

Using the same faulty logic, I could say the police enforce speed limits just …