Closed Thread Icon

Preserved Topic: I need another pair of eyes! Pages that link to <a href="https://ozoneasylum.com/backlink?for=17988" title="Pages that link to Preserved Topic: I need another pair of eyes!" rel="nofollow" >Preserved Topic: I need another pair of eyes!\

 
Author Thread
Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 06-26-2001 05:58

I have a test page at Drugs Chart

Everything works fine, except when you pick NARCOTICS. I've looked at the array entry a zillion times, and I still don't see a problem. Anyone got a minute to take a look?

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 06-26-2001 06:32

Nevermind - I didn't know you can't use escape characters in arrays....I learned something new today.

3rdperson
Paranoid (IV) Inmate

From: your subconscious. (scared yet?)
Insane since: May 2001

posted posted 06-26-2001 06:39

threep looks around, downloads, tinkers, and says:
"hey pugz,
it looks like your prob is in the "d's". the escape key aint working properly, probably cause your quotation marks are so nested...
the quick solution i can find for this is:

code:
(D´s)


...and in netscape....
'form is not defined.'
hope this helps."

editing, threep puts in:
"that was '´'...., not '´'!"

switching to a more conversational tone, threep adds:
"hey pugz, this is bizarre - im working on an almost IDENTICAL piece of code myself! so similar, its scary. REAL scary."
threep has to share this. he tries to upload to his tripod host, but alas, without success....
"here's a bit of my code:

code:
function listCovers(job) { //list all the covers for the specified occupation
if(isLoaded) {
list = "Desirable Covers:"
list += "<br>";
for (i=0;i<job.desirable.length;i++) {
list += "<a href='"
list += job.desirable[i].infoURL
list += "'>"
list += job.desirable[i].coverName
list += "</a><br>"
}

list += "<br>"
list += "Optional Covers:"
list += "<br>";
for (i=0;i<job.optional.length;i++) {
list += "<a href='"
list += job.optional[i].infoURL
list += "'>"
list += job.optional[i].coverName
list += "</a><br>"
}

oDesc.writeIt(list)
oDesc.css.visibility='visible'

}
}


...honestly, our approaches were so identical, it scares me."


[This message has been edited by 3rdperson (edited 06-26-2001).]

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 06-26-2001 07:00

Thanks, Threep. I actually figured it out just before you replied. I actually used &#146; for the quote, and that solved the problem.

Netscape reports an error, eh? Damned NN sucks......

<heading off to find correct way to define the field in NN>

3rdperson
Paranoid (IV) Inmate

From: your subconscious. (scared yet?)
Insane since: May 2001

posted posted 06-26-2001 07:21

sifting thru code, threep spots the first problem:
"hey pugs, try first off replacing this:

code:
function presentInfo(){
x = form.typeofdrug.value;


with this:

code:
x = document.form.typeofdrug.selectedIndex;



and that should fix your first problem.
as for the second... i cant be bothered going thru netscape object property issues, so i'll mail you my html."
...and true to his word, threep wanders off and does so.

« BackwardsOnwards »

Show Forum Drop Down Menu