Computing desk | ||
---|---|---|
< December 12 | << Nov | December | Jan >> | December 14 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
Note that the current page is not one that I opened with Javascript (let's say the user clicked on a link after a Google search to get here). I tried:
window.close();
This only seems to work on some platforms. I found many suggestions online, but none that work on all platforms I tested (Chrome, Firefox, Opera, and IE). Any ideas ?
Thanks, StuRat ( talk) 02:54, 13 December 2015 (UTC)
I have a quiz with 10 questions (each question should bring 10 points if answered correctly). Each question is a yes or no question. Whenever a user clicks on the right answer a string "Y" (Y) appears, and when ever it clicks on the wrong answer an "X" (X) appears.
My question is, if I want that every Y to bring +10 points, and every X to bring -10 points to the total possible sum of 100 hundred points, what is the right way to do that? How could I use each printed Y\X to add or subtract 10 points?
Thanks, Ben-Yeudith ( talk) 16:22, 13 December 2015 (UTC)
Computing desk | ||
---|---|---|
< December 12 | << Nov | December | Jan >> | December 14 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
Note that the current page is not one that I opened with Javascript (let's say the user clicked on a link after a Google search to get here). I tried:
window.close();
This only seems to work on some platforms. I found many suggestions online, but none that work on all platforms I tested (Chrome, Firefox, Opera, and IE). Any ideas ?
Thanks, StuRat ( talk) 02:54, 13 December 2015 (UTC)
I have a quiz with 10 questions (each question should bring 10 points if answered correctly). Each question is a yes or no question. Whenever a user clicks on the right answer a string "Y" (Y) appears, and when ever it clicks on the wrong answer an "X" (X) appears.
My question is, if I want that every Y to bring +10 points, and every X to bring -10 points to the total possible sum of 100 hundred points, what is the right way to do that? How could I use each printed Y\X to add or subtract 10 points?
Thanks, Ben-Yeudith ( talk) 16:22, 13 December 2015 (UTC)