Hacking and more...
HaCkinG CulT
Lista Forumurilor Pe Tematici
Hacking and more... | Reguli | Inregistrare | Login

POZE HACKING AND MORE...

Nu sunteti logat.
Nou pe simpatie:
AlexandraPopa
Femeie
25 ani
Bucuresti
cauta Barbat
25 - 39 ani
Hacking and more... / La Cafenea / corectati-va Moderat de Shocker, hfhun
Autor
Mesaj Pagini: 1
HIENA
Old School Member

Din: Pe luna cu extraterestri
Inregistrat: acum 18 ani
Postari: 433
puteti modifica aceasta chestie si puneti voi intrebarile si va verificati singuri


<html>
<head>
<title>Javascript Questions By Aaron Connelly</title>

<script language="javascript">

/*

    By: Aaron Connelly
   Email:
   This script is the property of Aaron Connelly
  Must stay intact for use

*/


function animateQuestion(){

//The wrong variable. The W shows on the left side of the
//question if the person gets the answer wrong
var Wrong="<font color='red' size=3><B>W</B></font>"
//The Right variable. The C shows on the left side of the
//question if the person gets the answer right.
var Right="<font color='red' size=3><B>C</b></font>"
//The Message you say to the visitor if he/she gets a perfect score.
var perfectScore="CONGRATULATIONS on getting a perfect Score!"
//The Message you say to the visitor if he/she's score is between 50-90
var Score5090="Good Job!"
//The Message you say to the visitor if he/she's score is below 50
var below50="Not so good!"



//Don't EDIT Below this line
var percent="100"

if(document.forms[0].A1.checked){
document.all.Wrong1.innerHTML=Right
var subtract1=0
}
else{
document.all.Wrong1.innerHTML=Wrong
var subtract1=10
}
if(document.forms[0].A2.checked){
document.all.Wrong2.innerHTML=Right
var subtract2=0
}
else{
document.all.Wrong2.innerHTML=Wrong
var subtract2=10
}
if(document.forms[0].A3.checked){
document.all.Wrong3.innerHTML=Right
var subtract3=0
}
else{
document.all.Wrong3.innerHTML=Wrong
var subtract3=10
}
if(document.forms[0].A4.checked){
document.all.Wrong4.innerHTML=Right
var subtract4=0
}
else{
document.all.Wrong4.innerHTML=Wrong
var subtract4=10
}
if(document.forms[0].A5.checked){
document.all.Wrong5.innerHTML=Right
var subtract5=0
}
else{
document.all.Wrong5.innerHTML=Wrong
var subtract5=10
}
if(document.forms[0].A6.checked){
document.all.Wrong6.innerHTML=Right
var subtract6=0
}
else{
document.all.Wrong6.innerHTML=Wrong
var subtract6=10
}

if(document.forms[0].A7.checked){
document.all.Wrong7.innerHTML=Right
var subtract7=0
}
else{
document.all.Wrong7.innerHTML=Wrong
var subtract7=10
}
if(document.forms[0].A8.checked){
document.all.Wrong8.innerHTML=Right
var subtract8=0
}
else{
document.all.Wrong8.innerHTML=Wrong
var subtract8=10
}
if(document.forms[0].A9.checked){
document.all.Wrong9.innerHTML=Right
var subtract9=0
}
else{
document.all.Wrong9.innerHTML=Wrong
var subtract9=10
}
if(document.forms[0].A10.checked){
document.all.Wrong10.innerHTML=Right
var subtract10=0
}
else{
document.all.Wrong10.innerHTML=Wrong
var subtract10=10
}

var total=subtract1+subtract2+subtract3+subtract4+subtract5+subtract6+subtract7+subtract8+subtract9+subtract10
c=100-total
if(c==100){
document.all.Percent.innerHTML="<b>Your Score is - " + c + "% - " + perfectScore
}
else if(c>=50 && c<=90){
document.all.Percent.innerHTML="<b>Your Score is - " + c + "% - " + Score5090
}else{
document.all.Percent.innerHTML="<b>Your Score is - " + c + "% - " + below50
}
document.all.Percent.style.color="blue"


}

</script>
</head>
<body>




<!--BEGIN SCRIPT-->
<!--Place this part where you want it to show-->
<!--Be sure to name the correct answer in line with the question. Example Below-->
<!--If the question is 1 then the answer(checkbox) will be called A1. So forth-->

