Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Roger123

Members
  • Content Count

    10
  • Joined

  • Last visited

Posts posted by Roger123



  1. 0aqV8fB.png
    QUESTION IN HTML

    In this tutorial, I'll show you how to create an issue that you can put to your users and / or your site.

    CeSHQdx.pngTutorial Credits: Click here to access

    --> Questions <--


    QUESTION IN HTML


    1 - Code
    Add this code:

    <SCRIPT language="JavaScript"
            type="text/javascript">
    <!--
    //
    // Documentation:
    //   http://chami.com/tips/javascript/
    //
    function checkAnswer(quizForm,
                         theAnswer,
                         urlRight,
                         urlWrong)
    {
      var s = "?";
    
      // go through the "current choices"
      // to find the selected choice.
      // radio boxes pointing to choices
      // must be named "cc"
      // change if necessary
      //
      var i = 0;
      for(;i<quizForm.elements.length;i++)
      {
        if(("cc" ==
            quizForm.elements[i].name) &&
           (quizForm.elements[i].checked))
        {
          s = quizForm.elements[i].value;
        }
      }
    
      // no choice was selected
      //
      if("?" == s)
      {
        alert("Please make a selection.");
        return false;
      }
    
      // check if we have the correct
      // choice selected
      //
      if(s == theAnswer)
      {
        alert("'"+s+"' is correct!");
        if(urlRight)
        {
        document.location.href = urlRight;
        }
      }
      else
      {
        alert("'"+s+"' is incorrect.");
        if( urlWrong )
        {
        document.location.href = urlWrong;
        }
      }
    
      // return "false" to indicate not to
      // submit the form.
      // change this to "true" if the form
      // "action" is valid,
      // i.e. points to a valid CGI script
      //
      return false;
    }
    //-->
    </SCRIPT>
    What is JavaScript?
    
    <FORM method="POST"
          onSubmit="return checkAnswer(this,'B');"
    >
    
    <INPUT TYPE="RADIO" VALUE="A" NAME="cc">
    A. Another name for Java<BR>
    
    <INPUT TYPE="RADIO" VALUE="B" NAME="cc">
    B. A scripting language mostly for the web<BR>
    
    <INPUT TYPE="RADIO" VALUE="C" NAME="cc">
    C. When you use Java without compiling<BR>
    
    <INPUT TYPE="SUBMIT" VALUE="Submit Answer">
    
    </FORM>

    When you find B in onSubmit="return checkAnswer(this,'B');", change to the correct answer line.

     

    • Can I add one more line / possible answer??
      Yes, you can. Add this code: <INPUT TYPE="RADIO" VALUE="D" NAME="cc"> D. X<BR>

     

     

     


     

     

     

     

    © All Themes



    cyoocvq.png If you have any questions regarding this topic, please create a topic with the following title: [Question] -
    QUESTION IN HTML

     


  2. Hello,

    I'm not able to post a new topic in my forum, because a little bug happens ...

     

    19736042_SmartSelect_20190605-194042_SamsungInternet.jpg.6834f428a1ea587274b6f012b6e7cf79.jpg

    As you can see, it has an HTML code, but I need to put it in the code tags. Is there a way to solve this?

    Sincerely.

    *Can I merge my account with this (Roger123) and change the username to "Roger123" ?



  3. Approval of Article 13 (17). Is it the end of the Internet? What will be the measures taken by large companies?

       Article 13, now Article 17, was adopted with 347 votes in favor, 275 against and 36 abstentions.
       
    --> News & Events

                 
    Approval of Article 13 (17). Is it the end of the Internet? What will be the measures taken by large companies?

       1
       The end of freedom of expression on the Internet in the European Union or the necessary regulation for the fair compensation of artists and journalists?
       Article 17 (better known as Article 13) has been approved and may bring several issues.
       According to Article 31 of the Directive, this Directive shall enter into force only 20 days after its publication in the Official Journal of the European Union (the equivalent of the Portuguese Republic Gazette). However, before that, it has yet to go through a final vote. But was not this the last? No. It is still necessary to be approved by the Council of the European Union, where representatives of the governments of the Member States meet. As Manuel Lopes Rocha, PLMJ's lawyer and copyright expert, explains, "it is not credible that it does not pass [in this vote] because it results from an agreement" (the directive was also proposed by this Council).
       As a MEP of the Pirate Party Julia Reda, who was one of the main protagonists of the demonstration, the vote has been revoked. However, since there is an agreement between France and Germany, and other countries should not change their position, a vote will be more of a formality. After that, the following is posted: If the decision-making process is carried out from May 23 to 26, the decision-making process is the same as the decision-making process.
       Apparently, some companies like Google are already thinking about paying the "artists" ...
       Is this the end of the internet? And the beginning of a dictatorship?

                 
    • Like 1




  4. HTML Calculator



    With this tutorial, we will learn how to create an HTML calculator.


    --> Programming - Questions
    HTML Calculator




    1 - Code
    Simply put in an HTML page the following code:
    Code:
    <html><head><title>HTML Calculator</title></head><body bgcolor= "# 000000" text= "gold"><form name="calculator" ><input type="button" value="1" onClick="document.calculator.ans.value+='1'"><input type="button" value="2" onClick="document.calculator.ans.value+='2'"><input type="button" value="3" onClick="document.calculator.ans.value+='3'"><input type="button" value="+" onClick="document.calculator.ans.value+='+'"><input type="button" value="4" onClick="document.calculator.ans.value+='4'"><input type="button" value="5" onClick="document.calculator.ans.value+='5'"><input type="button" value="6" onClick="document.calculator.ans.value+='6'"><input type="button" value="-" onClick="document.calculator.ans.value+='-'"><input type="button" value="7" onClick="document.calculator.ans.value+='7'"><input type="button" value="8" onClick="document.calculator.ans.value+='8'"><input type="button" value="9" onClick="document.calculator.ans.value+='9'"><input type="button" value="*" onClick="document.calculator.ans.value+='*'"><input type="button" value="/" onClick="document.calculator.ans.value+='/'"><input type="button" value="0" onClick="document.calculator.ans.value+='0'"><input type="reset" value="Reset"><input type="button" value="=" onClick="document.calculator.ans.value=eval(document.calculator.ans.value)">Solution is <input type="textfield" name="ans" value=""></form></body></html>



    2 - Result
    Here's the result: https://www.all-themes.net/h5-calculator




    ©️ All Themes




    If you have any questions regarding this topic, please create a topic with the following title: [Question] -
    HTML Calculator
    • Like 1


  5. All Themes's Tables

    With this tutorial, I will show you how to create tables similar to those in our forum.
    --> Programming - Questions

             
    All Themes's Tables

    1
    CSS instalation
    Use the TAGs 
    Code:

    <style>

    to install the CSS.
    Our code is:
    Code:

    .tables.topic  {
       border-left-color: red!important; // BORDER LEFT COLOR
    }
    .tables {
           padding: 1.25rem;
       margin-top: 1.25rem;
       margin-bottom: 1.25rem;
       border: 1px solid #eee;
           border-left-color: rgb(238, 238, 238);
           border-left-width: 1px;
       border-left-width: .25rem;
       border-radius: .25rem;
    }

    Or, in the forumeiros's ACP, go to CSS Stylesheet and paste the code.
    2
    Using the code
    -HTML
    Code:
    <div class="tables topic">//YOUR TEXT</div>

    Result
             

  6. RULES OF THE FORUM "ALL THEMES"




    Duties


    Users have all the same rights in the forum, whether they are employees or mere members.
    1- Users should respect each other;
    2- Users should not flood;
    3- No member is allowed to post defamatory, racist, xenophobic, pornographic, sexual, pedophile or illegal content content and even harmful to the honor and reputation of others;
    4- No user can advertise via MP, in bad sector topics or avatars;
    5. Avatars of defamatory, racist, xenophobic, pornographic, sexual, pedophile or illegal practices and even damaging to the honor and reputation of others are not allowed;
    6- Users should respect the English language and grammar, since this is the language present in the forum;
    7- Topics that do not have correct titles will be dropped, as well as topics without link, or with incorrect language and grammar.


    Rights


    1- Being the HTML allowed in the forum, the members have the right to use it, but following the rules of the forum;
    2- The users have the right to give a "UP" in more than twenty-four hours, in the support sector;
    3- Members have the right to open topics in various areas;
    4- Users can and should complain about something they did not like, via MP to an administrator or by topic, but of course, respecting everything and everyone.
×
×
  • Create New...