Thursday, June 19, 2008

I have been getting this error in all the YouTube videos I have loaded today. This happened after installing a Flash security update that appeared after turning on my computer.

I use Internet Explorer and have a Windows XP.

I have updated my Flash Player four times- checked to see if JavaScript was on- updated my Java- turned off hardware acceleration in flash settings (turned it back on after that plan failed)- put YouTube in Trusted Sites (turned it back on after that plan failed)- and restarted twice. (Haven t restarted after Java update.)

I am not technologically retarded- but I am not a techno-master either. Please give CLEAR- DETAILED instructions with your answers.
So far- I think reinstalling Flash is the best opition since an update of Flash may have caused this in the first place.

However- just to be sure- can someone also explain how to "uninstall" flash?

out of nowhere my computer is telling me when i go on a myspace page or youtube that i can t listen to a song and it says "Hello- you either have JavaScript turned off or an old version of Macromedia s Flash Player. Click here to get the latest flash player. " well- i don t have javascript turned of because i already checked that- and i went to adobe and it told me to uninstall the old program and then reinstall flash player- so i did and now it won t let me reinstall! i am going crazy here- i am like lost without music haha and this is just so frustrating no matter what i do it won t work- please help! points to the best answer. (:

It says I either have javascript turned off (I don t) or I need to update flash (I have the newest already). It had been working fine.

I have the following code:

<tr onmouseover="myFunction"> </tr>

The event handler is assigned dynamically but that is basically it.

I would like to iterate through all the TD elements in the TR using JavaScript (so I can change the color of each one).

How can I do this?
I wanted to change the font color- not the background color. I ended up using getElementsByTagName on the row and then used a for loop to iterate through each element- setting the color of each one individually. This made the hover-row stand out a bit more than just changing the background color alone.

Here is the program I wrote designed to determine whether a user has sufficient funds to make a purchase.

<html>

<title>Banking</title>

<body>

<h2>Are There Sufficient Funds in Your Account?</h2>

<script language="JavaScript">

//declare variables

var new_balance=Number(new_balance)


//prompt the user for the current balance

balance = prompt ("Please enter the current account balance"-"")

var balance=("Please enter the current account balance"-0)

balance=Number(balance)


//prompt to find out the amount owing

balance = prompt ("Please enter the amount owing"-"")

var amountOwing=("Please enter the amount owing")

amountOwing=Number(amountOwing)


//determine whether there are sufficient funds
if(balance == amountOwing)
{
document.write("Sorry- you don t have enough money in your account to buy

this item")
}


// process

var new_balance = balance - amountOwing

//output results

document.write("Your new balance is $" + new_balance + ".00" )

document.write("Thanks")
I know that the error means not a number- but why does it say that? I mean ...what s wrong with the program that at the end displays such thing...! :((( Are the calculations good? Am I doing something wrong?

What do I need to know and use in order to do this? Does anyone have examples of how its done or know what portion of the phpAdmin JavaScript accomplishes this?

No comments: