Jump to content

Rewillis

Members
  • Content Count

    21
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Rewillis

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Attention: W3schools.com forum members: Included below is some web server configuration code and hypertext markup language ( HTML ) code, respectively: <VirtualHost *:80> ServerName www.holybible1.ddns.net ServerAlias holybible1.ddns.net DirectoryIndex index3_41.htm DocumentRoot "c:/Apache24/Apache24/htdocs/videoa" <Directory "c:/Apache24/Apache24/htdocs/videoa"> Options Indexes FollowSymLinks AllowOverride none Require all granted </Directory> </VirtualHost> <center><video width="600" height="500" controls> <source src="http://localhost/The_book_of_Revelation_14a.mp4" type="video/mp4"> </video></center> The web page ( i.e., "index3_41.htm" ) has been serving up fine for roughly the past year, since I initially posed a question regarding this subject on this user forum. However, in the past week or so, the embedded video file ( i.e., "The_book_of_Revelation_14a.mp4" ) has not been working. The two files ( i.e., "index3_41.htm" and "The_book_of_Revelation_14a.mp4" ) were originally stored in a different file path on my personal computer system running Microsoft Windows 10 ( Home ) Edition ( i.e., "c:/Apache24/Apache24/htdocs/pecm" ), but have been recently moved to the new file path ( i.e., "c:/Apache24/Apache24/htdocs/videoa" ). Why is my above-mentioned embedded video file not working now? I posted a similar question on another user forum recently, and was provided the following two suggestions regarding the "<source>" portion of the "<video></video>" tags ( given immediately above ): <source src="The_book_of_Revelation_14a.webm" type="video/webm"> OR <source src="./The_book_of_Revelation_14a.webm" type="video/webm"> These two suggestions do not solve my problem. Can anyone on this user forum tell me what needs to be done to get my embedded video file working in my above-mentioned web page again? Thank you ( see Colossians 3:15, for example ) for your help and your patience. Keep in touch. 😊 Sincerely in Christ, Russell E. Willis P.S. - Please read Proverbs 23:23.
  2. Attention: W3schools.com forum members: After making the following edits to my web server configuration file, and my "mydata.json" JSON data file, respectively, my interactive web page is now working: ScriptAlias "/cgi-bin/" "c:/Apache24/Apache24/cgi-bin/" The quotation marks were missing around the "/cgi-bin/" portion of the above-given line of code ( not the path name ). Then, we have: AddHandler cgi-script .cgi .pl Then, we have: Options +ExecCGI The above-given line of code was added in one of my "<VirtualHost></VirtualHost> containers. And, finally, we have: {"book": "Matthew", "chapter": "1", "verse": "<b>1</b>. <sup>a</sup>The book of the genealogy of Jesus Christ, <sup>b</sup>the son of David, <sup>c</sup>the son of Abraham."} The above-given line of code, in my "mydata.json" JSON data file, had to be changed from three lines to one line. Thank you ( see Colossians 3:15, for example ) to all those on this forum who at least viewed my previous posting. Keep in touch. ☺️ Sincerely in Christ, Russell E. Willis P.S. - Please read Proverbs 23:23.
  3. Attention: W3schools.com forum members: I just migrated my web files from a web hosting site to my personal computer system, which is currently configured as a dedicated web server. The three files ( one ",jpg" image file, one ".json" JSON data file, and one AJAX file ( i.e., "AJAX_2.htm" ). The code for the "AJAX_2.htm" and "mydata.json" files are as follows, respectively: <html> <head> <meta content = "text/html; charset = ISO-8859-1" http-equiv = "content-type"> <!--Adapted and edited by Russell E. Willis as of 12/28/18.--> <style> div.container { width: 100%; border: 1px solid gray; } article { @media only screen and (max-width: 35%) { body { margin-left: 35%; border-left: 1px solid gray; padding: 0em; overflow: hidden; } } } sup { vertical-align: super; font-size: x-small; } p1 { text-indent: 1px; } .text1 { margin: 15px; } .content-box { column-count: 2; -webkit-column-rule: 1px double purple; -moz-column-rule: 1px double purple; column-rule: 1px double purple; margin: 15px; } </style> <div class="container"> <script type = "application/javascript"> function loadJSON() { var data_file = "mydata.json"; var http_request = new XMLHttpRequest(); try{ // Opera 8.0+, Firefox, Chrome, Safari http_request = new XMLHttpRequest(); }catch (e) { // Internet Explorer Browsers try{ http_request = new ActiveXObject("Msxml2.XMLHTTP"); }catch (e) { try{ http_request = new ActiveXObject("Microsoft.XMLHTTP"); }catch (e) { // Something went wrong alert("Your browser broke!"); return false; } } } http_request.onreadystatechange = function() { if (http_request.readyState == 4 ) { // Javascript function JSON.parse to parse JSON data var jsonObj = JSON.parse(http_request.responseText); // jsonObj variable now contains the data structure and can // be accessed as jsonObj.name and jsonObj.country. document.getElementById("Book").innerHTML = jsonObj.book; document.getElementById("Chapter").innerHTML = jsonObj.chapter; document.getElementById("Verse").innerHTML = jsonObj.verse; } } http_request.open("GET", data_file, true); http_request.send(); } </script> <title>The Holy Bible.</title> </head> <body> <h3>&#160&#160&#160Please click the "Bible Verse" button below to read a Bible verse ( <i>ESV</i> ), and read the article below:</h3> <center><table class = "src"> <tr><th><ins>Book</ins></th><th><ins>Chapter</ins></th><th><ins>Verse</ins></th></tr> <tr><td><div id = "Book">Matthew</div></td> <td><div id = "Chapter">1</div></td> <td><div id = "Verse">1</div></td></tr> </table></center> <center><div class = "central"> <button type = "button" onclick = "loadJSON()">Bible Verse</button> </div></center> <br> <center><ins>T<font size="2" color="black">HE</font> H<font size="2" color="black">OLY</font> B<font size="2" color="black">IBLE</font>: E<font size="2" color="black">NGLISH</font> S<font size="2" color="black">TANDARD</font> V<font size="2" color="black">ERSION.</font></ins></center><br> <center><img src="Holy_Bible_ESV_6_crop (635x640).jpg" height="300" width="300"></center><br> <center><ins><font size="3" color="black">The Titles Of Jesus.</font><ins></center> <article> <p align="justify" class="content-box">&#160&#160&#160In Isaiah 9:6, it is written, "&#8202<sup><b>6</b></sup>&#8202<sup><i>u</i></sup>&#8202For to us a child is born, to us <sup><i>v</i></sup>&#8202a son is given; <sup><i>w</i></sup>&#8202and the government shall be <sup><i>x</i></sup>&#8202upon<sup><i>1</i></sup> his shoulder, and his name shall be called<sup><i>2</i></sup> Wonderful <sup><i>y</i></sup>&#8202Counselor, <sup><i>z</i></sup>&#8202Mighty God, <sup><i>a</i></sup>&#8202Everlasting <sup><i>b</i></sup>&#8202Father, Prince of <sup><i>c</i></sup>&#8202Peace.&#8202" Jesus ( see also Luke 2:11, for example ) has the same titles as God, through the concept of the Godhead.<sup><i>1</i></sup> This would explain the phrase "&#8202<sup><i>a</i></sup>&#8202Everlasting <sup><i>b</i></sup>&#8202Father,&#8202" for example ( as we read in verse six ). Furthermore, God said of His Son in Hebrews 1:8 ( please begin reading at verse one to get the immediate context ), "&#8202<sup><b>8</b></sup>&#8202But of the Son he says, <sup><i>r</i></sup>&#8202'&#8202Your throne, O God, is forever and ever, the scepter of uprightness is the scepter or your kingdom.&#8202'" In the verse three implied in this latter passage of Scripture, we observe that Jesus ( see also Matthew 1:16; 16:13-20 ( especially verse 16, for example ), for example ) is the exact imprint of the nature of God. This observation allows us to correctly state that Jesus is the Everlasting Father, in the sense that He is the exact imprint of God's nature. The concept of the Godhead is clearly stated in 1 John 5:6, 7 ( <i>KJV</i>; with center-column references ), namely: "6&#8202This is he that came <sup><i>a</i></sup>by water and blood, <i>even</i> Jesus Christ; not by water only, but by water and blood. <sup><i>b</i></sup>And it is the Spirit that beareth witness, because the Spirit is truth. 7&#8202For there are three that bear <sup>1</sup>record in heaven, the Father, <sup><i>a</i></sup>the Word, and the Holy Ghost: <sup><i>b</i></sup>and these three are one.&#8202" The Godhead is defined as follows: one God&#8202&#151&#8202three Persons. May we, as children of God ( see Galatians 3:26, 27, for example ), imitate the Lamb of God ( see John 1:29; 1 Corinthians 11:1, for example ). Jesus is "&#8202<sup><i>l</i></sup>&#8202the bright morning star&#8202" ( see Revelation 22:16 ). &#128366</p><br> &#160&#160&#160&#160&#95&#95&#95&#95&#95&#95&#95&#95<br> <p1 class="text1"><font size="2" color="black">1. <i>HOLMAN <b>BIBLE</b> DICTIONARY,</i> <b>GENERAL EDITOR</b>: BUTLER, TRENT C., PH.D., HOLMAN BIBLE PUBLISHERS, &#169 Copyright 1991 Holman Bible Publishers, pp. 252, 1373, for example.</font></p1><br> <p1 class="text1"><font size="2" color="black">NOTE: Be careful not to confuse this footnote with the one indicated in the first verse six, or the equivalent translation indicated in the second verse seven&#8202&#151&#8202both verses of which are quoted above.</font></p1><br> <br> </article> </div> </body> </html> {"book": "Matthew", "chapter": "1", "verse": "<b>1</b>. <sup>a</sup>The book of the genealogy of Jesus Christ, <sup>b</sup>the son of David, <sup>c</sup>the son of Abraham."} I also added the following line of code to my web server configuration file: # Edited as of Saturday, January 19, 2019. AddType application/json .json # End edited as of Saturday, January 19, 2019. After making the above-given edit to my web server configuration file, when I click on the "Bible Verse" button, I get no response. I posted most of the above-given code recently, and solved that problem by uploading my above-mentioned web files to the web hosting site. However, I am not sure what more to do since I have migrated those web files to my personal computer and served them up from there. What am I doing wrong or overlooking? Thank you ( see Colossians 3:15, for example ) for your help and your patience. Keep in touch. 😊 Sincerely in Christ, Russell E. Willis P.S. - Please read Proverbs 23:23.
  4. Rewillis

    AJAX script.

    Attention: Ingolme: Thank you ( see Colossians 3:15, for example ) for your suggestion. I set up a new test subdomain on the web hosting site I am using for two of my web pages, uploaded the AJAX ( Asynchronous JavaScript And XML ) file, and the "ajax_1.txt" file, and the AJAX file works perfectly. Keep in touch.πŸ™‚ Sincerely in Christ, Russell E. Willis P.S. - Please read Proverbs 23:23.
  5. Rewillis

    AJAX script.

    Attention: W3schools Javascript forum members: Earlier this morning I coded a simple AJAX script to post a line of text and a button to a web page and then, upon clicking the button, to print the text ( in the "ajax_1.txt" file ) to the web page. The AJAX script is as follows: <!DOCTYPE html> <html> <body> <div id="demo"> <h1>Let AJAX print this text</h1> <button type="button" onclick="loadDoc()">Print Content</button> </div> <script> function loadDoc() { var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { document.getElementById("demo").innerHTML = this.responseText; } }; xhttp.open("GET", "ajax_1.txt", true); xhttp.send(); } </script> </body> </html> The file "ajax_1.txt" is as follows: Name = Russell E. Willis. Birth Date = 12/21/1966. Age = 52. The line of text and the "Print Content" button appear in the web browser ( as indicated in the "<div-</div>" portion of the script file above ( but I was unable to insert the screen capture file of the output into this posting due to space limitations )). Why is the text file not appearing in my web browser when I click on the "Print Content" button? What am I doing wrong? NOTE: The script file above is just a minor variation of an example provided on your web page. Thank you ( see Colossians 3:15, for example ) for your help. Keep in touch.πŸ™‚ Sincerely in Christ, Russell E. Willis P.S. - Please read Proverbs 23:23.
  6. Rewillis

    Web page.

    Attention: Ingolme: Thank you ( see Colossians 3:15, for example ) for your polite response. That solved the problem. Keep in touch. Sincerely in Christ, Russell E. Willis P.S. - Please read Proverbs 23:23.
  7. Rewillis

    Web page.

    Attention: Ingolme: I have three web sites located in "c:\Apache24\Apache24\htdocs\pecm," one of which includes 194 hyperlinks to video files, and that web site works fine on the web. The web site that contains the embedded video file should be working on the web, just like the other web site just mentioned. Do you have any other suggestions? Thank you ( see Colossians 3:15, for example ) for your help. Keep in touch. Sincerely in Christ, Russell E. Willis P.S. - Please read Proverbs 23:23.
  8. Rewillis

    Web page.

    Attention: Ingolme: My personal computer system is currently configured as a dedicated web server ( i.e., I have port forwarding configured in my router ). Therefore, my personal computer system should be the web host. My video file is stored on the hard drive. In the HTML 5 code for my web page, I have the following path specified in a <video> tag: "c:\Apache24\Apache24\htdocs\pecm\The_book_of_Revelation_1a.mp4." ( Without the period ".". ) The MIME type in the configuration file for my web server ( i.e., "mime.types" ) is set with the following line: "video/mp4." ( Again, without the period ".". ) What am I overlooking? Thank you ( see Colossians 3:15, for example ) for your help. Keep in touch. Sincerely in Christ, Russell E. Willis P.S. - Please read Proverbs 23:23.
  9. Rewillis

    Web page.

    Attention: W3schools.com staff: I recently posted my HTML 5 code for a web page, and have corrected the errors in formatting. The embedded video file works fine on localhost, but it does not play on the web. The correct MIME type is configured in my web server ( i.e., the line "video/mp4" appears in the configuration file ). Why is my embedded video file not working on the web? Thank you ( see Colossians 3:15, for example ) for your help. Keep in touch. Sincerely in Christ, Russell E. Willis P.S. - Please read Proverbs 23:23.
  10. Attention: W3Schools.com staff: Included below is the HTML 5 code for a web page I am designing. It consists of an embedded video file with a 3-column newspaper-style article after it. Everything appears to be formatted correctly, except that the first column of the article is shifted down one line, so that the top of that column is not perfectly aligned with the tops of the other two columns. Thank you ( see Colossians 3:15, for example ) for your help. Keep in touch. Sincerely in Christ, Russell E. Willis P.S. - Please read Proverbs 23:23. <!DOCTYPE html> <html> <head> <style> .newspaper { -webkit-column-count: 3; -moz-column-count: 3; column-count: 3; } div { text-align: justify; text-justify: inter-word; } p { text-indent: 20px; } h4 { text-align: center; } </style> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>The Holy Bible.</title> </head> <body> <h3><ins>Please view the video sermon and read the article, below, regarding the book of Revelation:</ins></h3> <center><video width="650" height="500" controls> <source src="c:\Apache24\Apache24\htdocs\pecm\The_book_of_Revelation_1a.mp4" type="video/mp4"> <source src="c:\inetpub\wwwroot\vsom\Modest_apparel_1a.ogg" type="video/ogg"> </video></center> <br> <h4><ins>Revelation.</ins></h4> <div class="newspaper"><p> The book of Revelation is the last book of the New Testament and, thus, the last book of the Holy Bible. It has twenty-two chapters. The author of this book was the apostle John. The writing style of this book is apocalyptic in nature. The following quotation is provided: "Just as Genesis is the book of beginnings, Revelation is the book of consummation." [ See <i><b>Holy Bible</b>: Containing The Old and New Testaments</i>, The New King James Version, RED LETTER EDITION, <b>THE NEW OPEN BIBLE<sup>&#174</sup> STUDY EDITION</b>, with Read-Along References<sup>&#174</sup>, Read-Along Translations<sup>&#174</sup>, Topical Index to the Bible, The Christian's Guide to the New Life, Book Introductions and Outlines, Visual Survey of the Bible, Special Study Aids, THOMAS NELSON PUBLISHERS, <i>Nashville</i>, <b>Copyright &#169 1990, 1985, 1983 by Thomas Nelson, Inc.</b>, p. 1513. ]</p> </div> </body> </html>
  11. Rewillis

    Subdomain.

    Attention: W3Schools Forum: I created a subdomain this morning ( named "bulletin.theholybible1.ga" ) for my Freenom.com domain name ( named "theholybible1.ga" ). This new web site is an example of a ".pdf" file embedded in a web site ( with a related article below it ). If you want to, type the subdomain in the address bar of your web browser and give me your honest ( see Colossians 3:9, for example ) assessment of it. If you want me to post the HTML 5 code for it, I can do that. Thank you ( see Colossians 3:15, for example ) for your consideration. Keep in touch. Sincerely in Christ, Russell E. Willis P.S. - Please read Proverbs 23:23.
  12. Attention: W3Schools Forum: Is there a way to insert ".pdf" files into these posts? Thank you ( see Colossians 3:15, for example ) for your help. Keep in touch. Sincerely in Christ, Russell E. Willis P.S. - Please read Proverbs 23:23.
  13. Attention: THRobinson: Since you have an account on this web page, you might want to click on the "HTML Layout" link in the left-hand column. Keep in touch. Sincerely in Christ, Russell E. Willis P.S. - Please read Proverbs 23:23.
  14. Rewillis

    HTML 5.

    Attention: David Sones: Thank you ( see Colossians 3:15, for example ) for finally clarifying your display name. I do not think that this forum is the proper place for a debate. I will officially ignore you through social media. Sincerely in Christ, Russell E. Willis
  15. Rewillis

    HTML 5.

    Attention: DS*: What does your display name mean? Please tell me the facts. Sincerely in Christ, Russell E. Willis P.S. - Please read Proverbs 23:23 P.P.S. - My previous response was based on the assumption that your display name was a cryptic form of "ThisOneSuck." I have had negative experiences with social media in the past, so I figured your display name was just another example of that. I do not freely use social media, but I have used this social media technical support site ( and another one for web hosting assistance ). If I was wrong about my assumption, then I will stand corrected on this issue ( see Proverbs 12:1, for example ). If you do not wish to provide me with any further assistance on this forum, then I will understand. Thank you ( see Colossians 3:15, for example ) for your help. Keep in touch.
×
×
  • Create New...