Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 03/01/2020 in Posts

  1. 2 points
    You should call exit or die any time you're redirecting a user to prevent the code from executing any of the instructions that are further down. Nothing about the header() function tells the code to stop executing. header('Location: /Logon/Logon.php?From=Home'); exit;
  2. 1 point
    The only option I can think of is mod_rewrite, you can make it create a url to you needs (within reason) but it will still go to original url in the background. Similar to a url with lots of query string http://example.com/index.php&page=dogs?type=greyhound Mod_rewrite can make the url address appear as http://example.com/dogs/greyhound If that's any help.
  3. 1 point
  4. 1 point
    I don't how css can do that as its presentational, the most it can do is show text using :before and :after a link address. There is a base tag which would have the http domain and default root folder, you then must have relative paths without domain and root folder. https://www.w3schools.com/tags/tag_base.asp
  5. 1 point
    Yes, you're right, I missed that. In that case, the only change necessary is to set align-items to flex-start.
  6. 1 point
    As far as I can make out reading the post made, he wants the opposite.
  7. 1 point
    I see. You will need some special logic to run between Thursday and Saturday. It will use 60 hours but only after 12pm on Thursday. var THURSDAY = 4; var minDate = new Date(); var offset = 36; if(minDate.getDay() > THURSDAY || minDate.getDay() == THURSDAY && minDate.getHours() >= 12) { // Add 60 hours instead of 36 after noon on Thursday offset = 60; } minDate.setHours(minDate.getHours() + offset);
  8. 1 point
    Instead of grid, you could use flex box and set align-items to stretch. .wrapper { display: flex; align-items: stretch; } .sidebar { background-color: green; width: 10%; flex: 1 1 auto; } .archive-loop { background-color: red; width: 70%; flex: 1 1 auto; }
  9. 1 point
    It's a pseudo-element because a new element is created wrapped around the selected text. A pseudo-class is when a class is added to an existing element under certain circumstances.
  10. 1 point
    </pre> <table> var child = myImgs.children; //alert(child.src); myImgs.insertBefore(child[0],child[child.length-1]); myImgs.removeChild(child.length-1); } </table> <p> </p><p
  11. 1 point
    I think you have to work from the last child instead of first
  12. 1 point
    vLeftButton, IconL, leftAction(), hmmm wonder why it does not work for right? A real puzzler this one.
  13. 1 point
    Only the content inside the loop is repeated. This is what the string looks like on each iteration of the loop: text = "<ul>"; "<ul>" text += "<li>" + fruits[i] + "</li>"; "<ul><li>Banana</li>" text += "<li>" + fruits[i] + "</li>"; "<ul><li>Banana</li><li>Orange</li>" text += "<li>" + fruits[i] + "</li>"; "<ul><li>Banana</li><li>Orange</li><li>Apple</li>" text += "<li>" + fruits[i] + "</li>"; "<ul><li>Banana</li><li>Orange</li><li>Apple</li><li>Mango</li>" text += "</ul>"; "<ul><li>Banana</li><li>Orange</li><li>Apple</li><li>Mango</li></ul>" Since the string "<ul>" is not being appended inside the loop, it is not being repeated.
  14. 1 point
    I'll be rolling through the tutorials and have a specific question about a tutorial. It'd be cool if I could click a button that sends me here that sits next to every "try it". It looks like the "try it editors" have unique links. So right on this form, below title, submit the URL from the tutorial you have a question about. Eventually, there would be enough "tags" relating to the questions where the forum will just spit back previous questions about the tutorial when new users click from the tutorial "help" button.
  15. 1 point
    This maybe unhelpful but it is one of the reasons why I make all my own icons. I don't want to have to rely on 3rd party code because it opens up vulnerabilities in your website.
  16. 1 point
    Google Chrome has just started warning me that by using W3Schools formatting facilities and Font Awesome Icons in my site, cookies are being attached to all uses of my page. Not only is this practice odious in itself, it is illegal in Europe, and THE FACT WAS NOT DISCLOSED BY W3SCHOOLS EITHER IN ITS ADVERTISEMENT FOR ITS FORMATTING TOOLS OR IN ITS ENDORSEMENT OF FONT AWESOME! A web check revealed no easy way of turning off those cookies, so now I am going to find replacement icons and do the work of removing these libraries by hand. This will not be an easy task as shown by the attached images: Button html code showing W3 Schools classes and Font Awesome icons. (The same for all pages.) Screen shot of the resulting button panel using W3 Schools classes and Font Awesome icons. Screen shot of the links to W3Schools and Font Awesome. Screen shot of the warnings posted by Google Chrome, when using W3 Schools classes and Font Awesome icons. Screen shot of the resulting button panel using W3 Schools classes but disabling Font Awesome icons. Screen shot of the links to W3Schools but disabling Font Awesome. Screen shot of the warnings posted by Google Chrome, when using W3 Schools classes but disabling Font Awesome icons. Screen shot of the resulting button panel using Font Awesome icons but disabling W3 Schools. Screen shot of the links using Font Awesome icons but disabling W3 Schools. Screen shot of the warnings posted by Google Chrome, when using Font Awesome icons but disabling W3 Schools. Screen shot of the resulting button panel disabling both W3 Schools classes and Font Awesome icons. Screen shot of the links disabling both W3Schools and Font Awesome. Google Chrome issued no warnings, when both W3 Schools classes and Font Awesome icons were disabled. I am deeply aggravated at W3 Schools for not disclosing this practice. I will do the hard work of removing links to W3 Schools and Font Awesome. I doubt that I will ever be able to trust W3 Schools again.
  17. 1 point
    The grammar is correct, slid is the past tense of the verb slide.
  18. 1 point
    please make w3School Channel on youtube
  19. 1 point
    Sweet! Well in that case, let's jump right in and tear yours to shreds. $you != "welcome"; That is a logical assertion, it's like saying true;or false;It doesn't do anything, in fact a spammer might just look at that and mock it! Instead of stating the obvious ($you are not equal to "welcome"), $you should be assigned to something. Instead of the string "welcome", how about a constant? What it means to be welcome doesn't change, so it would make sense to have it be a constant.$you = !WELCOME;you are not welcomeNow, about this database business. While it might be amusing to think about a data store as being in someone's butt (your data is a load of crap!), certainly you're not interested in querying that data (I hope). No, what we need here is a way to efficiently interface a foot with a spammer's butt. I think that sockets are the way to go. So first we need to create a streaming socket to the spammer's butt using the popular smackdown protocol.$justice = socket_create(BUTT, SOCK_STREAM, AF_SMACKDOWN);Now we need to connect.socket_connect($justice, "//spammer/body/lower/pants/butt"); //make sure to enter the correct path to your buttAnd the final step:socket_send($justice, $my_boot, strlen($my_boot), 0x100);socket_close($justice); //justice has been doneNow, I need to work on how to slap someone across the net.
  20. 1 point
    PM or Personal Messages (Not allways personal )Are messages sent by a forum member to another forum member where no one else can read them.For example if i had a percific problem i could PM a spercific member of the forum to help me with that!To PM click on the username of the member...and on there profile select "Send a Personal message"TA DAHope that helped!!Welcome to the forum... (im new-ish too)
  21. 1 point
    LOL :)At that age, you're untouchable...
×
×
  • Create New...