Jump to content

All Activity

This stream auto-updates

  1. Yesterday
  2. People might seem lazy nowadays because of a few things. One reason is that we have a lot of new stuff that makes things easier, so some people might not want to do as much. Also, life can be really busy and stressful for many people, which can make them feel tired and not want to do anything. It's important to remember that everyone is different, and there could be lots of reasons why someone might seem lazy. Being nice and understanding is important when talking about this.
  3. A lot of questions asked here in this forum can be answered simply by reading the tutorials, and most often what people are asking are actually examples in the w3school main website. Some questions are even extremely similar, but yet people ask the same questions all over again.That "please-read-the-tutorial-first" message pinned at every forum apparently DOES NOT work.I firmly believe that this forum is created to answer questions that the w3schools main website does not answer.I do not have a solution for this. But this would just serve as a precaution. Because basically when this forum grows. Then a lot new topics will be started.Then probably, we will be reading a bunch of repetitive questions being asked all over and over and over again.And please forum members, please dont post for the sake of increasing your post count. Post for the sake of answering questions being asked.And if you wish to promote your website here, we cant/wont stop you with it, but please do it in an ETHICAL way. There is no excuse for not having any manners/ethics.And lastly, this forum, in my humble opinion, is used for answering questions (or some code snippets) not for asking for full/complete scripts.This is just my opinion. You might think i'm wrong, but really i think i am right with this one. You just have to agree with me here.
  4. sabastian

    schemas

    guys still waiting, please just tell me a software or something i myself could check it.
  5. Last week
  6. sabastian

    schemas

    how will we know is it an article schema or Faq schema? <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [ { "@type": "Question", "name": "How does Facebook Messenger for Business facilitate communication with customers?", "acceptedAnswer": { "@type": "Answer", "text": "Facebook Messenger for Business provides a seamless way to interact with customers through your Facebook page. You can send messages and images just like other communication methods, with the added benefit of being integrated with your Facebook page" } }, { "@type": "Question", "name": "How can I delete messages on Facebook Messenger?", "acceptedAnswer": { "@type": "Answer", "text": "To delete messages on Facebook Messenger, open the conversation, locate the message(s) you want to remove, click on \"More\" (or right-click on the message if using the desktop app), select \"Remove,\" and then choose \"Remove for Everyone\" to delete it from the recipient's inbox. However, note that you have a time limit of up to 10 minutes after sending a message to delete it." } }, { "@type": "Question", "name": "How can I unsend a message on Messenger?", "acceptedAnswer": { "@type": "Answer", "text": "To unsend a message, open the conversation, find the message you want to remove, select \"Remove for You\" or \"Remove/Unsend for Everyone,\" and then click \"Remove.\"" } } ] } </script>
  7. I really need some help here. I'm trying to write a Computer Program in ASP/JavaScript that will read and list all the files in the current directory. Like for example in BASIC I would type the command, DIR. robchristiansen2@gmail.com Rob Christiansen Var fs = require('fs'); var files = fs.readdirSync('/assets/photos/'); require??? Never heard of it before. it appears they're trying to make an object. wouldn't that be an object of type directory, or something like that? I get error messages saying, "Object doesn't support this Property or method.”
  8. Hi, I would to like to create a website like https://ktganeshalingam.com/ . To serve the website, first I want to use my computer as the server. Looked for tutorials and looks like I have found one W3Schools Online Web Tutorials . Right now I think I can do from the top up to the top nav bar as in the link provided. The rest is the problem for me. By looking at it basically it looks like a grid. Each cells in the grid has (1) category heading (2) some links from the category and a link to get all the links for that category. Would you be able to help me to create a template for the same layout as given in the link? Thank you Thiru
  9. Your HTML needs to be like this <p class="parrot"> <img src="Images/red_parrot_on_computer_lg_clr_6287.gif" width="195" height="156"> My story begins with me ... </p> "p.parrot" selects any <p> element where the class attribute has "parrot" in it. "p.parrot img" selects an image which is inside that <p> element.
  10. I'm having a challenge using CSS property vertical-align, I want to use the latest CSS to get this done, not put the code within the HTML or putting the style under the head of the page. The CSS code as follows p.parrot img { vertical-align: text-top; } HTML <p.parrot img?<img src-"Images/redparrot.gif wisth="195" height="156"> I've uploaded the file so go to animalandhumannutrition101.com/ourstory.html to view it with the problem
  11. One of the errors is being highlighted in red right in your code editor, take a closer look. It's better if you paste the code here in a codeblock instead of posting a screenshot so that we can copy it and test it. The CSS code that's in your styles.css file is very important. HTML on its own does not do very much, you need CSS to do page layouts.
  12. Earlier
  13. Hello, I would like to assign captions to my image selection, see attachment, can I extend the onclick function to texts in a simple way? Best regards caption.html
  14. envoy

    keyframe animation

    Hello, I have a simple @keyframe animation that works correctly in principle, but I would like to pack the delays from the body into .circle. I tried it with animation-delay, but unfortunately it doesn't work, does anyone have an idea? element { width: 100px; height: 100px; position: absolute; background: white; border-radius: 50%; animation: scaleIn 6s; animation-delay: 0.0s, 1.0s, 2.0s; animation-iteration-count: infinite; } Best regards keyframe_animation.html
  15. hi everyone I am new to HTML programming and I am still having trouble making my website look like my web layout design from Canva. I want to make my website look like the picture in the first image (Web page layout.jpg). the second image is my HTML code. my website still doesn't look like my design from Canva. What is wrong with my code here?
  16. <li onclick="openTabs(event, 'Tools')" id="defaultOpen">Tools</li> <li onclick="openTabs(event, 'Logs')">Logs</li> <li onclick="openTabs(event, 'Files')">Files</li> <li onclick="openTabs(event, 'Links')">Links</li>
  17. https://www.w3schools.com/howto/howto_js_vertical_tabs.asp Now the browser remembers which tab was selected last on page reload. function openTabs(evt, cityName) { var i, tabcontent, tablinks; tabcontent = document.getElementsByClassName("tabcontent"); localStorage.setItem("SelectedTab", cityName); for (i = 0; i < tabcontent.length; i++) { tabcontent[i].style.display = "none"; } tablinks = document.getElementsByClassName("tablinks"); document.getElementById(cityName).style.display = "block"; } var currentTab = localStorage.getItem("SelectedTab"); // If the current local storage item can be found if (currentTab) { //document.getElementById(currentTab).click(); openTabs(event, currentTab); } else { // Get the element with id="defaultOpen" and click on it document.getElementById("defaultOpen").click(); var defaultTab = document.getElementById("defaultOpen"); localStorage.setItem("SelectedTab", 'Tools'); }
  18. The quotation marks are missing here g_arrayBooks["3,16,154"].push
  19. As it is a carousel it probably is looping to add a new ad at a set time. So it might be better to hide than remove. As your script only runs once after 5sec it catch first one only, unless you use setInterval then it will repeat every 5 sec. To reduce repeating loops check this element exists by checking length.
  20. Hi Let me introduce myself : I am french and I can do : translation from english to french translation from french to english If you are interested, please do not hesitate to contact me. My email is christianeckenspieller@gmail.com Have a good day !
  21. 1876 let g_arrayBooks = {}; 1877 g_arrayBooks["3,16,154"] = []; 1878 g_arrayBooks[3,16,154].push({title:"Harry Potter & the Philosopher's Stone",author:"J.K.Rowling",price:"0000000010",quantity:"1",weight:"0000000200",summary:"The novel introduces readers to the magical world of Hogwarts School of Witchcraft and Wizardry and follows the adventures of a young boy named Harry Potter. Harry Potter is an orphan who has been living with his cruel and neglectful relatives, the Dursleys, ever since his parents were killed by the dark wizard Lord Voldemort when he was just a baby. On his eleventh birthday, Harry receives a letter from a mysterious messenger informing him that he is a wizard and has been accepted to attend Hogwarts.",image_filename:""}); Uncaught TypeError: can't access property "push", g_arrayBooks[154] is undefined <anonymous> https://www.katescastle.com.au/admin.php:1878 WTF? 'g_arrayBooks[154]' DOES NOT EXIST on line 1878!
  22. Your solution is NOT working. Lets see a simplified example: https://www.makeuseof.com/how-to-take-screenshots-on-android-when-the-app-doesnt-allow-it/ I want to get rid of an advertising block on the right (see attached snapshot). which starts with: <div id="K84X2hsVZN" data-ub-carousel="true" Therefor I setup a Greasemonkey script like // ==UserScript== // @name ChangeLayoutMakeuseof // @namespace nsChangeLayoutMakeuseof // @description Change Layout makeuseof.com // @match https://*.makeuseof.com/* // @exclude-match https://*.makeuseof.com/ // @exclude-match https://*.makeuseof.com/category/* // @version 2.14.1 // @grant GM_addStyle // @require http://code.jquery.com/jquery-latest.js // ==/UserScript== $('div').attr('data-ub-carousel').remove(); setTimeout(function(){ $('div').attr('data-ub-carousel').remove(); }, 5000); After adding the user script and reloading the webpage, the ad persist. Any other suggestion? https://s20.directupload.net/images/240314/gm2z76xs.png
  23. Hello, I tested this today 2024-03-13 too. Problem is not resolved. I cleared my browser's history, and the problem is still there. Please fix. Thank you.
  24. The array is nested similar to this example. { "Students": [ { "Name":"Amit Goenka" , "Major":"Physics" }, { "Name":"Smita Pallod" , "Major":"Chemistry" }, { "Name":"Rajeev Sen" , "Major":"Mathematics" } ] } All I get is an empty string. Why? Do I really have to manually code my own function that PROPERLY converts my associative arrays to JSON? Or is there a better quality library some where that can include to convert my associative arrays? Damn nuisance! Associative array in firefox developer tools https://drive.google.com/file/d/1Ij0E_WgaHqU0qFXr8xWkp7Brj18T-Qic/view?usp=sharing
  25. How can I reset the two image selections, or all of them if there are more, to the 1st image with one action? <button class="tablinks" onclick="changeImage('01.jpg', '#bannerImage_(all???)')">reset</button> </head> <body> <div class="tab"> <button class="tablinks" onclick="openCity(event, 'left')">left</button> <button class="tablinks" onclick="openCity(event, 'right')">right</button> </div> <div id="left" class="tabcontent"> <img id="bannerImage_left" src="01.jpg"> <img src="01_thumb.jpg" onclick="changeImage('01.jpg', '#bannerImage_left')" style="cursor:pointer; margin-left:40px; margin-right:40px"> <img src="02_thumb.jpg" onclick="changeImage('02.jpg', '#bannerImage_left')" style="cursor:pointer; margin-right:40px"> <img src="03_thumb.jpg" onclick="changeImage('03.jpg', '#bannerImage_left')" style="cursor:pointer; margin-right:40px"> </div> <div id="right" class="tabcontent"> <img id="bannerImage_right" src="01.jpg" ""> <img src="01_thumb.jpg" onclick="changeImage('01.jpg', '#bannerImage_right')" style="cursor:pointer; margin-left:40px; margin-right:40px"> <img src="02_thumb.jpg" onclick="changeImage('02.jpg', '#bannerImage_right')" style="cursor:pointer; margin-right:40px"> <img src="03_thumb.jpg" onclick="changeImage('03.jpg', '#bannerImage_right')" style="cursor:pointer; margin-right:40px"> </div> <div> <button class="tablinks" onclick="changeImage('01.jpg', '#bannerImage_(all???)')">reset</button> </div> <script>
  26. image_selection_02.html Is it solved incorrectly if I put a 2 function (the 1st image of the image selection is selected) on the selection of the 1st tab/bannerImage_left, see html file attached? <button class="tablinks" onclick="openCity(event, 'left'); changeImage('01.jpg', '#bannerImage_left')">left</button>
  27. That will look for attribute with empty string value. Try $('span').attr('foobar').remove();
  1. Load more activity
×
×
  • Create New...