Jump to content

Ingolme

Moderator
  • Content Count

    14,116
  • Joined

  • Last visited

  • Days Won

    74

Ingolme last won the day on March 28

Ingolme had the most liked content!

Community Reputation

990 Excellent

About Ingolme

  • Rank
    Coding Fox

Previous Fields

  • Languages
    Java, PHP, MySQL, Javascript, CSS, HTML

Contact Methods

  • Website URL
    http://www.thecodingfox.com/
  • ICQ
    0

Profile Information

  • Gender
    Not Telling
  • Interests
    Web development, drawing, videogames, foxes.

Recent Profile Visitors

185,722 profile views
  1. Ingolme

    Node Naming

    What are you using to parse this XML file?
  2. Just put the code for one of the cards inside one of the <div class="column"> elements.
  3. Ingolme

    Columns positioning

    Yes, you're right, I missed that. In that case, the only change necessary is to set align-items to flex-start.
  4. 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);
  5. Please do not reply to old topics.
  6. I thought you did not want Saturday to be available after noon on Thursday. That would mean you have to extend the minimum permitted date to 60 hours from the current time.
  7. Ingolme

    Columns positioning

    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; }
  8. Please keep your question to one topic. You can continue discussion in the following topic:
  9. It seems like Date.parse() returns the timestamp in GMT and so does the Date() constructor, which results in it selecting the previous day. Specifying hours seems to solve the issue. You can omit Date.parse() and just use the date objects themselves for comparison. var chosenDate = new Date(this.val() + " 00:00:00"); var minDate = new Date(); minDate.setHours(minDate.getHours()+36); if(chosenDate < minDate) {
  10. Yes, you can open an HTML file from the command line, but you cannot run commands from an HTML file.
  11. You forgot a closing </div> tag for the <div class="w3-top"> element, so the entire site is inside the nav bar which is attached to the top of the window and does not scroll.
  12. You cannot run commands from an HTML file.
  13. The <img> tag is self-closing, so it does not need a closing tag. Ending the tag with " />" is only necessary in XML, not in HTML.
  14. jQuery is being replaced by native Javascript features. It's probably for the best not to encourage its use. See section "JS vs jQuery" section of the W3Schools Javascript tutorial: https://www.w3schools.com/js/js_jquery_selectors.asp
  15. Please do not reply to old topics.
×
×
  • Create New...