Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. O

    Fullscreen hero image on home page load

    What are you paying for your site? If you can't do this look at HostGator. I have a site there and have done this in the past, so I know it can be done.
  2. O

    JavaScript Can't close my custom alert

    alert_container = document.getElementById("alertContainer2"); I don't see where you assign an ID.
  3. O

    Proper accessible structure of a form field within a sentence

    Works fine, Maybe change the input type to number? Also play around with week, month, and date for fun.
  4. O

    Syntax for external files

    I'm sorry alexcray, but things are a little simpler -> "href " is the URL of an external script. We could JS the same way but "src" allows us to call the script in three different ways: asynchronously , defer , and just run it where the script tag exists. I don't think if JS was called like...
  5. O

    can I use only landscape and portrait modes in media queries for responsive design

    Not sure what you mean by "screens" -> If all screens are ''' It will be easier to answer your query if you provide the code or a link. If you just try using the query. You should know the answer yourself.
  6. O

    Syntax for external files

    Coding works in mysterious ways. The most probable reason might be that the people who maintain JavaScript differ from those who take care of HTML/CSS and want different call standards.
  7. O

    PHP PHP Warning: Undefined array key

    Looking at this line -> xhr.send(func=facturen&name=*); It's hard to tell if this is a single quote or a tilde mark. What happens if you use the double quote?>
  8. O

    Merry Christmas and Happy Holidays from Code Forum

    Merry Christmas to you and yours Malcolm and all programmers on the site.
  9. O

    PHP Newbie Here

    Do you have control over the PHP ver you are using? If yes I'd just go back to the old version. If you want the upgrade you need to turn error reporting on to see the errors. Here is what to place in your code to do that: ini_set('display_errors', 1); ini_set('display_startup_errors', 1)...
  10. O

    How to make website control switch

    I'd use the Switch Statement in JavaScript to do this. Find it here: JavaScript Switch Statement
  11. O

    CSS example Example source sites available?

    Coders are lazy! We need your code to see what's wrong. We don't want to spend a day writing code for you and get "Oh, That's not what I meant.". I have to guess what your header is - The orange box? Give us the code and be more clear as to what you want. BTW - are there sites online providing...
  12. O

    CSS Row Heigth

    Use calc() to get results. And correct the spelling in the .container{hight: 100vh;} <style> .container{ background-color: purple; height: 100vh; } .header{ background-color: brown; height: 35px; } .hero { background-color: yellow; min-height: calc(100vh - 260px); } .footer{...
  13. O

    using images and copywrites

    Do a google for "websites for free use images". I just did and found some new sites and the sites that I have used for many things.
  14. O

    Read Me Code Forum is celebrating 5 years! 🎉

    This site helps me pass the mornings and sometimes a lonely weekend. Heres to 5 more.
  15. O

    JavaScript How to send a PHP save request in client side Javascript?

    Not the way I'd do it, but looks good. FYI: To check if my AJAX works I start my PHP sending back a "Made it!" Message and have JS flash it as an alert.
  16. O

    JavaScript How to send a PHP save request in client side Javascript?

    I said Look at CanIuse.com to see the versions that support this.
  17. O

    JavaScript How to send a PHP save request in client side Javascript?

    Josiah, It looks like you have a grasp on how AJAX works, but are unsure how to use it. Let's look at the errors in your post. Things that are wrong for what you want”. From your quote: Note that onload{...} executes immediately after a page has been loaded: Meaning BEFORE the user enters any...
  18. O

    Flexbox layout question

    There may be some intricate way of doing this, but why waste time looking for it? If the four objects are the only thing on the row use two columns instead, otherwise, the wrapper is the way to go, Why complicate things?
  19. O

    OnClick On Text words Change Image

    Notice that we are getting errors on posts more and more. It has been hard to even log in recently.
  20. O

    OnClick On Text words Change Image

    JavaScript var elements = document.getElementsByClassName("image"); for (i=0; i<elements.length; i++){ elements.addEventListener("click", function () { var attr = this.getAttribute("id"); switch (attr) { case "card": document.getElementById("imageOne").src...
Back
Top Bottom