<form>

<table border=2 width=500>
   <tr>
      <td bgColor="skyblue">
  <!--QUESTION1-->
     <font color="black"><b>How many hours does a Lion usually sleep?</b>
      </font>
   </td>
    <td><div id="Wrong1"></div>
   </td>
   </tr>
   <tr>
   <td>
         <!--ANSWERS1-->
       A)<b> 10</b> </td><td> <input type="checkbox" name="">
   </td>
   </tr>
   <tr>
   <td>
      B)<b> 15</b> </td><td> <input type="checkbox" name="">
   </td>
  </tr>
   <tr>
  <td>
   C) <b> 20</b> </td><td> <input type="checkbox" name="A1">
   </td>
  </tr>
  <tr>
   <td>
    D) <b> 24</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
  </table>

  <table border=2 width=500>
     <tr>
      <td bgColor="skyblue">
   <!--QUESTION2-->
      <font color="black"><b> What type of mammal is a collie?</b></font>
  </td>
    <td><div id="Wrong2"></div>
   </td>
  </tr>
  <tr>
  <td>
    <!--ANSWERS2-->
  A) <b> Cat </b> </td><td> <input type="checkbox" name="">
</td>
</tr>
  <tr>
  <td>
  B) <b> Dog</b> </td><td> <input type="checkbox" name="A2">
</td>
</tr>
<tr>
  <td>
  C) <b>Camel</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
  <tr>
  <td>
  D) <b>Bird</b>  </td><td> <input type="checkbox" name="">
  </td>
  </tr>
</table>
<table border=2 width=500>
  <tr>
  <td bgColor="skyblue">
   <!--QUESTION3-->
    <font color="black"><b> What part of your body gives you balance?</b>
  </td>
    <td><div id="Wrong3"></div>
   </td>
  </tr>
  <tr>
  <td>
  <!--ANSWERS3-->
  A) <b> Mallus</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
  <tr>
  <td>
  B) <b> Stapes</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
  <tr>
  <td>
  C) <b> Semilunar Canal</b> </td><td> <input type="checkbox" name="A3">
  </td>
  </tr>
   <tr>
  <td>
   D) <b> Arms </b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
</table>


<table border=2 width=500>
  <tr>
  <td bgColor="skyblue">
   <!--QUESTION4-->
    <font color="black"><b> What's 100+200-100+500-100(2) ??</b>
  </td>
    <td><div id="Wrong4"></div>
   </td>
  </tr>
  <tr>
  <td>
  <!--ANSWERS4-->
  A) <b> 500</b> </td><td> <input type="checkbox" name="A4">
  </td>
  </tr>
  <tr>
  <td>
  B) <b> 550</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
  <tr>
  <td>
  C) <b> 300</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
   <tr>
  <td>
   D) <b> 0 </b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
</table>

<table border=2 width=500>
  <tr>
  <td bgColor="skyblue">
   <!--QUESTION5-->
    <font color="black"><b> When writing a letter what does x's and o's mean</b>
  </td>
    <td><div id="Wrong5"></div>
   </td>
  </tr>
  <tr>
  <td>
  <!--ANSWERS5-->
  A) <b> I want to play TicTacToe</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
  <tr>
  <td>
  B) <b> I'll be home soon</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
  <tr>
  <td>
  C) <b> Hug's</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
   <tr>
  <td>
   D) <b> Hug's + kiss's </b> </td><td> <input type="checkbox" name="A5">
  </td>
  </tr>
</table>

<table border=2 width=500>
  <tr>
  <td bgColor="skyblue">
   <!--QUESTION6-->
    <font color="black"><b> Are Java and Javascript the same because of their names?</b>
  </td>
    <td><div id="Wrong6"></div>
   </td>
  </tr>
  <tr>
  <td>
  <!--ANSWERS6-->
  A) <b> YES</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
  <tr>
  <td>
  B) <b> NO</b> </td><td> <input type="checkbox" name="A6">
  </td>
  </tr>
  <tr>
  <td>
  C) <b> POSSIBLE</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
   <tr>
  <td>
   D) <b> What's Java & Javascript </b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
</table>


