Monday, May 26, 2008

how can i write an asp/html program that does following:

When we roll over our mouse over the text "Roll your mouse over my text"- it should change to "Wow that feels good!!!" with font color red.
Please help me. i d be very thankful if the program ll not use javascript and if the program need javascript in any way- then only give my ur program in javascript or any other script. thank you

ok... i have a youtube account and the flash drive i was using was working perfectly fine but when my friend came over and i wanted to show him a video. it wouldn t let. it said my javascipt was either shut off or i needed to down load and install a newer version of adobe flash. my javascript is on and the screen says that the newer flash is completely installed but i still can t watch any of my playlist.

does anyone know a way i can find out what s wrong?

<script>
var Comp = Math.floor(Math.random()*100)+1;
do
{
var Pick = prompt("Pick a number between 1 and 100.");
if (Comp<Pick){alert("Too High")
}else
if (Comp>Pick){alert("Too Low")
}else
if (Comp == Pick){alert("Alright! You win! It took you (count inserted here)times")}
}
while (comp=Pick);
</script>


Well help me out here. This is a basic javascript game. Well the part I am having trouble with is the counting part. I want to count all the inputs made into the prompt. And when that number is displayed I want it on the "Alright!... " alert section. If that is not possible how would I go about to display the number of inputs? document.write statement is what I am thinking.

how do check my firewall-web browser and antivirus to see if javascipt is allowed--- i have windows vista- internet explorer 7- webroot spysweeper-windows defender- windows firewall and trend micro anti virus--

Help! Ok- today YouTube said that I have an error and that I need to activate my JavaScript and download Adobe Flash Player. But I already have done all of that! I am in desperate need of YouTube!!!
Also- on any site that I go on (such as FuzzAcademy- Gaia- etc..) it says I need Adobe Flash Player too.
Help?
Thanks~

No comments: