Jump to content

Funce

Moderator
  • Posts

    602
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Funce

  1. You should be able to find the CSS appropriate by looking for the keyword "@media print". Looking at the Wikipedia page sources, all of the CSS pages come out of "load.php", so you'll probably want to take a look at the styles from that.
  2. You might be able to emulate the AJAX request in an online IDE. Like Repl.it
  3. Did node say anything after that? Any errors? Did you keep the terminal open? Node runs as a process inside that, so if you close it, no more server.
  4. Can you give any examples of what you'd like to see on the HOW TO page?
  5. HTML5 is 'gone' because w3schools is no longer serving HTML4 examples. Everything in the HTML section should be HTML5. Can you provide some examples on what you have noticed to be different?
  6. You might be able to use localStorage with this. Let me know if you need more assistance.
  7. Funce

    Klick

    You could try making your own style, and curve the edges with border-radius.
  8. Webservers require specific set up, so you'd know if you had one. You'll need a webserver to run PHP code. I recommend XAMPP to test locally as its essentially install and run. Make sure you put your files into its 'htdocs' folder, and you should be good to test. Access via 'localhost'
  9. Wondered why the closing tags were red in the tryit.
  10. How are you runnning this file? Do you have a webserver set up?
  11. I believe it's been deliberately verbose to illustrate it. You won't find this level of explicit alias usage elsewhere in other tutorials.
  12. Is the Spreadsheet an example of the SQL layout, or are you trying to update a spreadsheet?
  13. Hey there, if you want to code a backend for your contact form, you might have some luck looking at this: https://www.w3schools.com/php/php_forms.asp This is the function you'd want to use to send an email: https://www.w3schools.com/php/func_mail_mail.asp Onto your second question. Sell t-shirts and take online payments? You'd want a payment processor. I'm personally familiar with Stripe and its really good for getting a checkout nice and quickly. Unless you have less than 10 items, you'd probably want your own Database. This will have all the details of your shirts, including images, categories, etc Good for customers and for your payment processor. Manual upkeep of a page for each product gets tedious fast. Above is the bare minimum. You could look at a couple of other things afterwards (like logins, and accounts) but sticking with the above will get you up the fastest.
  14. Good suggestion! That would make some of the templates interesting to read. But they're still meant to be templates on their own. In terms of the navbar, it can be summed up like this. stick-to-top { top: 0; position: fixed; } No Javascript required.
  15. Are there any errors in your logs that are telling you what's wrong? Is your MySQL module on? Have you set up the new config/connection info for localhost? ("localhost", "root", "", "db_name") by default
  16. Hi there, Styling will fix this. What exactly? It looks like you've already got a couple of classes (perhaps with their own styles) already. Your code on its own produces this: https://www.w3schools.com/code/tryit.asp?filename=GCIJY0YN9L3O
  17. Does the php file your sending to start with a PHP opening tag? <?php Are you using shorthand php openers? <? and have you enabled them in your PHP settings?
  18. Hi there, What do you mean by "Get this to Duplicate" and "have them appear side by side". Do you want additional image comparers on the same line?
  19. Hi there, I'm getting instant response with the sounds, so I'm not sure what's going on there. I'm also using Chrome. I'd recommend using both click and scroll to access the hyperlink. You could use the code below for this. (Untested) <a href="https://en.wikipedia.org/wiki/Mammal" onscroll="this.click()"> You can assign scroll events to any element, so the difference between an <a> tag and a <button> is not large in this case. You've got an extra set of bracers in myFunction which may be causing errors. I've also moved your thread to the JavaScript section, as requested.
  20. Funce

    PHP

    So the above is what works, show me what doesn't work. You want an email field. You seem to have idea on how to start it, I want to see what you do with it.
  21. Funce

    myphplogingang

    Hi there, Welcome to the forums, please include your code in a code block, and include the question in your post. Thanks.
  22. Are your changes getting through at all? Have you tried to make an unrelated but viewable change? Page could be cached, or you might not be on the right page at all. I think I've managed to find the page you've linked to, I've manually inserted the anchor tag via the browser dev tools. Everything looks fine. <div class="calcite-web"> <div class="card-base"> <div class="card-image-wrap"> <a href="https://gis.franklincountyva.gov/compviewer/index.html"> <img alt="Public GIS Viewer" class="card-image" src="https://franklincova.maps.arcgis.com/sharing/rest/content/items/a6e74f639ac34dd48e3bc6d9ee390d0a/data?w=400"> </a> </div> <div class="card-content"> <h4>Comprehensive Parcel Search</h4> <p style="min-height: 50px">This is a more comprehensive viewer for industry professionals that has more layers and more tools for those who work with land and real estate. </p> <div class="btn-group btn-group-justified" aria-label="actions" role="group"> <a href="https://gis.franklincountyva.gov/compviewer/index.html" target="_blank" class="btn btn-primary">Access GIS Viewer</a> </div> </div> </div> </div> As an aside: card-image-wrap has basic styling and uses Flexbox .card-image-wrap { width: 100%; position: relative; margin-bottom: 0; flex: 0 0 auto; }
  23. It is possible for it to be done, but not safely. What sort of data are you working with here? Can you provide a light example? This sort of thing usually indicates more of a design problem, than an implementation issue.
  24. All good, all good. How about you post what you've just tried, and we can see what's going on.
×
×
  • Create New...