<table border=2 width=500>
  <tr>
  <td bgColor="skyblue">
   <!--QUESTION7-->
    <font color="black"><b> What Browser has the most DHTML Extentions?</b>
  </td>
    <td><div id="Wrong7"></div>
   </td>
  </tr>
  <tr>
  <td>
  <!--ANSWERS7-->
  A) <b> Netscape</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
  <tr>
  <td>
  B) <b> Internet Explorer</b> </td><td> <input type="checkbox" name="A7">
  </td>
  </tr>
  <tr>
  <td>
  C) <b> Microsoft Express</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
   <tr>
  <td>
   D) <b> Others </b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
</table>


<table border=2 width=500>
  <tr>
  <td bgColor="skyblue">
   <!--QUESTION8-->
    <font color="black"><b> What Month did Columbus discover America?</b>
  </td>
    <td><div id="Wrong8"></div>
   </td>
  </tr>
  <tr>
  <td>
  <!--ANSWERS8-->
  A) <b> September</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
  <tr>
  <td>
  B) <b> November</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
  <tr>
  <td>
  C) <b> July</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
   <tr>
  <td>
   D) <b> October </b> </td><td> <input type="checkbox" name="A8">
  </td>
  </tr>
</table>


<table border=2 width=500>
  <tr>
  <td bgColor="skyblue">
   <!--QUESTION9-->
    <font color="black"><b> Who was our first President?</b>
  </td>
    <td><div id="Wrong9"></div>
   </td>
  </tr>
  <tr>
  <td>
  <!--ANSWERS9-->
  A) <b> Thomas Jefferson</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
  <tr>
  <td>
  B) <b> Goerge Washington</b> </td><td> <input type="checkbox" name="A9">
  </td>
  </tr>
  <tr>
  <td>
  C) <b> Grant</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
   <tr>
  <td>
   D) <b> John Adams</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
</table>


<table border=2 width=500>
  <tr>
  <td bgColor="skyblue">
   <!--QUESTION10-->
    <font color="black"><b> Who wrote the "Scralet Letter"</b>
  </td>
    <td><div id="Wrong10"></div>
   </td>
  </tr>
  <tr>
  <td>
  <!--ANSWERS10-->
  A) <b> Cooper</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
  <tr>
  <td>
  B) <b> Longfellow</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
  <tr>
  <td>
  C) <b> Hawthorne</b> </td><td> <input type="checkbox" name="A10">
  </td>
  </tr>
   <tr>
  <td>
   D) <b>  Poe</b> </td><td> <input type="checkbox" name="">
  </td>
  </tr>
</table>

<center>
<BR>
<div id="Percent"></div>
<BR>
<input type="button" value=" - Correct The Test - " onclick="animateQuestion()" style="background-color:skyblue;color:black;font-weight:bold;">
</center>
</form>

<!--END SCRIPT-->

</body>
</html>
----------------------------------------------------------------------------------------------------
al doilea  TRIVIA ))))

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
    <title>Trivia Quiz v 1.0 by POZ ( )</title>
<style type="text/css">
a,a:active, a:visited {color:blue; text-decoration:none;}
a:hover {color:red; text-decoration:none;}
</style>
<script language="javascript">
/*
Trivia Quiz v 1.0
by POZ
comments, bug reports, suggestions will be welcome at

may be used freely as long as this credit is maintained.
*/

/*
Easy customizing instructions:

1. Add as many questions as you like according to the structure of the existing demo questions.
Make sure that every question is properly enveloped with <div id="questionX" style="display:none">...</div>
where X is the number of the question (numbers must be sequential)
2. Adjust the correctAnswers array to hold the letter of the correct answer for each question.
3. Enjoy.
*/

// how many seconds available to answer each question
var delay=10;

