Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by dsonesuk

  1. On change you remove any existing input elements of that id ref, before inserting the new input after radio button radio selection.
  2. class="grid-container" style=" class="text-align:left; font-size: 20px; " You can't see the problem here?
  3. You have got it the wrong order. the container should follow header,, .row should be child of container, then lang (col that is 100%) wide) should be child of .row. The container should be 100% width, not 82% as you have it, once that is done change .lang to .lang { /* float: right; */ /* margin: -24px 5px 0 0; */ text-align: right; display: block; margin: 0 25px; } .container { /* width: 82%; */ margin: 0 auto; max-width: 1100px; } <div class="container"> <div class="row"> <div class="lang"><a href="https://www.mikroviolog
  4. opening and closing javscript window does not work, if that is what you are attempting, try to create a html modal popup instead . https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_modal_img
  5. I would imagine it would be browser popup blocking issue.
  6. The only possibility of achieving this is by using setTimeout, clearTimeout, setInterval, clearInterval and possibly javascript promise to wait for result before moving on or pausing with graphic.
  7. What? Where did you see that?
  8. 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.
  9. 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;
  10. 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.
  11. 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
  12. 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
  13. 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.
  14. 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!
  15. 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.
  16. As far as i can see, nothing is being sent through formData(), there is no form element with attribute name, for it to retrieve.
  17. <!-- 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>
  18. 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.
  19. 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.
  20. <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>
  21. Use a valid url in input value, it will break if contains the exta apostrophe at beginning and the '</a>', if you copy to address bar and after hitting go and it shows an error, obviously its not valid. Once that is sorted the clicking of added button 'go to url, a function will retrieve the now valid url then redirect to it you need to change var x = document.getElementById("homepage"); to var x = document.getElementById("website");
  22. https://www.w3schools.com/code/tryit.asp?filename=GLUYIZID0KYP
  23. You can't use anchor link within attribute value and expect to work, its treated just a string value, nothing more nothing less. The only option is as suggested grab url value and redirect using javascript
  24. Why not use anchor link? To use a input you would need to add click event that run a function to get the url value from input, then use that url for redirect using location.href="http//:urladdress";
  25. The console shows a error that you need to down/upgrade your jquery, which is difficult as it seems to use many versions. Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3 https://stackoverflow.com/questions/37936751/bootstraps-javascript-requires-jquery-version-1-9-1-or-higher-but-lower-than-v suggests you upgrade your bootstrap instead to no less than Bootstrap 3.3.7
  • Create New...