Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LINKS BETWEEN DIFFERENT FOLDER AND SUBFOLDERS???

Status
Not open for further replies.

melstef

Programmer
Feb 19, 2003
69
0
0
CA
Hello,
I have the same quiz under different folders. I would like to put the quiz only in one folder so this would be easier for updates.
it goes something like this:
1 - (I click on the quiz page and it goes here)
2 - (then I choose between 2 quizzes and it goes here)

3- ( when I am done and would like to receive my certificate
I would like to go here)

4-

The problem is under #3, I cannot forward to the #4

Could someone help me please???

Thanks
 
what's stopping you from forwarding it?
Can we see some code?

----------------------------------------
Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
 
this is my code and it doesn't work:
function NextLevel () {
if (score > 10) {
alert("You cheated.");
}
if (score >= 10 && score <= 10) {
self.location="../quizinfo.htm"

}
 
this is my button:
<input type=button onClick="NextLevel()" value="Receive Your Certificate">
 
Incidentally, this is pointless:

Code:
if (score >= 10 && score <= 10)

Why not just have

Code:
if (score == 10)

and save the clock cycles?

Dan
 
The only way I could think of to do this would be to put the url in the link. See faq216-5442.

As an aside, this seems like it would be more appropriate in the javascript forum, forum216.

--Chessbot

"See the TURTLE of enormous girth!"
-- Stephen King, The Dark Tower series
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top