// an array listing the correct answer for each question in order of appearance
var correctAnswers=new Array("c","d","b","d","c";

// =====================================================
// do not change script below this line
// =====================================================
var q_num=1;
var timer;
var layer;
var clock=delay;
var score=0;

function show_question(){
    if (layer=eval("document.all.question"+q_num)){
        layer.style.display="inline";
        document.all.timeLeft.innerHTML=clock;
        hide_question();
    } else {
        document.all.timeLeft.innerHTML=0;
        document.all.quizScore.innerHTML="You have answered correctly "+score+" out of "+(q_num-1)+" questions.";
        document.all.quizScore.style.display="inline";
    }
}

function hide_question(){
    if (clock>0) {
        document.all.timeLeft.innerHTML=clock;
        clock--;
        timer=setTimeout("hide_question()",1000);
    } else {
        clearTimeout(timer);
        document.all.answerBoard.innerHTML=" ";
        clock=delay;
        layer.style.display="none";
        q_num++;
        show_question();
    }
}

function check_answer(answer){
    if (correctAnswers[q_num-1]==answer){
        score++;
        document.all.answerBoard.innerHTML="<i><b>Correct!</b></i>";
    } else {
        document.all.answerBoard.innerHTML="<i><b>Wrong!</b></i>";
    }
    clock=0;
    clearTimeout(timer);
    timer=setTimeout("hide_question()",1500);
}

window.onload=show_question;
</script>
</head>

<body>

Time left: <span id="timeLeft"></span>  seconds<br>
<br>
<div id="answerBoard"> </div>
<br>

<div id="question1" style="display:none">
<b>1. Who was the first man on the moon?</b><br>
<a href="javascript:void(0)" onclick="check_answer('a')">a) Captain Kirk</a><br>
<a href="javascript:void(0)" onclick="check_answer('b')">b) Tom Hanks</a><br>
<a href="javascript:void(0)" onclick="check_answer('c')">c) Neil Armstrong</a><br>
<a href="javascript:void(0)" onclick="check_answer('d')">d) Bugs Bunny</a><br>
</div>

<div id="question2" style="display:none">
<b>2. What is the largest land mammal on earth?</b><br>
<a href="javascript:void(0)" onclick="check_answer('a')">a) John Goodman</a><br>
<a href="javascript:void(0)" onclick="check_answer('b')">b) eu Mama</a><br>
<a href="javascript:void(0)" onclick="check_answer('c')">c) Humpback Whale</a><br>
<a href="javascript:void(0)" onclick="check_answer('d')">d) African Elephant</a><br>
</div>

<div id="question3" style="display:none">
<b>3. Why?</b><br>
<a href="javascript:void(0)" onclick="check_answer('a')">a) Because</a><br>
<a href="javascript:void(0)" onclick="check_answer('b')">b) Why not?</a><br>
<a href="javascript:void(0)" onclick="check_answer('c')">c) Who?</a><br>
<a href="javascript:void(0)" onclick="check_answer('d')">d) He did it!</a><br>
</div>

<div id="question4" style="display:none">
<b>4. Which of the following is the longest?</b><br>
<a href="javascript:void(0)" onclick="check_answer('a')">a) one foot</a><br>
<a href="javascript:void(0)" onclick="check_answer('b')">b) one kilometer</a><br>
<a href="javascript:void(0)" onclick="check_answer('c')">c) one mile</a><br>
<a href="javascript:void(0)" onclick="check_answer('d')">d) 753 light years</a><br>
</div>

<div id="question5" style="display:none">
<b>5. Which of the following actors is least likely to ever win an oscar?</b><br>
<a href="javascript:void(0)" onclick="check_answer('a')">a) Bruce Willis</a><br>
<a href="javascript:void(0)" onclick="check_answer('b')">b) James Gandolfini</a><br>
<a href="javascript:void(0)" onclick="check_answer('c')">c) Steven Seagal</a><br>
<a href="javascript:void(0)" onclick="check_answer('d')">d) Mr. T</a><br>
</div>

<div id="quizScore" style="display:none">
</div>

</body>
</html>





sper sa va fie cat de cat de ajutor

Modificat de HIENA (acum 17 ani)


pus acum 17 ani
   
Dynamyc
Elite Member

Din: de peste tot
Inregistrat: acum 18 ani
Postari: 836
e trivia sau ce ?

_______________________________________




pus acum 17 ani
   
Inside
Elite Member

Din: ..:: Angels City ::..
Inregistrat: acum 18 ani
Postari: 1351
bifeaza toatte casutzele si ai 100 de puncte :X

_______________________________________


pus acum 17 ani
   
HIENA
Old School Member

Din: Pe luna cu extraterestri
Inregistrat: acum 18 ani
Postari: 433
a doua da este trivia o pui intr-un fisier html o uploadezi pe un host si incepi sa te distrezi

pus acum 17 ani
   
Pagini: 1  

Mergi la