Search:
Type: Posts; User: worldtraveller
Search :
Search took 0.01 seconds.
New assignment. This is the code i have below already supplied now.
not exactly correct yet but want to just get something to work from
i need to insert an embedded script element in head section...
I almost got part of this one program to work. It is of a golf sign with a golf ball moving across and landing in the word Golf into the "o"
When the ball lands in the o the sign of "your online...
now i have to figure how to make rest of the program to work!
ok so what would be the proper way to write this? then?
I had to do a break function and scripts in this portion. I am wondering if my format is correct
here is what i made
function createBar(partyType,percent){ // script element to create...
I just did this function in my program
I am wondering if i wrote it right?
such as the placements of my { and }
did i put them in the correct spots?
thanks
I made a mistake with my call function
it should be like this
<script type="text/javascript">
showResults(race[0],name1,party1,votes1);
showResults(race[1],name2,party2,votes2);...
Thank you
would this be proper written format?
for Calling Function
<script type="text/javascript">
showResults("race[0]","name1","party1","votes");...
Hello all here is a more intelligent question. This one is just on an exercise I am doing.
I have to call a function using parameter values.
my main function is this
function...
This is the external file we are supposed to get it all from
/*
New Perspectives on JavaScript
Tutorial 3
Case Problem 1
Filename: list.js
THank you, seems my last forum post is not what i am supposed to use
i am suppose to use the document write methods.
I am so stuck on this question, and clueless on how to get it to work.
I am...
this is how im trying to implement into my present program, but it is not working
perhaps since I have to link from 2 other files, is this would only work if it was just one single file to worry...
I put it to my editor and i can see how it works quite well. I am going to figure out how to implemented in the present assignment.
Can I implement it without putting in document.write statements?...
this is the entire program
<html>
<head>
<!--
New Perspectives on JavaScript
Tutorial 3
Case Problem 1
Well this is part of a whole program i am working on. i can show u the entire program.
it is a javascript file that links to 2 other files, based on a series of questions.
would u like to see...
this is my corrections
<script type="text/javascript">
var counter;
for (counter=0; counter<amount.length; counter++)
{
document.writeln("<table>");...
How should i go about rewritting this loop, it seems to be wrong
how should i organize it?
heres the coding.
<script type="text/javascript">
var counter;
How does my array look so far?
thanks
I think so
what i was supposed to do was
insert a script element that contains the function
amountTotal()
then add commands to the function
Good evening I am new to javascript I am doing this practice exercise for a project.
I am creating graphs etc
I have 3 files to which i link together.
I have to work on one so far
this is my...