Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


dsonesuk last won the day on January 11

dsonesuk had the most liked content!

Community Reputation

913 Excellent


About dsonesuk

  • Rank
    w3schools Guru
  • Birthday July 15

Recent Profile Visitors

104,546 profile views
  1. What? Where did you see that?
  2. I suggest you place non media query styling above the uppermost media querythe hamburger icon should be on the right from the start using position absolute, then hidden till required using display none/block for the device width it is required.
  3. If you mean fixed within the viewport area with no scrolling down with content, you need to use position: fixed or sticky, with properties top and left;
  4. The first slash usually represents the root directory or domain name that is directed to that directory, images is a folder within that root directory and then the image within that images folder.
  5. You can use javascript to include html such as headers and footers, but i generally use php include. https://www.w3schools.com/howto/howto_html_include.asp
  6. No! I didn't mention a specfic folder therefore whatever number of folders you have does not matter, its the folder you are trying to target. Again! We can't answer you correctly until we see the code. The code you linked to goes to a specific folder, you to create that folder, how do you change it to upload to another folder? Do you select from dropdown list, is it separated so each upload is to a specific folder? Is each parent folder saved to database along with image? We don't know, you are the one whose been cut pasting code without possible understanding how it work, we don't know, becau
  7. I would imagine you are repeatedly coping the parent container element when you just require content. Also you might be missing/misplaced opening and closing tags (such as <div>...</div>) which will result in the browser wrongly trying to correct it.
  8. Right, it has nothing to do with coding, its magic! Sorry! You are on the wrong forum try https://blackwitchcoven.com/ If it was coding and you actually provided the code, we might have been able to help, but a vague question will result in a multitude of possible answers of which the most likely answer is its pointing to the wrong directory, it can't find what it is coded to look for, so it fails. But! All this nothing you want to hear so i will now depart, Abracadabra!
  9. It kinda doesn't. It points only to a specific folder, it joins the specific folder and image file name to where the distination will be for that file.
  10. As far as i can see, nothing is being sent through formData(), there is no form element with attribute name, for it to retrieve.
  11. <!-- All url generated dynamically from database table column holding website url --> <input type="hidden" id="website" name="website" value="https://www.marielofficial.com/"> <br> <a href="https://www.marielofficial.com/" target="_blank">https://www.marielofficial.com/</a>
  12. Then why not just add the url to a type hidden input, if not supposed to be edited, you could then just add the url to an anchor link with url in href attribute and innerHTML of that anchor link with target attribute value of '_blank', this requires no javascipt as everything required is dynamically added by database.
  13. Provided a workable solution to a problem I've been wrestling with for weeks in two back-and-forths.

  14. Is this data entered dynamically from database? then i don't know why the form, if not! And it is all done manually, then you need the website input to be showing all the time, so someone can add/amend the website and can be submitted.
  15. <input type="url" id="website" name="website" value="https://www.marielofficial.com/"> <br> &nbsp;&nbsp;<input type="button" onclick="triggerlink()" value="go to url"> <br> <script> function triggerlink(){ var x = document.getElementById("website"); window.location.href=x.value; } </script>
  • Create New...